Application Development and Automation 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: 
Read only

Authorization check

Former Member
0 Likes
353

what is the use of Authorization check? how to use in ABAP PROGRAMMING?

Moderator Message - Enough documentation available on the net. In case you have any specific issues feel free to get back to the forums.

Message was edited by: Suhas Saha

2 REPLIES 2
Read only

paul_bakker2
Active Contributor
0 Likes
326

Hi,

Have you tried using google? Or searching SCN?

Anyway, here's a simple example of an authorization check in ABAP:

AUTHORITY-CHECK OBJECT 'Z_CO_RELN'

         ID 'ACTVT' FIELD '06'.  "delete

if sy-subrc = 0.

  ev_authorized = 'X'.

endif.

cheers

Paul

Read only

0 Likes
326

i know syntax but why we are using in programming? give me clarification.

Authority creation any back ground process is there...i saw in some blogs

about Authority the are using transaction su20,su21,su24...my dought which

transaction which purpose we are using?