Skip to Content

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

Modifying Selection screen dynamically

Hi guyz

herez another question

Can we modify selection-screen dynamically as we do in case of screen

What i want to do is

I want to display one parameter as checkbox and when user ticks this box I want to display another one

If we are defining two checkboxes earlier and making one invisible than can we modify selection screen to display another check box

Thanks in advance

Tags:
replied

Hi Rashmi,

Just have a look at this sample code.

Parameters: chk1 type c as checkbox,

chk2 type c as checkbox modif id 'ID1'.

**then

AT SELECTION SCREEN.

LOOP at SCREEN.

IF screen-group1 = 'ID1'

if chk1 = 'X'.

screen-invisible = ''.

else.

screen-invisible = 'X'.

ENDIF.

modify screen.

ENDIF.

ENDLOOP.

This code may have syntax error, but i think you can do away with them.

**IF this is helpful, reward points

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question