SAP Knowledge Base Article - Public

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

Symptom

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.

 
 

Environment

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.

Cause

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

Resolution

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 

Keywords

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

Product

SAP S/4HANA Cloud all versions