on 03-27-2007 3:01 PM
Hi experts,
I am using the custom leave approval workflow with UWL launching a web dynpro screen..
i am able to launch the approval dynpro screen for the approver from the UWL.
when the approvers approves or rejects on the dynpro screen
first iam updating the status in the SWXFORMABS table then
1) iam reading the task container by passing work item id. (using SAP_WAPI_READ_CONTAINER fun module).
2) i am modifying the contianer element (_WI_RESULT) with 'A' or 'R' status.
and then iam writing back the modified container using the SAP_WAPI_WRITE_CONTAINER fun. module.
3) then to complete the task i am using the SAP_WAPI_WORKITEM_COMPLETE fm.
<b>My problem is the write FM is not writing back the contianer and the workflow does not proceed further ???
When i debug also the return code of WRITE fm is zero and even in the workflow log it shows the SAP_WAPI_WRITE_CONTIANER sucessful and workitem complete is succesful but it shows the WIRESULT field as empty.</b>
what could be the problem.????
please hlp me...
helpful answers will be appreciated...
Message was edited by:
sateesh kumar
Any clues??????
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry I haven't used your scenario before. I commented because I ended up reading the same question I couldn't answer for a second time, along with 20 others.
I usually use either events or the standard setup using WF_HANDCUST to send data back to the WF from a webservice. Does this not work for WD services? Other than what you've done looks right. Sorry I can't be of more help.
Cheers,
Mike
Sateesh,
You posted the same question yesterday, could you please close one of them. If you have more info then please add it to the same question rather than asking the same thing again.
The reason is simple: it gets confusing, more so when different people respond to different threads about the same q.
Cheers,
Mike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.