<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3199" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=278184417-10012008><FONT face=Arial
color=#0000ff size=2>You need to assign your different approvers to different
approval guids. If this is done then the workflow should work with just
index 1, sending the approvals in parallel, and only completing when all
necessary approvals are received.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=278184417-10012008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=278184417-10012008><FONT face=Arial
color=#0000ff size=2>Other things which often cause issues here
are:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=278184417-10012008><FONT face=Arial
color=#0000ff size=2> - make sure you are on as recent a support pack as
possible with all OSS notes applied</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=278184417-10012008><FONT face=Arial
color=#0000ff size=2> - make sure your workflow security setting is correct
in your roles / role personalisation. Medium doesn't work properly with
the BADI processes so I would normally use LOW.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=278184417-10012008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=278184417-10012008><FONT face=Arial
color=#0000ff size=2>Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=278184417-10012008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=278184417-10012008><FONT face=Arial
color=#0000ff size=2>Mark</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=278184417-10012008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=278184417-10012008><FONT face=Arial
color=#0000ff size=2>SAP UK</FONT></SPAN></DIV>
<DIV> </DIV><FONT face="Arial Black" color=#000080 size=1></FONT><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>Snehal
Kutumbale<BR><B>Sent:</B> 10 January 2008 09:41<BR><B>To:</B>
sap-wug@mit.edu<BR><B>Subject:</B> WS14500015 - Item based
approval<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Hello Everyone,</DIV>
<DIV> </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 & 3rd line items have approver Y
as the 1st approver. <BR><BR>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.<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. 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 !! </DIV>
<DIV> </DIV>
<DIV>Please advice. <BR>-- <BR>Regards,<BR>Snehal </DIV></BODY></HTML>