SAP Knowledge Base Article - Public

3190538 - Custom Logic Tracing for Workflow BAdis Purchase Orders and Purchase Requisitions


You are using the App Custom Logic tracing , when you create a Purchase Order or Purchase Requisition , the approval processed is not saved on the trace.



SAP S/4HANA Cloud 2202

Reproducing the Issue

Custom Logic Tracing App

Start a Trace 

Create A PO

Finish the Trace

Go to the details, the BADIS of workflow scope are not listed.


The workflow BADIs are called by the Workflow User, not by the Purchaser User who is creating the PO


You  need to trace  the user SAP_WFRT for BADIs called by workflow , the trace for the PO creator user will not show the results of workflow BADIs.

See this screenshot , you need to trace for the SAP Workflow User:

You can check all the documentation to the App in; Tracing APP 


KBA , MM-FIO-PUR-PO-WFL , Purchase Order Workflow , MM-FIO-PUR-REL , Fiori UI for Purchasing Approval , Problem


SAP S/4HANA Cloud all versions