<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Raja,<br>
<br>
This behavior is defined by your process schema. Please check your
schema. You can also try posting the issue in SDN SRM Workflow
forum.<br>
<br>
Cheers,<br>
Ramki.<br>
<br>
On 4/4/11 2:44 PM, Raja wrote:
<blockquote cite="mid:370852.37129.qm@web130223.mail.mud.yahoo.com"
type="cite">
<style type="text/css"><!-- DIV {margin:0px;} --></style>
<div style="font-family: 'times new roman','new york',times,serif;
font-size: 12pt;">
<div>Hello All :</div>
<div><br>
</div>
<div>I have an other question related to the BRF workflow . When
the Shopping Cart is completely rejected ( all line items
rejected ) by an approver , the shopping cart turns out to be
non-editable and the workflow is completed . </div>
<div><br>
</div>
<div>But at the same , if the SC got 2 items , item 1 is
approved and item 2 is rejected , then work item is sent to
the SC creator to take some action .</div>
<div>Is this the Standard system behavior ? . </div>
<div><br>
</div>
<div>What I am looking for is when the SC is fully rejected , it
should give the capability to the requester to edit and
resubmit it.</div>
<div><br>
</div>
<div>Can anybody please shed some light on this issue ?</div>
<div><br>
</div>
<div>Your time and effort is highly appreciated in this matter.</div>
<div><br>
</div>
<div><br>
</div>
<div>Thanks,<br>
Raja</div>
<div>248 910 0604 Cell</div>
<div><br>
</div>
<div><br>
</div>
<div style="font-family: times new roman,new york,times,serif;
font-size: 12pt;"><br>
<div style="font-family: times new roman,new york,times,serif;
font-size: 12pt;"><font face="Tahoma" size="2">
<hr size="1"><b><span style="font-weight: bold;">From:</span></b>
Raja <a class="moz-txt-link-rfc2396E" href="mailto:raja_mahamani@yahoo.com"><raja_mahamani@yahoo.com></a><br>
<b><span style="font-weight: bold;">To:</span></b> SAP
Workflow Users' Group <a class="moz-txt-link-rfc2396E" href="mailto:sap-wug@mit.edu"><sap-wug@mit.edu></a><br>
<b><span style="font-weight: bold;">Sent:</span></b> Sun,
April 3, 2011 10:21:23 PM<br>
<b><span style="font-weight: bold;">Subject:</span></b>
Re: BRF Workflow - SRM Shopping Cart Approval at item
level<br>
</font><br>
<meta http-equiv="x-dns-prefetch-control" content="off">
<div style="font-family: times,serif; font-size: 12pt;">
<div>Hello Ramki , </div>
<div>Thank You for your response . </div>
<div><br>
</div>
<div>Is there a way through coding/customization , to
create decision sets at item level so that for example
when the line item 1 is approved , it does not have to
wait for item 2 ? . Basically , what I am looking for is
, item 1 status should be changed to "Approved" so that
follow-on documents will be created.</div>
<div><br>
</div>
<div style="font-family: times new roman,new
york,times,serif; font-size: 12pt;">Or Shall I use any
BAPI to change the status or write custom method to
change the item's system status to "approved " ?.</div>
<div style="font-family: times new roman,new
york,times,serif; font-size: 12pt;"><br>
</div>
<div style="font-family: times new roman,new
york,times,serif; font-size: 12pt;">Any ideas or
suggestions welcome. </div>
<div style="font-family: times new roman,new
york,times,serif; font-size: 12pt;"><br>
</div>
<div style="font-family: times new roman,new
york,times,serif; font-size: 12pt;"><br>
</div>
<div style="font-family: times new roman,new
york,times,serif; font-size: 12pt;">Thanks,<br>
Raja</div>
<div style="font-family: times new roman,new
york,times,serif; font-size: 12pt;">248 910 0604 Cell</div>
<div style="font-family: times new roman,new
york,times,serif; font-size: 12pt;"><br>
<div style="font-family: times new roman,new
york,times,serif; font-size: 12pt;"><font
face="Tahoma" size="2">
<hr size="1"><b><span style="font-weight: bold;">From:</span></b>
Ramki Maley <a class="moz-txt-link-rfc2396E" href="mailto:rmaley@erpworkflow.com"><rmaley@erpworkflow.com></a><br>
<b><span style="font-weight: bold;">To:</span></b>
SAP Workflow Users' Group <a class="moz-txt-link-rfc2396E" href="mailto:sap-wug@mit.edu"><sap-wug@mit.edu></a><br>
<b><span style="font-weight: bold;">Sent:</span></b>
Sun, April 3, 2011 5:07:01 PM<br>
<b><span style="font-weight: bold;">Subject:</span></b>
Re: BRF Workflow - SRM Shopping Cart Approval at
item level<br>
</font><br>
<title></title>
Raja,<br>
<br>
What you are experiencing in both cases is standard
system behavior. Please see the SAP documentation for
<a moz-do-not-send="true" rel="nofollow"
target="_blank"
href="http://help.sap.com/saphelp_srm70/helpdata/EN/2c/2ecf5596524af59d454ee6f1684b4d/content.htm">Decision
Sets</a>. <br>
<br>
Regards,<br>
Ramki. <br>
<br>
On 4/2/11 8:38 PM, Raja wrote:
<blockquote type="cite">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="font: inherit;" valign="top"><br>
<font class="Apple-style-span" face="arial"
size="2">Hello Experts ,</font>
<div style="font-family: arial; font-size:
10pt;"><br>
</div>
<div>
<div><font class="Apple-style-span"
face="arial" size="2">We are using SRM
7.01 and SP Level3 . </font></div>
<div><font class="Apple-style-span"
face="arial" size="2"><br>
</font></div>
<div><font class="Apple-style-span"
face="arial" size="2">We are in the
process of implementing Shopping Cart
Approval at item level using Business
Rule Framework using </font><span
class="Apple-style-span"
style="font-family: arial; font-size:
small;">Process Controlled Schema
evaluation . </span></div>
<div><font class="Apple-style-span"
face="arial" size="2"> I have used the
BADI implementation
/SAPSRM/BD_WF_RESP_RESOLVER and
methods </font></div>
<div><font class="Apple-style-span"
face="arial" size="2">/SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_APPROVERS_BY_AREA_GUID
and
/SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_AREA_TO_ITEM_MAP </font></div>
<div><font class="Apple-style-span"
face="arial" size="2">to create area
GUID and map it to the item.</font></div>
<div><font class="Apple-style-span"
face="arial" size="2"><br>
</font></div>
<div><font class="Apple-style-span"
face="arial" size="2">Problems I am
facing :</font></div>
<div><font class="Apple-style-span"
face="arial" size="2">Scenario 1 :
For example SC got two items ; item
1 requires two level of approval and
item 2 requires 3 level of </font><span
class="Apple-style-span"
style="font-family: arial; font-size:
small;">approval . Item 1 is approved
by both the levels and item 2 needs
3rd level approval.</span></div>
<div><font class="Apple-style-span"
face="arial" size="2"><br>
</font></div>
<div><font class="Apple-style-span"
face="arial" size="2">What is
happening here is , line item 1 is
also in the waiting approval status,
technically item should go to
"Approved" ,</font><span
class="Apple-style-span"
style="font-family: arial; font-size:
small;">but the SC is waiting for item
2 to be approved by 3 rd level . Then
the SC status is changed to
"Approved". </span></div>
<div><font class="Apple-style-span"
face="arial" size="2"><br>
</font></div>
<div><font class="Apple-style-span"
face="arial" size="2">Scenario 2 :
For example SC got two items ; item
1 requires two level of approval and
item 2 requires 3 </font><font
class="Apple-style-span" face="arial"
size="2">level of approval . Item 1
is approved by both the levels and
item 2 rejected by 3 rd level . Even
in this case ,</font><span
class="Apple-style-span"
style="font-family: arial; font-size:
small;">the rejected item needs
decision </span><span
class="Apple-style-span"
style="font-family: arial; font-size:
small;"> from the SC creator , then
only the other item is going for
approval.</span></div>
<div><font class="Apple-style-span"
face="arial" size="2"><br>
</font></div>
<div><font class="Apple-style-span"
face="arial" size="2">Basically only
one instance of workflow (WS40000014)
is called at for the entore shopping
cart and the approval workitem is
created </font></div>
<div><font class="Apple-style-span"
face="arial" size="2">at the n-step
approval sub-workflow (WS40000015 and
WS40000016). In our situation there
should be either multiple instances</font></div>
<div><font class="Apple-style-span"
face="arial" size="2">of
WS400000154/WS40000015 should be
called so that every item will be
considered as a separate approval. </font></div>
<div><font class="Apple-style-span"
face="arial" size="2"><br>
</font></div>
<div><font class="Apple-style-span"
face="arial" size="2">I read from SDN
that Process Schema's evaluation is
at header level only by default . </font></div>
<div><font class="Apple-style-span"
face="arial" size="2">We have done
coding in the item area map method
/BADI and Rule Context to to go for
different approval process </font><span
class="Apple-style-span"
style="font-family: arial; font-size:
small;">at item level. </span></div>
<div><font class="Apple-style-span"
face="arial" size="2"><br>
</font></div>
<div><font class="Apple-style-span"
face="arial" size="2">Any ideas and
suggestions welcome . I appreciate
your time and effort in advance.</font></div>
<div><font class="Apple-style-span"
face="arial" size="2"><br>
</font></div>
<div><font class="Apple-style-span"
face="arial" size="2"><br>
</font></div>
<div><font class="Apple-style-span"
face="arial" size="2">Note : I am
willing to share my code if anybody
wants to have a look at to provide
suggestion.</font></div>
<div><font class="Apple-style-span"
face="arial" size="2"><br>
</font></div>
<div><font class="Apple-style-span"
face="arial" size="2"><br>
</font></div>
<div><font class="Apple-style-span"
face="arial" size="2">Thanks,</font></div>
<div><font class="Apple-style-span"
face="arial" size="2">Raja Mahamani</font></div>
<div><font class="Apple-style-span"
face="arial" size="2">248 910 0604</font></div>
</div>
</td>
</tr>
</tbody>
</table>
<pre><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
SAP-WUG mailing list
<a moz-do-not-send="true" rel="nofollow" class="moz-txt-link-abbreviated" ymailto="mailto:SAP-WUG@mit.edu" target="_blank" href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><span><span>
<a moz-do-not-send="true" target="_blank" href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</a>
</span></span></pre>
</blockquote>
</div>
</div>
</div>
<meta http-equiv="x-dns-prefetch-control" content="on">
</div>
</div>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
SAP-WUG mailing list
<a class="moz-txt-link-abbreviated" href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a>
<a class="moz-txt-link-freetext" href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</a>
</pre>
</blockquote>
</body>
</html>