Symptom
When creating a sales order, an error message appears upon clicking the "Save" button: "Reason &1 for approval requests not allowed for document category 'Order'" (Message no. V2471).
Environment
SAP S/4HANA Cloud Public Edition
Cause
One of the reasons for this issue is that when using pure numbers as the approval reason, leading zeros are added to the "salesdocapprovalreason" in the BAdI SD_APM_SET_APPROVAL_REASON.
Resolution
Remove the leading zeros from the "salesdocapprovalreason" in the BAdI SD_APM_SET_APPROVAL_REASON.
Keywords
SAP S/4HANA Cloud Public Edition, Reason &1 for approval requests not allowed for document category 'Order', Reason, Approval reason, Error, V2471, Custom logic, BAdI, SD_APM_SET_APPROVAL_REASON, salesdocapprovalreason, Leading zero, Zero, Remove, Sales order, Order, pure number, Number, Pure , KBA , SD-SLS-WFL-2CL , Approval Workflows (Public Cloud) , Problem
SAP Knowledge Base Article - Public