Code: Alles auswählen.
DATA: w_tab LIKE STANDARD TABLE OF RSPARAMS WITH HEADER LINE.
CALL FUNCTION 'RS_VARIANT_CONTENTS'
EXPORTING
REPORT = 'Z_CPREADT930C'
VARIANT = '01'
MOVE_OR_WRITE = 'W'
* NO_IMPORT = ' '
* EXECUTE_DIRECT = ' '
* IMPORTING
* SP =
TABLES
* L_PARAMS =
* L_PARAMS_NONV =
* L_SELOP =
* L_SELOP_NONV =
VALUTAB = w_tab
* OBJECTS =
* FREE_SELECTIONS_DESC =
* FREE_SELECTIONS_VALUE =
* EXCEPTIONS
* VARIANT_NON_EXISTENT = 1
* VARIANT_OBSOLETE = 2
* OTHERS = 3.
Code: Alles auswählen.
CALL FUNCTION 'RS_CREATE_VARIANT'
EXPORTING
CURR_REPORT = 'Z_CPREADT930C'
CURR_VARIANT = '01'
VARI_DESC = sy-langu
TABLES
VARI_CONTENTS = w_tab
VARI_TEXT =
** VSCREENS =
** EXCEPTIONS
** ILLEGAL_REPORT_OR_VARIANT = 1