DATA : li_tab TYPE TABLE OF trdir-name,
infotab TYPE t_varinfo OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'PRINT_SELECTIONS'
EXPORTING
mode = li_tab
rname = sy-repid "program name
rvariante = '' "variant name
TABLES
infotab = infotab.
LOOP AT infotab.
WRITE / infotab-line.
ENDLOOP.
About the author