Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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.?

Former Member
Former Member replied

hi sibi

try like this

PARAMETERS : p_abcd(8) LIKE z0322_plan-pname AS LISTBOX VISIBLE LENGTH 20 USER-COMMAND db1 values 'ZABC' & 'ZXYZ'

at selection-screen.

case sy-ucomm 'DIA'.

if p_abcd = 'ZABC'.

call selection-screen 9000.

elseif p_abcd = 'ZXYZ'.

call selection-screen 9001.




Message was edited by:

baskaran nagamanickam

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question