Skip to Content
avatar image
Former Member

MSMP-PFCG Agent rule help required

Hi Experts,

Need your suggestion on the below query.

I was trying to create a PFCG agent role by following the instructions from the below link.

http://wiki.scn.sap.com/wiki/display/GRC/Setting+up+PFCG+Agent+Role+and+Workflow


Now I am struck in the middle where I have a scenario in which we have 7 different company codes and for each company code there is a approver so I will create 7 different roles for each company code and assign it to the 7 approvers(One role to each approver).Now i want this Agent to be the first level of approver in the path followed by Manager-->Role Owner-->Security. But when I am trying to add a stage with sequence number 000 it is not allowing me to create it but when Iam trying to create it with sequesnce number 004 iam able to create it that means i am not allowed to change the standard path.Now please suggest me how i should map this agent as the first level of approval followed by Manager-Role Owner-Security.

Also in the end user request form how should i make multiple entries available for that particular field(Company) so that the End user selects the appropriate company code and the request goes to that particular approver.

Thanks,

Neeraj Agarwal

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Feb 26, 2014 at 01:58 PM

    when creating stages, always start with "010", that gives you room to change. "000" is not legal.

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 27, 2014 at 04:23 AM

    Hello,

    First of all.you cannot create stage with 000..

    it should start with 001 (atleats) if there is stages in path like 001 002 003 then you can create 004

    but if your first stage is 004, then 005, in this case it will allow you to create stage with sequence like 001,002 and these stage withh stay above existing stage , based on sequence.

    first do not use standdard path.

    create anew path based on your requirement. map is in maintain route mapping

    second : you want approver to be based on company code.

    create BRF+ agent rules identify agent based on your company code.

    Regards,

    Prasant

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Neeraj

      You need to test the function in BRF+ to check the logic is right. In BRF+ perform a simulation of a scenario so you can track where failing.

      I'm still not sure what your approach here. Is it

      • You want to leverage the role owner against the role in BRM or
      • You have built some PFCG approval roles to assign to your approvers and they are used to determine who the approvers are based on another attribute on the form?

      If you have all your roles in BRM and each is assigned the approver you want, then you could keep to the delivered role owner agent rule

      If you are trying to use your own PFCG roles and map out scenarios you need to consider using the CASE statement and/or DBlookup to identify the approver. E.g. (purely pseudo-logic here)

      CASE COMPANY

                INDIA --> Perform the DBLookup for Comp1

                AUSTRALIA ---> Perform DBLookup for Comp2

                OTHER --> any of company code could be return null so you can handle error

      END CASE

      In terms of using BRF+ for more complex scenarios, have a look at the BRM community for guidance

      Cheers

      Colleen

  • Feb 26, 2014 at 10:18 PM

    Hi Neeraj

    Also in the end user request form how should i make multiple entries available for that particular field(Company) so that the End user selects the appropriate company code and the request goes to that particular approver.

    Rather than have the user pick multiple companies could you have you rule use the company assigned to the role to determine approval path?

    Regards

    Colleen

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Neeraj

      My point was to identify company code was to use the requested role attibute

      In terms of agent rules, do not use PFCG for your case as you will need to stage for each different company code. Use BRF+ other options to achieve. You could still incorporate role in your BRF+ rule to make it easier to assign access to approvers

      Regards

      Colleen