ABAP Tip -
Call selection screen in selection screen
* Sometimes,
we need to create popup screen that has a selection screen.
You can implement
that with the below program.
REPORT z_screen.
TABLES sflight.
PARAMETER p_carrid TYPE sflight-carrid.
SELECT-OPTIONS s_carrid FOR sflight-carrid.
SELECTION-SCREEN BEGIN OF SCREEN 999 AS WINDOW.
PARAMETER p_carrid TYPE sflight-carrid.
SELECT-OPTIONS s_carrid FOR sflight-carrid.
SELECTION-SCREEN END OF SCREEN 999.
START-OF-SELECTION.
CALL SELECTION-SCREEN 999 STARTING AT 10 5.
TABLES sflight.
PARAMETER p_carrid TYPE sflight-carrid.
SELECT-OPTIONS s_carrid FOR sflight-carrid.
SELECTION-SCREEN BEGIN OF SCREEN 999 AS WINDOW.
PARAMETER p_carrid TYPE sflight-carrid.
SELECT-OPTIONS s_carrid FOR sflight-carrid.
SELECTION-SCREEN END OF SCREEN 999.
START-OF-SELECTION.
CALL SELECTION-SCREEN 999 STARTING AT 10 5.
* First selection
screen
* Popup
screen which is linked to selection screen.
No comments:
Post a Comment