cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Approve or Reject using Function Module

Hvshal4u
Active Participant
0 Likes
6,851

Hi ,

I want to approve or reject the workitem using UI5. The backend process is already set it has workflow for the same.

The workflow looks exactly like this : https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=68644

The Worlflow consultant have used the Form for approve or reject. Now I want achieve this using the FM : SAP_WAPI_DECISION_COMPLETE

But the issue is when I pass the workitem ID to this FM it say that it don't have decision key.

Kindly suggest a way where I can Approve or Reject using Function Module.

Thanks

Vishal

View Entire Topic
Hvshal4u
Active Participant
0 Likes

Thanks Pavan ,

Yes, Pavan you are right is is not a decision step.Instead they call a module pool in that module pool the user takes the decision.

If you go through this link : https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=68644

you will get a correct idea.

Can u please suggest how can I achieve this using function module.

Thanks,

Vishal