Interview Questions

Q: We want protect/lock a field so that only selected people can change the value while others can only read. How to set the authorizations?

SAP ABAP questions and answers


(Continued from previous question...)

Q: We want protect/lock a field so that only selected people can change the value while others can only read. How to set the authorizations?

A: Create an authorization object for change mode. Loop at screen in the user exit and set input to 0. Check the user based on sy-uname and the authorization. Decide whether input should be 0 or 1.

(Continued on next question...)

Other Interview Questions