SAP Knowledge Base Article - Public

3806363 - The custom logic SD_SLS_MODIFY_HEAD_TAX Not Triggered When Calling the Sales Price – Retrieve API - SAP S/4HANA Cloud Public Edition

Symptom

When calling the Sales Price – Retrieve API, the custom logic SD_SLS_MODIFY_HEAD_TAX is not triggered, and as a result, the target tax condition is not determined as expected. 

Environment

SAP S/4HANA Cloud Public Edition

Cause

The Sales Price – Retrieve API executes pricing in billing document simulation mode, in which the sales order header BAdI SD_SLS_MODIFY_HEAD_TAX is not called.

This may result in missing or inconsistent tax condition determination. 

Resolution

As a workaround, consider maintaining dedicated tax condition records for the relevant scenario to ensure that tax is determined directly during the API pricing run, without relying on a sales order header BAdI override.

See Also

Keywords

SalesPriceRetrieve, API, tax determination, Billing Simulation, SD_SLS_MODIFY_HEAD_TAX. , KBA , SD-BF-PR-2CL , Pricing (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions