I need to add email notification to WS20000077
workflow in SAP. All approvers should get an email notification when they have an internal approval request in the SAP inbox.
In the container there are only PurchaseRequisition
, which is of Object Type BUS2105
, and ReleaseCode
, which is of the ABAP Dict. Reference T16FC
field FRGCO
. I could not find anywhere the personal ID or any other information about the approver.
I tried to review what is in the container but could not get any information on the approver.
This step is performed in TS20000159
task. If you look into the container of this task, you'll find the "Agents"
table that should contain users assigned to this task.
To achieve your goal you can create a program exit for this step in the workflow:
IF_SWF_IFS_WORKITEM_EXIT
interface.EVENT_RAISED
method check that you are in after_create
event.IM_WORKITEM_CONTEXT->GET_WI_CONTAINER->GET