cancel
Showing results for 
Search instead for 
Did you mean: 

Approve/Reject Workflow Form Steps Through ABAP Code

sjain3108
Explorer
0 Kudos

Dear Experts,

I have a typical requirement of processing Workflow Form Step through Function Module. In the past, I have used various WAPIs available for WorkItems but in this scenario those are of no use as those work only at WorkItem level and not with the form screen.

I could not find any relevant WAPI or function module which can help me in Approving/Rejecting the form step of workflow.

Any inputs to achieve the above requirement will be of great help.

Regards,

Shaurya

Accepted Solutions (0)

Answers (2)

Answers (2)

anjan_paul
Active Contributor
0 Kudos

Hi,

If it is a Form step, then use SAP_WAPI_WORKITEM_COMPLETE. To change the decision container use

SAP_WAPI_WRITE_CONTAINER .

Thanks

sjain3108
Explorer
0 Kudos

Dear Experts,

Any input will be of great help.

Thanks.