on 08-25-2009 12:50 PM
Hi All,
We have N-step Approval workflow for Approving the Shopping cart implemented.
The issue here is that based on the Product Category for a line item the list of approvals may differ.
How can i handle this scenario ?
Regards,
Radhika.
Hi,
Item based approval is delivered in standard.
http://help.sap.com/saphelp_srm50/helpdata/en/a3/a6a34098022a54e10000000a1550b0/frameset.htm
Regards,
Masa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you... SAP Help was useful... Could do it successfully after referring to it...
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Priyanka,
While using N-step item level SC WF, you have to use BBP_WFL_APPROV_BADI for agent determination. This badi gets called everytime when shopper changes SC or approver takes action on it. So after every change done to SC, approvers are determined.
Follow the listed steps:
1) As per your logic, for each item first determine the approvers at each level & assign them approval index. Arrange them in ascending order of their approval index at item level.
2) Now its possible that you have multiple approvers, multiple item at each level. For sending SC for approval, you will have to generate Approval_object_guid for each approver. For this you have to find out a criteria for generating Approval guid.
Eg:
SC has 3 items then, if for any 2 items product category is similar then approvers will be similar at a particular level. Similarly for different Product Category, different approvers are determined. So you can consider 'Product Category' & 'Approval index' as a criteria to club approvers at each level.
3) Use function module ''BBP_WFL_DIN_APP_OBJ_GET' to generate approval guid based on criteria & to update badi parameter 'item_approval_obj'.
4) Update badi parameters 'Approval_table' and 'Item_approval_table'.
5) Once SC is approved by all, set 'no_further_approval_needed' flag.
Please let me know if you need any further help.
Thanks,
Shital
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.