Skip to Content
avatar image
Former Member

Approvers are not displaying after Saving the SC and re opening SRM 7.0 PCW

Hi All,

We have implemented PCW SRM7.0 SC workflow, where we have implemented to ES - /SAPSRM/BD_WF_PROCESS & /SAPSRM/BD_WF_AGENTS ....

When we are saving any SC and re opening it further then it is not determining any approvers. when I debugged then found that Agents badi implementations are not getting triggered n Due to it no agents are showing up..

Can any one suggest any inputs on this.

Thanks

Devraj

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jul 19, 2013 at 10:18 PM

    Hello Devraj;

    Did found a solution for this? I have the same issue.

    Thank you in advance.

    Kind Regards.

    Cristian R.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello Nevaeen;

      Thank you for the comments. The problem was a erratic logic in a Z level of approval.

      Here is what I done:

      My requirement was to validate the total value of each line item of the SC and trigger a second step of approval if it exceeded a predefined amount. As you mentioned, the standard BRF's only consider total value of the SC and not the value per line item. I copied the Badi implementation of RR_MANAGER_OF_MANAGER as well since we needed the approver to be the manager of the previous approver level and in the method GET_AREA_TO ITEM_MAP I worked up the logic we needed. For the first level of approver additionally of the mentioned method i had to re-write the method get_responsible_approvers of a Z class ZCL_WF_AREA_MANAGER (Copy of /SAPSRM/CL_WF_AREA_MANAGER) to get the approver information of the ECC system and in the method GET_AREA_TO ITEM_MAP i split the area of responsibility according to the account assignment ( so it was 1 badi implementation for each level of approval).

      Kind regards

      Cristian R.