Problem with decision making in UWL
I have configured the UWL and I am getting the work items in that. The idea is to launch a web dynpro applicaion which will help to make the decision. ie. to Approve and Reject.
The problem is I am not aware fo the correct FMs available in the R/3 which can resolve the issue.
I got to know one BAPI named "SAP_WAPI_DECISION_COMPLETE" but when I try to execute the FM it asks for the work item id which I pass along with the "Decesion Key" but after execution it gives an error message saying that the Work item 000000395178 is not a user decision.
Moreover I am not sure what to pass for the "Decesion Key".
As few of you might have got some experience on this I request you to throw some light and let me know which are the correct FMs which can be used for the Decision making in web dynpros.