How to execute an workitem of activity of R3 workflow by BAPI?
There are several kinds of step in R3 workflow, for example,decision step and activity step. for decision step, there are BAPIs like AP_WAPI_RESERVE_WORKITEM and
SAP_WAPI_DECISION_COMPLETE can execute the workitem. But how to handle it if it is an workitem of activity step? And activity step may have different outcomes which is defined in R3 workflow, how to execute the workitem and let the workflow go to different outcomes?
I noticed there are two BAPIS SAP_WAPI_EXECUTE_WORKITEM AP_WAPI_REJECT_WORKITEM, what are they do and what the usage of them?
Thank you very much!