cancel
Showing results for 
Search instead for 
Did you mean: 

FM to get approver from Rule-Responsibility

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

Do you know any Function Module which gets approvers from Rule-Responsibility ?

Customer maintains approvers using Rule-Responsibility based on product category.

Relationship is Rule(AC) -> Multiple Responsibility(RY) -> Multiple users(US)

Rule AC90000137

Responsibility RY50000755 for Category 001

US1003866

US1003456

Responsibility RY50000756 for Category 002

USXXXXXXX

Responsibility RY50000757 for Category 003

USXXXXXXX

FM RH_GET_ACTORS returns all users without category filter. Is there anyway to pass category?

FM RH_ALL_RESPO_BINDINGS_OF_ACTOR finds responsibility for category but how to get US from RY object? The relationship is Info Type 1001, SubType A007.

I would like to implement a FM which returns approvers by Rule and Category parameters.

Import parameter Rule AC90000137

Import parameter Category 001

Export parameter Approvers

Regards,

Masa

Accepted Solutions (0)

Answers (1)

Answers (1)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

The issue is fixed. RH_GET_ACTORS is the correct one but our test data was wrong.

It returns correct approvers now.

FM RH_GET_ACTORS

ACT_OBJECT = AC90000137

ACTOR_CONTAINER =

ELEMENT = CATEGORY_ID

TAB_INDEX = 00000

ELEMLENGTH = 020

TYPE = C

VALUE = HA

Regards,

Masa

Former Member
0 Kudos

Hi Masayuki,

Thanks a ton for taking your time to share the solution. You made my day! Helped me perfectly.

BR,

Aspire