how to restric a program with authorization in sap by providing the message that you are not authorized.
Example if a user having a program that would be while he execute the program the message should come as you are not athorized & he cant able to move to next step that means he should just see the code but not authorized to execute the program through O9 data services in SAP