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: 

Authorization group class maintenance

Former Member
0 Kudos

Hi experts,

I have a question for restricting the maintainance of classes and material classification.

I am uploading classes in SAP and these classes the user should not be able to maintain or create material assignments to them, only the user who is executing the programm should be allowed to do it.

How can I achieve this?

I am using the BAPI BAPI_CLASS_CREATE and I am filling the classbasicdata-fields authmaintain and authclassify with 999.

What assignments to roles or to user profiles do I need to do to restrict the maintenance access to my classes?

Many thanks for your help,

Christoph

4 REPLIES 4

Former Member
0 Kudos

Hi Christoph,

I dont know if i understood the requirement completely - I suppose you are trying to make restriction on the material, customer, batch classes - if it is this you are trying to restrict, go to SU21 check the authorization objects under the SAO Object Class CLAS, you should be able to work with them

0 Kudos

Hi Shekar,

thanks for the response.

I took a look in transaction su21 and the authorization objects are C_KLAH_BKP and C_KLAH_BKL.

Thats fine, but what can I do in this transaction (sorry for my basic knowledge, but i have no idea how it works).

In the documentation to the field BGRKL of table KLAH (where the classes are stored) it says:

"This authorization must be defined in the user master record. The authorization object is BGRKL."

So my question is, how can I define this authorization in the user master record (for the specific value 999).

Thanks

Former Member
0 Kudos

Solved...

0 Kudos

Hi,

How did you solve this issue