Skip to Content

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

Graying out a screen field

how do i gray out a screen field (output only field) based on the sy-uname. I am using a screen exit so i do not have the option of displaying different screens based on sy-uname.

Tags:
Former Member
Former Member replied

In the screen PBO you need to write this..

if sy-uname = 'USER01'.
loop at screen.

if screen-name = 'SCRFIELDNAME'.
screen-input = 0.
modify screen.
endif.

endloop.

endif.

Regards

vijay

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