WF Status Error in : Condition step ?

Rahul Shukla rahul_ariean at yahoo.com
Fri Jul 13 11:44:36 EDT 2007


I feel , its a guess that there has to be a job
scheduled in the backend system.

I guess its name is something like RS*COND*. Go to
se38 and check a program name with this wild chars.
Than schedule it for every minute.

Even if conditions are put correctly , then also you
may need this program to be scheduled.

Just a suggestion, you may like to check the same.

Regards,
Rahul

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

> 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 truncated ===>
_______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
> 


Something that can't be re-cycled is Wasted Time.


       
____________________________________________________________________________________
Get the Yahoo! toolbar and be alerted to new email wherever you're surfing.
http://new.toolbar.yahoo.com/toolbar/features/mail/index.php



More information about the SAP-WUG mailing list