cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with decision making in UWL

Former Member
0 Kudos

Hi All,

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.

Regards

DK

Accepted Solutions (0)

Answers (1)

Answers (1)

raja_thangamani
Active Contributor
0 Kudos

You can use SAP_WAPI_DECISION_COMPLETE to make a decision. But make sure that workitem is executable.

Look at my blog how to execute workflow from web. The blog for BSP but same ABAP code will work for webdynpro also.

Look at OnInputProcessing in Page called decision in that blog.

<a href="/people/raja.thangamani/blog/2007/03/27/bsp-with-workflow-part-i With Workflow: Part -I</a>

Raja T

Message was edited by:

Armin Reichert