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 object

Former Member
0 Likes
823

hello experts,

please help me to solve this problem its very urgent.I created the authorization object and when i used it in the program then i got the sy-subrc = 12.then i regenerated the object by clicking button regenerate sap all button.Then its worked in the program.Please tell me if we use the button REGENEATE SAP ALL button in SU21 then what are the effects.(please explain to me what happens when we press this button clearly).Because i have to use this in the production system also.

thanx in advance.

Giri.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
735

Most likely you haven't saved (activated) the object. It is a good practise to use 'Pattern' option (in ABAP editor) to insert authority-checks in order to make sure it exists and you specified all its fields in the program.

Message was edited by: Tomasz Kozerski

2 REPLIES 2
Read only

Olaf_B
Explorer
0 Likes
735

Hi Giri,

the SAP_ALL profile contains all standard authorization objects. When you create your own authorization object in user name-space Z or Y its unknown. Using the <b>regenrate SAP all button</b> this user name-space objects are added to the SAP_ALL profile. Normaly only admin users have profile SAP_ALL so there should be no worse effect.

regards

Olaf

Read only

Former Member
0 Likes
736

Most likely you haven't saved (activated) the object. It is a good practise to use 'Pattern' option (in ABAP editor) to insert authority-checks in order to make sure it exists and you specified all its fields in the program.

Message was edited by: Tomasz Kozerski