Escolar Documentos
Profissional Documentos
Cultura Documentos
To include data in our form This can include the following data:
Data selected from the database tables of your application. You use the form interface to specify this data. Data provided by the SAP system or by the PDF-based print forms solution, such as dates. Data that you have calculated or implemented in a form yourself, such as totals for tables.
For all three of these data types, the data is not specified or inserted in the form until runtime.
Creating Interface
Creating Interface
Creating Interface
When we double-click Export, we can see the standard parameter /1BCDWB/FORMOUTPUT of the generated function We cannot change this parameter. We use this parameter in out application program, to make the generated form available as a PDF for further processing.
Creating Interface
Exceptions
Global Data
We define any data needed by the form, but which has not been provided by the form interface (for example, to display totals).
Types
We create data types as free ABAP code, if the ABAP Dictionary does not provide a type.
Field Symbols
We can use field symbols as pointers when you extract data from internal tables.
Types
Global data
Initialization
Possibilities of Errors
At runtime, the application program must provide all the mandatory parameters that are declared in the Interface. If a parameter has been defined in the form, but is not defined when the application program is called, then the output of the form ends with the program crashing (hex dump).
It is also possible that the application program provides parameters that the form does not need.
We do not need to mention these parameters in the form; they can also be specified in a different order from the code of the application program. This has the advantage that an application program can work with several different forms.