You can define SELECT-OPTIONS & PARAMETERS dynamically.
Once you just try below code, you can get to know soon and easily.
DATA : name(20) TYPE c,
nm(20) TYPE c.
SELECTION-SCREEN BEGIN OF SCREEN 500.
SELECT-OPTIONS : s_test FOR (nm) NO-EXTENSION NO INTERVALS.
PARAMETERS p_carr LIKE (name).
SELECTION-SCREEN END OF SCREEN 500.
nm = 'VBAK-WAERK'.
name = 'VBAP-VRKME'.
CALL SELECTION-SCREEN 500.
No comments:
Post a Comment