cancel
Showing results for 
Search instead for 
Did you mean: 

Use of BAdi BBP_CHNG_AGNT_GET with N Step Item Based WF

Former Member
0 Kudos

Hi All,

We are currently on SRM 5.0 (SRM Server 5.5) and are implementing N Step Item Based WF.

Client requirement is that during Add/Change Approver the dropdown list should be restricted to Approvers having certain roles only based on role of approver which is being changed.

It appears that because of th limitations in BAdi parameters available this is not possible.

Has anybody implemented this BAdi successfully in combination with N step Item Based WF for similar requirements.

Can anyone throw some more light on this.

Regards,

Girish Page

Accepted Solutions (1)

Accepted Solutions (1)

imthiaz_ahmed
Active Contributor
0 Kudos

Alternatively, you can assign these roles as possible agents in the Adhoc Anchor step which is responsible for the Add approver functionality.

Regards, IA

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You can read the value for the approver who is being changed in the importing parameter "IV_NODE_USER".To get the roles attached to the user ,use the FM "BBP_OM_USR_GET_ALL_ROLES".

BR,

Disha.

Do reward points for useful answers.

Former Member
0 Kudos

Hi Disha,

Thank you for your response.

The parameter "IV_NODE_USER" will give just approval step no. or will it give actual approver User Id at that particular step.

Is this parameter available when we implement this BAdi with N step Item based WF?

We need exact Approver User ID so that we can derive his roles and build further logic. We are currently facing problems to get the same for N step Item Level WF

Thanks.

Girish Page