Question:
------------urgent urgent urgent ---------------
Hi Gurus,
I got stuck in the middle of the workflow ..I'm not able to trigger the predefined object type methods which is created by me through workflow ..n I already activited triggering events for the method .when i use breakpoint at program line in the object type method ..after executing workflow i was not able to go 2 the debugging mode of the object type ....I would appreciate the required help ..its really urget ...Thanks in advance ..
thanks
Answer:
How do your workflow log entries look. Does the workflow run into error, and what is the error.
Perhaps you have binding problems to your Task container or Method container.
When you say 'after executing workflow I was not able to go into debugging mode', do you mean that you executed a workiem from your inbox?
One small tip. This urgent urgent urgent story doesn't really help.
If this was Really Urgent, you shouldn't be asking your question in this forum. You lucky you got me in a good mood, because I normally ignore the urgent ones.
Answer:
Hi Spoolder,
Thanks for ur immediate response ..Workflow log shows that every task is completed but the value is not coming into the workflow container..
when i execute workflow through SWDD user defined object type is not gettting triggered ...nothing related to Inbox.
the scenario is ...
I need to create the ESS User thru PA40 t.code.
for that when I save the first screen of the PA40 I will get the personal No.
by using this Personal No. I have written a routine program and calling this through the Dynamic actions.
So when I create the ESS User thru PA40 t.code, the Dynamic actions are working fine and triggering the workflow but the value which iam sending from the routine through the Macro is also going to the workflow and there the workflow starts and completes with out triggering the userdefined object type.
in this object type I am using the methods to create the HRuser, SAPuser by passing the PErsonnal No.
thanks in Advance
How do your workflow log entries look. Does the workflow run into error, and what is the error.
Perhaps you have binding problems to your Task container or Method container.
When you say 'after executing workflow I was not able to go into debugging mode', do you mean that you executed a workiem from your inbox?
One small tip. This urgent urgent urgent story doesn't really help.
If this was Really Urgent, you shouldn't be asking your question in this forum. You lucky you got me in a good mood, because I normally ignore the urgent ones.
Answer:
Have you checked that there are no inconsistencies in SWUD.
In SW01, does your method function correctly when you pass the required parameters to it?
Answer:
To me it looks like there is no in-coppatability in the parameter passing to the event or the method. SWDD or SW01 dosen't help in indicating the in-compatibility.
Answer:
Hi ,
Thanks for your response ..There is consistency for the object type with all correct bindings ....but it is not calling the object type when workflow is exectued by using breakpoint in the object type also ..I would appreciate your help
Thanks
To me it looks like there is no in-coppatability in the parameter passing to the event or the method. SWDD or SW01 dosen't help in indicating the in-compatibility.
Answer:
to my knowledge, you will never get to your break point in a background task.
Answer:
Hi Spoolder,
you r right ..we cant go into debugging mode in background process..I wondering where exactly is the problem ..i cant pass macro value to the workflow container ..what r the possible checklist ??plz go through my previous detail query ..i would appreciate your valuable thoughts ..
Thanks
to my knowledge, you will never get to your break point in a background task.
Answer:
Hi
If you need to debug a background task you can try the following
1. Implement and endless loop before your breakpoint (sounds ridiculous but trust med on this)
2. Execute the functionality
3. Go to transaction SM50
4. In here you can locate the process with endless loop
5. Select the process from the menu Program/mode -> program debugging.
Now you are debugging the background task, change the check value to break out of the loop and you are debugging your code.
And don't forget to remove the endless loop when you are done
Regards
Morten