Background task executing but not executing method properly

arghadip kar arghadipkar at yahoo.com
Fri Oct 23 14:43:05 EDT 2009


Hi
I am facing a strange issue. I have created a custom method of a BO which has been delegated to standard BO BUS2032. This method actually locks the Sales Order. When I execute this method from Business Object it executes perfectly. When I try to execute this methd from a background task it gets completed but the sales order is not locked. I am using Function Module ENQUEUE_EVVBAKE to lock the entry. This does not work when I execute in background. I have also check WF-BATCH and it has all the authorization SAP_ALL. Another thing that I have done I have added a flag which should return X if the Function module returns sy-subrc = 0. This flag also gets set though the document is not locked. When I lock this transaction code manually and execute the background task this flag is not set. This is clear there is no issue with binding. Can anyone throw some lights on this. It seems that the WF-BATCH is not able to execute this method. I have checked SWU3 and it
 is properly configured. Thanks a lot in advance.

Thanks

Arghadip Kar

SAP Workflow Expert

IBM INDIA


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20091023/6c3d1813/attachment.htm


More information about the SAP-WUG mailing list