WF Status Error in : Condition step ?

Priya Sharma priya.sharma at tcs.com
Fri Jul 13 08:05:57 EDT 2007


Hi Krishna,
As suggested by u :
1) I hv created new step , associated it with new task n new zmethod 
(method fetches the invoice amount )
     and put this step before condition step.
 
2)Have done the proper binding between method and task and then between 
task and WF .

3)Now I m using WF container element in condition step as : 'Amount' > 
2500.

but the problem is my WF is getting stopped at condition step again ?
Pls suggest wat could be missing and how to go about it ..
Many Thanks

Best Regards
Priya 




krishna mohan <geniuskittu at yahoo.com> 
Sent by: sap-wug-bounces at mit.edu
07/10/2007 09:46 PM
Please respond to
"SAP Workflow Users' Group" <sap-wug at mit.edu>


To
"SAP Workflow Users' Group" <sap-wug at mit.edu>
cc

Subject
Re: WF status error in : Condition step ?






Hi Priya,

You can do the following

1. I guess FIPP.CREATED is the triggering event for
your workflow

2. Just before your condition step, create a new step
saying 'Find the Total Amount on FI document',
associate this step with a new task. When creating
this new task associate with a new method on ZFIPP. In
this method write the logic to find the Total Amount.

Do the proper bindings required ( between workflow <->
task and task <-> method). 

3. then you can use your container element in
condition  step.

Let me know if you still face any problem.

Thanks and Regards
Krishna Mohan
SAP Workflow Specialist
IBM India Pvt Ltd


--- Priya Sharma <priya.sharma at tcs.com> wrote:

> Thanks Mark for the reply.
> I have not assigned any value to the container
> element 'Amount' prior to 
> the condition step.
> I have not used this element in binding as condition
> step doesn't provide 
> us the option for binding . In my scenario:
> 1) Document is parked (FIPP - created), In FV60
> invoice amount is filled.
> 2)condition : 'Amount' > 2500.
> 3)Condition true - go to approver1 (agent
> determination through Rule)
>    Condition false - go to approver2 (agent
> determination through Rule)
> 
> I am not sure whether this element 'Amount' in WF
> container get filled 
> with the data entered in FV60 or  binding is
> required in some step ?
> or do I need to add 'amount' in attributes in BO ?
>  In my graphical WF log, process has stopped in
> condition step.
> 
> Pls advice, n help me to proceed further ..
> 
> 
> Best Regards
> Priya
> 
> 
> 
> 
> 
> "Mark Pyc" <mark.pyc at gmail.com> 
> Sent by: sap-wug-bounces at mit.edu
> 07/10/2007 02:21 PM
> Please respond to
> "SAP Workflow Users' Group" <sap-wug at mit.edu>
> 
> 
> To
> "SAP Workflow Users' Group" <sap-wug at mit.edu>
> cc
> 
> Subject
> Re: WF status error in : Condition step ?
> 
> 
> 
> 
> 
> 
> G'day Priya,
> 
> Yes logically you probably want to use an attribute
> of your business 
> object. Just declaring a container element in the
> Workflow will not 
> automatically populate it with a value. 
> 
> I'm not sure that a condition would fail to error
> simply because the 
> container element was empty, so it may not be the
> issue anyway. 
> 
> Do you assign a value to the container element prior
> to the condition? 
> 
> Have fun,
> Mark
> 
> 
> On 7/10/07, Priya Sharma <priya.sharma at tcs.com>
> wrote: 
> 
> Hi All, 
> 
> My condition step is not working fine , Pls help me
> out. 
> I am designing WF for parking invoice (tcode- FV60,
> BO -FIPP),there I need 
> to give following condition: 
> If Invoice Amount > 2500 USD then mail is sent to
> some particular approver 
> otherwise some other approver. 
> 
> I have declared one variable 'Amount' in WF
> container with refrence to 
> table- INVFO and field - WRBTR.(this is a currency
> field.) 
> and in condition step in WF, I am giving a condition
> .i.e - 'Amount' > 
> 2500 
> After activating WF and while testing it ,WF gives
> "status : Error " 
> I hv seen in WF log , Process has stopped in
> condition step. 
> Is there something missed or wrong in condition step
> ? 
> 
> I doubt  - if my way of declaring element 'Amount'
> in WF container is ok ? 
> 
>              Do I need to add this field as an
> attribute in the Bus Obj n 
> then take it  in  condition editor. 
> 
> Pls advice how to go about it ?? 
> 
> 
> Best Rgds 
> Priya 
> 
> =====-----=====-----=====
> 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
> 
> 
> 
> 
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
> 
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
> 
> ForwardSourceID:NT00007BF2 
> =====-----=====-----=====
> 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
> 
> 
> > _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
> 



 
____________________________________________________________________________________
Choose the right car based on your needs.  Check out Yahoo! Autos new Car 
Finder tool.
http://autos.yahoo.com/carfinder/
_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug

ForwardSourceID:NT00007C76 
=====-----=====-----=====
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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20070713/c74b0955/attachment.htm


More information about the SAP-WUG mailing list