Global control variable in the generated function module.
As in every application form, there is also a global control variable C in the generated print program of a collection. The control variable C contains information about the process flow; this information is either exported in user exits or is used for communication with the application forms.
Variable C has the DDIC type EFG_STRN_COLL_CONTROL and has the following structure:
Field Name |
Data Type |
Description |
COLLECTION |
EFG_DTE_COLLECTION |
Collection |
FORMCLASS |
FORMCLASS |
Form classes |
SENDTYPE |
RF_SENDTYPE |
Send type for a document |
LANGU |
LANGU |
Language key |
RDI |
RF_RDI |
Raw Data Interface |
XSF |
EFG_DTE_XSF |
Smart Form output format |
COPYFLAG |
RF_COPYFLAG |
Document is a copy |
MAIL_TITLE |
EFG_DTE_TITLE |
Title of a document/attachment |
SENDTYPE_EXT |
EFGSENDTYPE_EXT |
External send type |
CLIENT |
EFG_DTE_SRCCLIENT |
Source client for access to other clients |
ARCHIVE_INDEX |
TOA_DARA SAP |
ArchiveLink structure (DARA) |
ARCHIVE_PARAMS |
ARC_PARAMS |
Archive parameters |
T_GENDATA |
EFG_TAB_GENDATA |
Table for generic data |
OCL_ACTIVE |
EFG_OCLACTIVE |
Open/close logic is active |
ITCPO |
ITCPO |
SAPscript output interface |
ITCPP |
ITCPP |
SAPscript output parameter |
RDIRESULT |
RDIRESULT |
SAPscript RDI: |
SF_RESULT |
SSFCRESCL |
Smart Forms: Return at the end of form printing |
T_OTF |
EFG_TAB_ITCOO |
Table for OTF data |
T_SEL_PER_FCLASS |
EFG_TABN_SEL_PER_FCLASS |
Selections per form class |
ADDITIONAL_PARAM |
EFG_DTE_ADDITIONAL_PARAM |
Print parameter for external control |
XFP |
EFG_DTE_XFP |
Parameter for control of output format for PDF-based forms |
The variables T_GENDATA and T_SEL_PER_FCLASS are used for communication and
data selection for various application forms. They are transferred to the
application form and can be queried in the C variable there.