WS14500015 - Item based approval

Snehal Kutumbale snehal.kutumbale at gmail.com
Thu Jan 10 04:40:30 EST 2008


Hello Everyone,

We are using the workfow WS14500015 for line item approval of SC. Also, we
have coded the logic to find approvers in BBP_WFL_APPROV_BADI.

Now the problem is, I have a shopping cart which has 3 line items. The 1st
line item has approver X as the 1st approver and the 2nd & 3rd line items
have approver Y as the 1st approver.

This will mean that the cart should not be set to 'RELEASED' when approver X
approvers teh 1st line item. It should wait for approver Y to approve the
other 2 line items.

Our problem is, when approver X approves the 1st line item, the entire cart
gets approved.

I have checked, and there are different work items getting created for both
the approvals.

The problem I am suspecting is due to the approval index. I have generated
the approval index as 1 for both the approvers as they are 1st approvers for
different line items. The workflow might be incrementing the index and thus
getting completed when it does not find any approvers on index 2.  For
testing when I generated separate index for both approvers(ie.1 and 2), it
seems to be working fine, but isn't this incorrect? Both the approvers are
the 1st approver of line itmes and the approval index should be 1 for both
and not 2 !!

Please advice.
-- 
Regards,
Snehal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20080110/fc09003a/attachment.htm


More information about the SAP-WUG mailing list