Skip to Content

Workflow approval in SRM 7.0

Hello all, I am working in SRM 7.0 and I have this issue:

1) One user creates shopping cart using shop on behalf function for this user.

2) First question: This user only have availables all parameters that he/she has in his/her organizational structure? I am talking about cost centers, plants, etc... Because when you put shop on behalf function, you are linking an user for all users that belong to a organizational unit right?

3) I have activated one step approval for SCs

4) When SC was saved by first user (user A) using shop on behalf function (user B), I need that this SC throws a new workflow activity. I need that user B was first approver and then other user was second approver. But only when the SC was created using shop on behalf not other procedure.

What do you recommend for this?

I thought use conditions for workflow in this case, but these are for old workflow version no? How can I do it with new workflow version for SRM 7.0?

Thanks in advance

Rosa Rodríguez

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Aug 12, 2010 at 03:07 PM

    Hi,

    See me answers below all your questions..

    1) One user creates shopping cart using shop on behalf function for this user.

    Answer: Yes it is possible..

    2) First question: This user only have availables all parameters that he/she has in his/her organizational structure? I am talking about cost centers, plants, etc... Because when you put shop on behalf function, you are linking an user for all users that belong to a organizational unit right?

    Answer: According to POWL concept and F4 help functionality it will not work in the way you explained above..

    4) When SC was saved by first user (user A) using shop on behalf function (user B), I need that this SC throws a new workflow activity. I need that user B was first approver and then other user was second approver. But only when the SC was created using shop on behalf not other procedure.

    What do you recommend for this?

    Answer: In SRM 7.0 the standard workflow template will not allow Document owner to approver his own document..

    I thought use conditions for workflow in this case, but these are for old workflow version no? How can I do it with new workflow version for SRM 7.0?

    Answer: Review the following link for this.. http://help.sap.com/saphelp_srm70/helpdata/en/74/c0256bebb54f1c8dfb519d2908152b/frameset.htm

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      If you want Shop For User to approve the Shopping cart before any other approver can do it, then you need to create a BRF expression for checking whether the Creator of the SC = Requestor of the SC. There are two standard expressions available for Creator and Requestor, just compare them in another BRF expression and get the result....

      Based on above expression, create a process level in your process schema and asisgn the SC to the Requestor using a Custom implementation of Agent determination BADI in SRM 7.0

      Then comes the real challange, now because Requestor is the OWNER of the SC in standard SAP, the work item does not have any agent assigned to it becuase system excludes the agent (owner) while assignment. Here you need some custom solution.

      There are couple of OSS notes available for this. First you will ve to deactivate the Exclusion Expression in the workflow Task, so that the system does not exclude the owner as agent of the work item.

      The OSS note 1045171 can help you undestand it better. But be carefull....its very risky to use this solution, it may impact you somewhere else.

      Virender Singh