on 05-19-2011 10:25 AM
Hi All,
I have a background method in workflow which calles a report. Actually the report calles smartforms and I am storing OTF data on application server. I am not displaying the print preview. I am just stroring the OTF data on application server.
When I explicitely execute the report from SE38 in background (using F9) file is getting generated on application server. But when I call this report from method of a workflow, method execution remains in process. And file is not generated.
I have used the RETURN statement while calling it from workflow method. What could be the reason for this??
Thandks in advance,
Neha Yeralkar.
Hi,
Please check the autometic customization through SWU3. All green or not.
Here RFC desitnation must be configured properly.
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-
Can you check the container values in the workflow log. Is the values are same, as if you run the method in foreground. Does the issue happens only for this background method or If all the background methods are having issue, if yes, check with the background user id WF-BATCH (like full authorisation or locked...)
Vinoth
Hi,
Calling transaction and Submit programs are usually reserved for dialog methods, where essentially all the workflow needs to do is take the agent to the transaction or program where the user can complete the business activity. For background methods usually call function modules or BAPIs are used where the business activity is performed automatically without any user involvement. Moreover it will help you in handling exceptions returned from Function modules. Also define the method exception explicitly based on the exceptions of FM, inorder to track it down if it occurs.
Regards, Saud
Hi,
when a background workitem remains in process then usually a short dump occurred.
Just check St22 to further the investigation.
Kind regards, Rob Dielemans
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.