on 04-04-2011 6:37 AM
Hi ,
I'm really struck with workflow error when the task is processed in background mode ...
its saying WF-BATCH error.
i checked SWU3 everything is OK ...
but my workflow is working fine if the task is not executed in background mode....
What could be the possibility of WF-BATCH error while processing the task in backgound mode.?
Thanks in advance.
Thanks
-Suresh
You need to explain exactly what error you are getting and how you are getting it. The more details you provide, the better the answers will be. There could a lot of reasons why such errors happen and debugging WF is an art in itself.
Until you provide more details, here are a few ideas that might help you identify the problem:
- Did you run the actual method (of the BO or the class) behind the workflow task in background mode? Did it run correctly? You can write a simlpe program to call the method in background mode. It depends on your code but sometimes the behavior of function modules is different in background than in foreground especially if you are using a function module that calls a dialog screen or a BDC.
- Check ST22. Many times when the log shows the workflow is hanging, it is becaus of a short dump.
- Do some reseach on how you can debug in background mode and apply these techniques to debug your issue.
Hope this is helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
What error are you receiing exactly? Is it hanging or is there an error message in the technical log?
Please see note 1098805 section [2] for help with hanging work items.
Regards,
Eddie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please check the user authorization of user WF-BATCH.
Please get touch with the Basis team regardign this.
Thanks and regards,
SNJY
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI ANIK,
Thanks for the reply!
SAP_ALL is already maitained for WF-BATCH user. but still my workflow is not working properly when run in background processing ..
IN my activity step am using the Task as background procesing ..and in that task am using a customized BO and customized method..
this workflow works properly when task is run in agent assignment mode rather than background processing mode...
Pls. let me know the alternatives.
thanks
-suresh
Hello !
What is the error message that gets displayed ? Please share the complete error message.
Meanwhile, check in SM21 for system log and ST22 for any ABAP dumps.Also check, WF-BATCH user is configured as system user in SU01 and the password for WF-BATCH is synchronized with RFC destination for workflow.
Regards,
S.Suresh
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.