Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Query regarding Authority object

Former Member
0 Kudos

Hello Friends;

I just wanna know why we check authorization on selection screen and What do u mean by authority objects?, Who creates It? What is the purpose behind creating it?? What transactions are there relating authority objects in SAP??

And one more query is there

See when we call any function module there are several parameters that it contains such as importing ,exporting, tables and exceptions ?? What is the exact use of exception parameters in that? How to handle those exception ...Is it before calling that function module or after ?? What is the syntax for it??

Regards;

Parag

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Exception are like errors so to use that in the FM we use raise command .

Authorization is required ,assume u in Quality department and you are trying to execute a SD dept report which is as per rules not allowed so for that in abap we use Authorization object .

Use this program for understanding DEMO_AUTHORITY_CHECK

Transaction SU21 .

PLease reward if useful.

1 REPLY 1

Former Member
0 Kudos

Exception are like errors so to use that in the FM we use raise command .

Authorization is required ,assume u in Quality department and you are trying to execute a SD dept report which is as per rules not allowed so for that in abap we use Authorization object .

Use this program for understanding DEMO_AUTHORITY_CHECK

Transaction SU21 .

PLease reward if useful.