on 07-05-2007 5:11 AM
Hi ,
I am modifying one of the workflow.In that two steps first one Event triggering ,Second one activity for send mail.
Event triggering is working fine.Second activity is not runing it means the task inside the activity is not runing.
i am checked the binding,with the same binding and task the workflow is runing in PRD without modification (Old one).I dont know why its not runing in DEV .
I am changed the FM inside the task and regenrate the BO.Still it not runing.
I am run the task seperate it is also not runing it takes more time to run ,given a dump time limit exceed.
So please tell where i made mistake and how to short out this .
Help me it urgent one ,point will me given for useful answer.
give me any Document for debugging the workflow.
Thanks in Adv,
Ram.
You changed the FM. That's quite significant probably. So exactly how did you change the FM? Did you replace one standard FM with a different standard FM, or did you replace the standard FM with your own FM, or did you do something else?
Since the BOR object's method itself doesn't work (single task fails) you don't need to worry about debugging the workflow, at least not yet. Simply debug the BOR object's method from transaction SWO1. Most likely that will reveal what the problem is.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Kjetil Kilhavn Thanks for ur quick reply.
I am changed Z FM its in Z-BOR.i regenerate the Z-BOR and i checked the method in Z-BOR with insant its working fine.
In FM i worte the code for attachment.
While runing the Task sep its not runing giving a dump ,time limit exceed.
The Z-BOR is not able to call from Task.
Please give some idea to sort out this problem its urgent
Thanks in Adv
Ram
Hi Raja,
Go to SE37 Execute your ZFM and check with the input values first.
And go to SWO1 Test your Method.
Check Properly Binding with Object and Elements.
DEBUG your Business Object, Put a Break point in your Method Program.
Set a breakpoint in the code of attribute (or method), before things really get interesting
If you have calls to macros (swc_get_element, etc) you may need to set the values of the result elements inside the debugger (for example, when getting an element from the workflow container)
Check with:
Event linkage in the workflow
Event linkage (SWETYPV)
Event creation (SWUE)
Simulate event (SWU0)
Check the event log (SWEL)
RFC queue (SM58)
Thanks and Regards,
Prabhakar Dharmala
If you are able to run the method successfully from transaction SWO1 but not when you use a task there is either something wrong in your binding, or perhaps you are trying to use functionality that requires a (foreground) user context in background.
Message was edited by Kjetil Kilhavn:
If it is your binding that is the problem you probably don't have sufficient checks of the input data in your method.
hi
Use this transaction to see ur workflow log
SWEL : Event Log (Pre-requisite: SWELS)
Thanks
Annamalai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.