<br><font size=2 face="sans-serif">Hi Krishna,</font>
<br><font size=2 face="sans-serif">As suggested by u :</font>
<br><font size=2 face="sans-serif">1) I hv created new step , associated
it with new task n new zmethod (method fetches the invoice amount )</font>
<br><font size=2 face="sans-serif"> and put this step
before condition step.</font>
<br><font size=2 face="sans-serif"> </font>
<br><font size=2 face="sans-serif">2)Have done the proper binding between
method and task and then between task and WF .</font>
<br>
<br><font size=2 face="sans-serif">3)Now I m using WF container element
in condition step as : 'Amount' > 2500.</font>
<br>
<br><font size=2 face="sans-serif">but the problem is my WF is getting
stopped at condition step again ?</font>
<br><font size=2 face="sans-serif">Pls suggest wat could be missing and
how to go about it ..</font>
<br><font size=2 face="sans-serif">Many Thanks</font>
<br>
<br><font size=2 face="sans-serif">Best Regards<br>
Priya </font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>krishna mohan <geniuskittu@yahoo.com></b>
</font>
<br><font size=1 face="sans-serif">Sent by: sap-wug-bounces@mit.edu</font>
<p><font size=1 face="sans-serif">07/10/2007 09:46 PM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
"SAP Workflow Users' Group" <sap-wug@mit.edu></font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">"SAP Workflow Users' Group"
<sap-wug@mit.edu></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: WF status error in : Condition step
?</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>Hi Priya,<br>
<br>
You can do the following<br>
<br>
1. I guess FIPP.CREATED is the triggering event for<br>
your workflow<br>
<br>
2. Just before your condition step, create a new step<br>
saying 'Find the Total Amount on FI document',<br>
associate this step with a new task. When creating<br>
this new task associate with a new method on ZFIPP. In<br>
this method write the logic to find the Total Amount.<br>
<br>
Do the proper bindings required ( between workflow <-><br>
task and task <-> method). <br>
<br>
3. then you can use your container element in<br>
condition step.<br>
<br>
Let me know if you still face any problem.<br>
<br>
Thanks and Regards<br>
Krishna Mohan<br>
SAP Workflow Specialist<br>
IBM India Pvt Ltd<br>
<br>
<br>
--- Priya Sharma <priya.sharma@tcs.com> wrote:<br>
<br>
> Thanks Mark for the reply.<br>
> I have not assigned any value to the container<br>
> element 'Amount' prior to <br>
> the condition step.<br>
> I have not used this element in binding as condition<br>
> step doesn't provide <br>
> us the option for binding . In my scenario:<br>
> 1) Document is parked (FIPP - created), In FV60<br>
> invoice amount is filled.<br>
> 2)condition : 'Amount' > 2500.<br>
> 3)Condition true - go to approver1 (agent<br>
> determination through Rule)<br>
> Condition false - go to approver2 (agent<br>
> determination through Rule)<br>
> <br>
> I am not sure whether this element 'Amount' in WF<br>
> container get filled <br>
> with the data entered in FV60 or binding is<br>
> required in some step ?<br>
> or do I need to add 'amount' in attributes in BO ?<br>
> In my graphical WF log, process has stopped in<br>
> condition step.<br>
> <br>
> Pls advice, n help me to proceed further ..<br>
> <br>
> <br>
> Best Regards<br>
> Priya<br>
> <br>
> <br>
> <br>
> <br>
> <br>
> "Mark Pyc" <mark.pyc@gmail.com> <br>
> Sent by: sap-wug-bounces@mit.edu<br>
> 07/10/2007 02:21 PM<br>
> Please respond to<br>
> "SAP Workflow Users' Group" <sap-wug@mit.edu><br>
> <br>
> <br>
> To<br>
> "SAP Workflow Users' Group" <sap-wug@mit.edu><br>
> cc<br>
> <br>
> Subject<br>
> Re: WF status error in : Condition step ?<br>
> <br>
> <br>
> <br>
> <br>
> <br>
> <br>
> G'day Priya,<br>
> <br>
> Yes logically you probably want to use an attribute<br>
> of your business <br>
> object. Just declaring a container element in the<br>
> Workflow will not <br>
> automatically populate it with a value. <br>
> <br>
> I'm not sure that a condition would fail to error<br>
> simply because the <br>
> container element was empty, so it may not be the<br>
> issue anyway. <br>
> <br>
> Do you assign a value to the container element prior<br>
> to the condition? <br>
> <br>
> Have fun,<br>
> Mark<br>
> <br>
> <br>
> On 7/10/07, Priya Sharma <priya.sharma@tcs.com><br>
> wrote: <br>
> <br>
> Hi All, <br>
> <br>
> My condition step is not working fine , Pls help me<br>
> out. <br>
> I am designing WF for parking invoice (tcode- FV60,<br>
> BO -FIPP),there I need <br>
> to give following condition: <br>
> If Invoice Amount > 2500 USD then mail is sent to<br>
> some particular approver <br>
> otherwise some other approver. <br>
> <br>
> I have declared one variable 'Amount' in WF<br>
> container with refrence to <br>
> table- INVFO and field - WRBTR.(this is a currency<br>
> field.) <br>
> and in condition step in WF, I am giving a condition<br>
> .i.e - 'Amount' > <br>
> 2500 <br>
> After activating WF and while testing it ,WF gives<br>
> "status : Error " <br>
> I hv seen in WF log , Process has stopped in<br>
> condition step. <br>
> Is there something missed or wrong in condition step<br>
> ? <br>
> <br>
> I doubt - if my way of declaring element 'Amount'<br>
> in WF container is ok ? <br>
> <br>
> Do I need to add this
field as an<br>
> attribute in the Bus Obj n <br>
> then take it in condition editor. <br>
> <br>
> Pls advice how to go about it ?? <br>
> <br>
> <br>
> Best Rgds <br>
> Priya <br>
> <br>
> =====-----=====-----=====<br>
> Notice: The information contained in this e-mail<br>
> message and/or attachments to it may contain <br>
> confidential or privileged information. If you are <br>
> not the intended recipient, any dissemination, use, <br>
> review, distribution, printing or copying of the <br>
> information contained in this e-mail message <br>
> and/or attachments to it are strictly prohibited. If<br>
> <br>
> you have received this communication in error, <br>
> please notify us by reply e-mail or telephone and <br>
> immediately and permanently delete the message <br>
> and any attachments. Thank you<br>
> <br>
> <br>
> <br>
> <br>
> _______________________________________________<br>
> SAP-WUG mailing list<br>
> SAP-WUG@mit.edu<br>
> http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
> <br>
> _______________________________________________<br>
> SAP-WUG mailing list<br>
> SAP-WUG@mit.edu<br>
> http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
> <br>
> ForwardSourceID:NT00007BF2 <br>
> =====-----=====-----=====<br>
> Notice: The information contained in this e-mail<br>
> message and/or attachments to it may contain <br>
> confidential or privileged information. If you are <br>
> not the intended recipient, any dissemination, use, <br>
> review, distribution, printing or copying of the <br>
> information contained in this e-mail message <br>
> and/or attachments to it are strictly prohibited. If<br>
> <br>
> you have received this communication in error, <br>
> please notify us by reply e-mail or telephone and <br>
> immediately and permanently delete the message <br>
> and any attachments. Thank you<br>
> <br>
> <br>
> > _______________________________________________<br>
> SAP-WUG mailing list<br>
> SAP-WUG@mit.edu<br>
> http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
> <br>
<br>
<br>
<br>
<br>
____________________________________________________________________________________<br>
Choose the right car based on your needs. Check out Yahoo! Autos
new Car Finder tool.<br>
http://autos.yahoo.com/carfinder/<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
</tt></font>
<br><font size=1 color=white face="sans-serif">ForwardSourceID:NT00007C76
</font>
<br><pre>=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
</pre>