‎2021 Jul 03 10:14 PM
Hello,
My goal: Workflow - I have blocked Invoice(PO's Purchase Order History tab in ME22N tx.) number with me and trying to find out for whose approval its waiting to release? In other words, currently in whose workflow inbox the Invoice is waiting for action?
In similar scenario but for a PO doc, I used the FMs 'SAP_WAPI_WORKITEMS_TO_OBJECT'(with BUS2012) and
'SAP_WAPI_GET_WI_AGENTS' I got the same info about the currently waiting workflow approver name.
But for Invoice when I used the same FM 'SAP_WAPI_WORKITEMS_TO_OBJECT' with BUS2081 then the FM is not returning any results!
Pl. let me know how to get my goal that how can I get the workflow details for an Invoice in question? If its the FM 'SAP_WAPI_WORKITEMS_TO_OBJECT' then what BUS BO i have to pass to this FM?
Thank you
‎2021 Jul 04 1:07 AM
Go to the t-code "SWIA" and give the selection criteria for your workitem and execute. Check the log of the workflow and find out the agent of the current task.
Thanks,
Gourab
‎2021 Jul 04 1:07 AM
Go to the t-code "SWIA" and give the selection criteria for your workitem and execute. Check the log of the workflow and find out the agent of the current task.
Thanks,
Gourab
‎2021 Jul 04 1:59 AM
Thank you but I need to get it in my ABAP report, also I have only one info i.e. Invoice #, I don't have work item ID.
I need to develop a report, the available info is invoice # and display all the approvers in ALV
‎2021 Jul 04 2:06 AM
Check out the below link for tables. Check out the table "SWWUSERWI". Also, check out the other relevant table from the table section of the list.
SAP WORKFLOW TCODES AND SAP WORKFLOW TABLES
Thanks,
Gourab