THE BLACK BOX |
||||
|
  | |||
|
||||||||||||||||||||||||||||||||
Goto Notes |
|
  | ||||||||||||||||||||||||||||||
Discussed will be:
|
  | |||||||||||||||||||||||||||||||
| Note 1 | SAPscript Components |
|
||||||||||||||||
| Ù | ![]() |
The Print Program serves the purpose of getting the data content of the Document and calling the Layout Set Objects. These Layout Set Objects are called Windows and are essentially logical blocks of Details like, "the Customer", "the ship to address", "document identification" ..... |
||||||||||||||||
| Note 2 | Mechanics of SAPscript |
|||||||||||||||||
Ù
|
P/O
Layout Set
|
In the Window, "MAIN" a further sub-component known as an "Element" is shown. Through combinations of placing "Windows" and "Elements" on the Layout Set, the Business Document is created. The ABAP program fills the contents of the Windows through a Function Call as shown in the following way.
Basically the Print Program is a sequence of "Get Data" and call "WRITE_FORMS". |
||||||||||||||||
| Note 3 | Smart Form Components |
|
|
| Ù | |
Smart Forms has three driving components, "a Print Program", "a Layout Set" and "a Function". From the point of "Windows" the Smart Forms Layout Set is no different over SAPscript. The Look and Feel is the same. From the point of "Formatting"
and "Element" referencing they differ. In the case of
formatting,
Smart Forms has implemented Smart Styles, making for a more centralized
mechanism. They can be likened to a CSS (cascading style sheet) for HTML
documents. |
|
| The
power of Smart Forms surfaces with the introduction of multiple Graphic
Objects going leaps and bounds beyond "Text Element" referencing
seen in SAPscript. The handling of these Objects are done through the
"Navigational Panel" accessed through the Development
Environment of Smart Forms. In SAPscript one had to Activate a Layout Set
while in Smart Forms one has to Generate the Layout Set. This generation
now creates a standard SAP Function that becomes callable from any ABAP
Report which in itself is one powerful improvement over SAPscript. |
|||
| Note 4 | Mechanics of Smart Forms |
| Ù Ú |
![]() |
As Smart Forms is a Function it comes with standard Interface functionality of passing data to and receiving data from the Smart Forms call. The Form Interface now has the added functionality of Emailing the output as PDF attachments and as well has hooks to SAP Archive Link. Having said this, it is the authors' understanding that the full functionality of email won't be available until version 5 of SAP. Suffice it to say, the direction SAP is going will provide an extensive document handling tool in time.
|
| The
Navigational Panel shows the order in which the Document is processed.
Processing is done from Top Down and Left to Right. Behind most of the
Control Objects there is a "Conditional Property" that controls
whether that Branch of the Control is executed.
As with SAPscript the hierarchy
involves Page ê
Window ê
Element(s) however Smart Forms
now allows building sub-elements. This introduces layers of detail that
lends itself to cleaner Documents. Instead of looking at streams of nested
"IF Calls" that surface with "Business Rules" we will
begin to see "Conditional Text Elements" or "Conditional
Folders" controlling the Implementation of Business Rules. |
||
| Note 5 | Customizing SAPscript |
|
| Ù
|
|
What
SAP provided with SAPscript is well over 500 Business Documents to
accommodate multiple Business Activities or Transactions.
The "As Delivered" Document pretty much always needs New Data relevant to the Implementing Company along with Format Changing. SAP also attempted to have multiple Touch Points in a Layout Set that would conditionally be called via Configuration. In addition Layout Sets could also serve different Business Documents. For example the Layout Set "Medruck" is used for Purchase Requisition, Purchase Order,.....
|
| The
outcome is a Layout Set could have a lot of "Elements" that are
never used. Also for every "Element" in a Layout Set Window
there has to be a corresponding location in the Print Program.
The initial big question with SAPscript development is:
In fact there are techniques that facilitate this process. See RED-Rover SAPscript Methodology
|
||||
| Note 6 | Customizing Smart Forms |
|||
| Ù
|
![]() |
Like
SAPscript there are two areas that could be customized, "the Print
Program" and the "Navigation Tree".
Unlike SAPscript there are no methods and design strategies for dealing with Customizing a Smart Forms.
|
||
| While
the new functionality of Smart Forms is brilliant, a level of complexity
comes with it. If SAP delivers a Smart Form that has to satisfy multiple
Business Scenarios that encompass the Generic Smart Form say for the
Purchase Order, one can expect several layers of Navigational Objects with
nested branching.
All this makes for a difficult task to customize. Some likely scenarios will be cycles of "Surprises" and "Fixes" until the customized Form is made stable.
|
||||
| Note 7 | Projected Future of SAPscript |
||||||||||
| Ù
|
|
||||||||||
| Note 8 | The Power AND Future of Smart Forms |
||||||||||
| Ù
|
|
| Ques 1 | Deciding ON If and When to Migrate SAPscript to Smart Forms |
|||||||||||||||||||||
| Ù
|
|
|||||||||||||||||||||
|
Ques 2 |
For new Documents: Smart Forms or SAPscript ? |
  | |||||||||||||||
|
Ù
|
|
  | |||||||||||||||
|
  | |||||||
|   |
copyright: SAPQuest Market Strategies Inc, July 2009 |





