<div>Hello Everyone,</div>
<div>&nbsp;</div>
<div>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.<br><br>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 &amp; 3rd line items have approver Y as the 1st approver. 
<br><br>This will mean that the cart should not be set to &#39;RELEASED&#39; when approver X approvers teh 1st line item. It should wait for approver Y to approve the other 2 line items.<br><br>Our problem is, when approver X approves the 1st line item, the entire cart gets approved. 
<br><br>I have checked, and there are different work items getting created for both the approvals.<br><br clear="all">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.&nbsp; For testing when I generated separate index for both approvers(
ie.1 and 2), it seems to be working fine, but isn&#39;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 !! </div>
<div>&nbsp;</div>
<div>Please advice. <br>-- <br>Regards,<br>Snehal </div>