SAP Knowledge Base Article - Public

3112619 - The BAdI has been implemented but the sales document workflow is still not triggering

Symptom

We have implemented BAdI SD_APM_SET_APPROVAL_REASON, yet no approval reason is assigned to the sales document.

Environment

  • Sales and Distribution (SD)
  • SAP S/4HANA Cloud All versions 

Cause

If a condition has been coded into the BAdI using a sales document type such as Standard Order or Quotation, the system is expecting the non converted document type; i.e. the German sales document key.

Resolution

Consider the following document types which may contain a different key depending on the language used. Below is the list of German (non-converted) keys:

AG Quotation
G2 Credit Memo Request
L2 Debit Memo Request
TA Standard Order

Alternatively, you could write the values to a message to confirm that the condition is setup correctly.

Keywords

TA, OR, OVA3, convert, TDS_BD_SD_APM_HEAD, SALESDOCAPPROVALREASON, SALESDOCUMENTTYPE, SALESDOCUMENT , KBA , SD-SLS , Sales , SD-SLS-2CL , Sales (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions