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

Assign agents depending on needed authorization

Former Member
0 Likes
609

Hi' experts

I need to assign agents to a workflow acording to the authorization needed. The workflow pushes the creation of material in MM01 to different users, so user 1 must fill in data in specefic fields in two views. My idea is, to say: If this user can do it manually, he should be among the receivers of the work item. Therefor I need to develop an ABAP, that first can tell me, what auth. objects does this require, and next who has the proper authorization to do it.

If the first cannot be done, I still need the second.

Any help will be greatly appreciatet.

Kind regards

Mikkel

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
575

Hi,

To find out which All Auth Obj is being used, Run a System Trace (ST01) for Auht Obj. Then in SUIM you will get diff kinds of reports related to Authorization.

Warm Regards

Anup Varghese

Hi' experts

I need to assign agents to a workflow acording to the authorization needed. The workflow pushes the creation of material in MM01 to different users, so user 1 must fill in data in specefic fields in two views. My idea is, to say: If this user can do it manually, he should be among the receivers of the work item. Therefor I need to develop an ABAP, that first can tell me, what auth. objects does this require, and next who has the proper authorization to do it.

If the first cannot be done, I still need the second.

Any help will be greatly appreciatet.

Kind regards

Mikkel

3 REPLIES 3
Read only

Former Member
0 Likes
576

Hi,

To find out which All Auth Obj is being used, Run a System Trace (ST01) for Auht Obj. Then in SUIM you will get diff kinds of reports related to Authorization.

Warm Regards

Anup Varghese

Read only

Former Member
0 Likes
575

Hi Mikkel,

Thinking from a different angle, would it it not serve the purpose, if you create positions in org strucuture for this specific tasks.

e.g. In material master workflow, you can have position in Purchasing dept, who can fill Purchasing view, you can have Sales Org unit having sales related position to fill up sales view.

Once the basic data is filled, it can be sent to subsequent positions for their work.

In this case, only the person who should functionally responsible for creating particual view will receive the work item and actual ABAP authorization related control may not be needed .

Regards,

Akshay Bhagwat

Read only

Former Member
0 Likes
575

Hi Anup and Akshay.

Your proposals are fine, but they will not solve my problem because:

Using the trace as well as HR will require specific maintenance for this workflow. The functionality I want to achive is, that no matter what changes there are made to the setup of authorisations, of Materials or HR the users with the at the time right authorization gets the item.

Kind regards

Mikkel