on 10-25-2007 10:38 AM
Hello Friends,
We are on SRM 5.0SP9.
Technical scenario CLASSIC and business scenario is
Self service procurement.
Business requirement is that:
when the employee creates shopping cart it should be submitted to manager through one step approval.
But when Manager creates SC it should not need approval.
The logic which we are using is:
activate both the WF
WS10000060 - Workflow Without Approval Shopping Cart
WS10000129 - One Step approval of shopping cart
and in the start condition of WS10000060 - Workflow Without Approval Shopping Cart-we will put that if the requestor user has manager role then this WF should work.
and in the start condition of WS10000129 - One Step approval of shopping cart-we will write that if requestor does not have manager role then this WF will work.
But we are not able to get the correct objects to define the above mentioned conditions.
Has anybody done this before via this or other way?
BR
Dinesh
Hi Dinesh,
have you tried some field like ActivityGroup?
BR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jorge,
There are two seperate roles of stal_manager and stal_employee.
I had tried the field of activity group for the requestor user &_EVT_OBJECT.REQUISITIONERUSER.ACTIVITYGROUP&.
Sorry, forgot to mention that.
But when I select this field, select operator as = and give the role SAP_BBP_STAL_MANAGER or SAP_EC_BBP_MANAGER
i am getting error message that these two can not be compared.
Have you done this before?
BR
Dinesh
Hi Dinesh,
How are things ?
The simplest option to use n-step workflow using BAdI.
Where you can control any sort of approval.
For example, if Manager is creating a SC, you can always set
NO_FURTHER_APPROVAL_NEEDED = 'X' otherwise go for a single step by appending data into APPROVAL_TABLE.
If you need further details, please let me know.
Thanks and Kind Regards
Pras Durafe
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.