SAP Knowledge Base Article - Public

3836834 - API_PRODUCT_AVAILY_INFO_BASIC / API_PRODUCT_AVAILY_INFO returns different ATP quantity than Monitor Product Availability

Symptom

When using API_PRODUCT_AVAILY_INFO_BASIC / API_PRODUCT_AVAILY_INFO the ATP quantity in the response differs from the ATP cumulative quantity shown in the Monitor Product Availability app.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Run API_PRODUCT_AVAILY_INFO_BASIC for a given material and plant to retrieve ATP availability.
  2. Open the Monitor Product Availability app for the same material and plant and note the ATP cumulative quantity.
  3. Compare the API response with the app’s ATP cumulative quantity.
  4. Observe that the API’s ATP quantity differs from the app’s displayed value.

Cause

API_PRODUCT_AVAILY_INFO_BASIC / API_PRODUCT_AVAILY_INFO calculates availability by considering the requested quantities of all open requirements (as if all requests will be confirmed), which differs from the ATP cumulative quantity shown in the Monitor Product Availability app, which is based on confirmed quantities at the default setting.

Resolution

If you need the ATP quantity calculated based on the confirmed quantity, please use API_AVAIL_TO_PROMISE instead.

See Also

Two APIs to retrieve availability information

Keywords

API_PRODUCT_AVAILY_INFO_BASIC, API_AVAIL_TO_PROMISE, ATP, Monitor Product Availability, discrepancy, mismatch, requested quantity, confirmed quantity, availability timeline, Product Availability Check, order promising, stock API, S/4HANA Cloud Public Edition, cumulative ATP, info API , KBA , CA-ATP-PAC-2CL , ATP: Product Availability Check (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions