Code: Alles auswählen.
DATA: BEGIN OF PR_KEY.
INCLUDE STRUCTURE PC405.
DATA: END OF PR_KEY.
DATA: REPORT_LENGTH TYPE I,
REAL_REPORT LIKE SY-REPID.
DATA: BEGIN OF PR_VERSION.
INCLUDE STRUCTURE PC406.
DATA: END OF PR_VERSION .
DATA: BEGIN OF LOGINPUT OCCURS 20.
INCLUDE STRUCTURE RSPARAMS.
DATA: END OF LOGINPUT.
*-> hier füllen PR_KEY
IMPORT REAL_REPORT PR_VERSION LOGINPUT FROM DATABASE PCL4(PR)
ID PR_KEY
USING PCL4_EXP_IMP(SAPFP50P).