Skip to Content
avatar image
Former Member

Problem with decision making in UWL

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Oct 11, 2007 at 01:48 AM

    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

    Add comment
    10|10000 characters needed characters exceeded