Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

RFC to update/ reject work flow

Hi Experts,

Is there any RFC/ FM to approve or reject the work flow?

I am using SAP_WAPI_DECISION_COMPLETE, with following inputs:

WORKITEM_ID <000000665113>


USER  = <user id>

DECISION_Key  = 0001


It gives:

return code = 2

message line: M = E, line =     Work item 000000665113 is not a user decision

Message structure

MSGID                M            MSG        MSGV1

SWR                  E                 205           000000665113

Where am I going wrong? Need help.

It shows  ready status after execution at SWIA.

Is there an alternative?



Former Member

Hi Ritu

the workitem you are trying to end is not of type USER DECISION. It may be a workitem of type dialog. See how it actually ends in the way of terminating events? or the users just open it and close and then it completes?

You can try using SAP_WAPI_WORKITEM_COMPLETE ... but after knowing fully how the WI is handled in the actual WF.



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question