With each form level or 1:1 level, a global work area and a global internal ABAP/4 table are defined. Both have the DDIC table structure that is defined in the attributes for the level. The naming of the global work area follows the convention WA_<level name>, the internal table T_<level name>. For the subsequent print process, the work areas are particularly important. They represent relevant data interfaces used, for example, in SAPscript texts for a user. The total of all global work areas represents the maximum data list for an application form.
In application forms, you can use global data areas (WA_*) that are at the same hierarchical level or higher. 1:1 levels are at the same hierarchical level as the related form level. The applications are responsible for initializing the generated data areas. Since the generated print programs consist of function groups, data is retained, particularly for multiple calls.
The data declarations are generated by the Print Workbench automatically in a data area defined for this purpose. They are update with every change in the form class hierarchy.
Source text of the form class PWB_FLIGHT_NOTIFICATION
*§**********************************************************************
*****THE FOLLOWING CODE IS GENERATED, NEVER CHANGE IT MANUALLY**********
**DATA ONLY FOR SYNTAX-CHECK, WILL NOT BE TRANSFERED TO PRINT PROGRAMS**
************************************************************************
…
*******************global table declarations****************************
DATA: T_CUSTOMER TYPE TABLE OF SCUSTOM
WITH HEADER LINE.
DATA: T_BOOKING TYPE TABLE OF SBOOK
WITH HEADER LINE.
DATA: T_FLIGHT TYPE TABLE OF SPFLI
WITH HEADER LINE.
*******************global workarea declarations*************************
DATA: WA_CUSTOMER TYPE SCUSTOM .
DATA: WA_BOOKING TYPE SBOOK .
DATA: WA_FLIGHT TYPE SPFLI .
*§*end*******END-OF-GENERATED-CODE**************************************