Code: Alles auswählen.
TYPES: BEGIN OF user,
user TYPE sy-uname,
END OF user,
tt_user TYPE TABLE OF user.
DATA: ls_user TYPE user,
lt_user TYPE tt_user.
ls_user-user = 'User X'.
APPEND ls_user TO lt_user.
ls_user-user = 'User Y'.
APPEND ls_user TO lt_user.
ls_user-user = 'User Z'.
APPEND ls_user TO lt_user.
CALL FUNCTION 'POPUP_WITH_TABLE'
EXPORTING
endpos_col = 30
endpos_row = 120
startpos_col = 8
startpos_row = 14
titletext = 'Folgende User können Aktion ausführen'
* IMPORTING
* CHOICE =
TABLES
valuetab = lt_user
EXCEPTIONS
break_off = 1
OTHERS = 2.
IF sy-subrc <> 0.
ENDIF.
Folgende Benutzer bedankten sich beim Autor PeterPaletti für den Beitrag:
Mustafapmk0