display different selection scrren based on the input in the initial screen
My requirement is that i need to call two new selecetion screens based on the value entered in the Fisrt selection screen.
Selection screen 1.
p_abcd(8) as list box values 'ZABC' & 'ZXYZ'.
if the user selects ZABC in the list box , then a new selection screen has to be displayed,
if he selects ZXYZ in the list box, a different selection screen has to be displayed.
Can you please tell how this is achieved.?
try like this
PARAMETERS : p_abcd(8) LIKE z0322_plan-pname AS LISTBOX VISIBLE LENGTH 20 USER-COMMAND db1 values 'ZABC' & 'ZXYZ'
case sy-ucomm 'DIA'.
if p_abcd = 'ZABC'.
call selection-screen 9000.
elseif p_abcd = 'ZXYZ'.
call selection-screen 9001.
Message was edited by: