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

BAPI / Function Module to create Authorization Objects

Former Member
0 Likes
965

Dear All,

I am trying to automate the process of creating auth. objects using ABAP code.

Could you please help me in identifying any standard function modules/BAPI/SAP Programs for the same ?

Thanks,

Kausthub

4 REPLIES 4
Read only

former_member202077
Participant
0 Likes
608

I don't know the answer, but just curious, why do you need to create Auth. Objects via ABAP/programitically? am not sure its allowed as per SOAX compliance

Read only

Former Member
0 Likes
608

Hi Kausthub,

Not sure what is your exact requirement. But for sure, you can do it by BDC programming using the transaction SU21.

Thanks,

Baskar

Read only

RaymondGiuseppi
Active Contributor
0 Likes
608

What is the purpose of your request, I can understand creation of roles (PFCG) depending on the values of the table behind one of the authorization fields, but creation of object is more a development task than an operation task, this object won't be checked anywhere without development ?

In case of problem with BDC/SHDB on SU21, you could try with SU21_OLD.

Regards,

Raymond

Read only

Former Member
0 Likes
608

Hi Kaustubh,

Did you find any BAPi or any other alternate way to automate the process of creating Authorization object?