Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Confidential | 24.06.07
Transaction
SFP
Tools Involved :
Interface Form Template (Context and Layout)
Interface
Defines which data a program can possibly pass on to a form. Contains Global data and initialization coding Is reusable (a repository object)
Interface
Interface
Import and Export Parameters Import parameters can be passed from the application program to the form at runtime, and vice versa for Export parameters. Exceptions These can be raised in ABAP Coding of the form. (The exception is actually raised in the generated Function Module)
Interface
Interface
Initialization Initialization is the ONLY time when ABAP coding can be executed. Both input and output parameters are passed by reference, therefore the changes are permanent. The system fields need not be declared but can be used directly.
9 Adobe Print Forms | Confidential | Hemant Sharma
Interface
Form Routines Here, we define the subroutines declared in the Code Initialization part.
10
Interface
Currency and Quantity Fields ABAP distinguishes between the internal and external representation of currencies and quantities. Whether or not decimals are included in the output format depends upon the Reference field of the amount. Since SAP Netweaver04, a reference field should explicitly be given for all currency and quantity fields which are to be printed in the form.
11 Adobe Print Forms | Confidential | Hemant Sharma
1000 JPY ??
Form Template
12
13
14
15
16
17
The Hierarchy palette shows in a tree everything that has been included in the layout.
18
19
20
21
22
23
24
If of type Position Content, objects of subforms can be laid down at their exact position at runtime. (Hierarchy position of objects not relevant for layout position)
If of type Flow Content, the objects will follow each other, depending on which space they require at runtime. Contents of subform can be protected against page break. Two consecutive subforms can be protected against page break.
25
26
If this is not done, we will not have multiple pages print out!
27
28
Creating Tables Drag and drop a table (an internal table) from the Data View to the Layout Editor. Deactivate the fields which are not be used in the Form Context. 2 subforms are created : outer and inner subforms.
Adobe Print Forms | Confidential | Hemant Sharma
Set the subform type to Flow Content and set Flow Direction to Header.
Insert one static text into subform for every column Enter text and set details like height, shading and frames etc. Deselect Repeat Subform for header. Set same margins as for the table.
29
Table : Body Rows Table body rows are bound to the data in the table.
30
31
32
33
Online help
http://help.sap.com/saphelp_nw04/helpdata/en/c8/4adf7ba13c4ac1b460 0d4df15f8b84/content.htm
http://help.sap.com/saphelp_erp2005vp/helpdata/en/9e/f9cc9f942a4359 91f4f9e08cce1876/frameset.htm C:\Program Files\Adobe\Designer 7.0\Documentation\EN\Designer.chm
34
THATS IT !!
35
QUESTIONS ??
36
THANKS A LOT !!
37