Start of Content Area

Procedure documentation Transferring Own Data to a Smart Form or PDF-Based Form  Locate the document in its SAP Library structure


If the data defined in the form class is insufficient, or the structures do not correspond to the respective aim, you can define your own data areas in the user top include, fill them in a user exit, and use them in the related Smart Form or PDF-based form.



       1.      Define your own data as global variables in the user top include.

       2.         Fill these variables with runtime data using user exits at appropriate places in the hierarchy.

       3.      In the interface of the Smart Form or in the form interface of the PDF-based form, define import parameters with the same name as the variables in the user top include.
Make sure that the data categories are identical, otherwise errors may occur. In addition to manual maintenance, you can also generate the data definitions in a user top include automatically in the respective form interface. To do this, choose Edit
® Smart Form ® Compare or Edit ® PDF-Based Form ® Compare Form Interface.


You can use your own global data of an application in a Smart Form or PDF-based form in the same way as the standard data transferred.

Note If you do not need the standard variables PWB_DATA and C in the form, or they disrupt, you can remove them from the form interface. The Print Workbench indicates that the standard parameters are missing by issuing warning messages that have no consequences.


End of Content Area