Unable to complete webservice task
Crane, Jacob
JTCe at pge.com
Mon Feb 13 13:06:15 EST 2006
As a follow-up, I was able to complete the workitem by using
SAP_WAPI_CREATE_EVENT after manually setting the object key to the
workitem ID. Is there a function that can be used to set the key of an
object in the container? I tried SAP_WAPI_WRITE_CONTAINER but could
only inset a new container element with the name of my object.
Thanks,
Jacob
________________________________
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Crane, Jacob
Sent: Friday, February 10, 2006 3:45 PM
To: sap-wug at mit.edu
Subject: Unable to complete webservice task
Hi,
I am using the webservice object to launch a BSP in the UWL and am
having difficultes getting the task to complete. This is on 4.7 with
WAS 6.20. I have tried to raise the WEBSERVICE.COMPLETED event with
SAP_WAPI_CREATE_EVENT but cannot because my webservice never
instanciates (at least when I look at the container).
SWK_WI_COMPLETE_WITH_EVENT returns the message "Work item 000000734457
could not be accepted" with error code 3, and I haven't had any luck
with setting the workitem to completed using SAP_WAPI_WORKITEM_COMPLETE
or similar functions for setting the status. I tried to use the
callback function, but haven't had any luck with that, either. Does
anybody have an idea of why I can't complete the webservice and what we
might be able to do about it?
Thanks for the help,
Jacob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20060213/a1e2358b/attachment.htm
More information about the SAP-WUG
mailing list