Skip to Content
avatar image
Former Member

Use of BAdi BBP_CHNG_AGNT_GET with N Step Item Based WF

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Jun 23, 2008 at 05:24 PM

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

    Regards, IA

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 23, 2008 at 01:34 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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