Skip to Content

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

Hide input control in a screen

I have a SAP screen, with several input elements (those boxes you can write in).

I want to hide some of them based on runtime conditions. Can it be done?

Tags:
Former Member replied

Hi,

Suppose the name of your control is name1.

Try following code.

Loop at screen.

if screen-name = 'name1'.

screen-invisible = 1.

screen-active = 0.

modify screen.

endif.

endloop.

This will hide the control name1.

Hope it helps.

Regards,

Shashank

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