SAP Knowledge Base Article - Public

3220710 - Error Occurs when Accessing Standard API ProductAvailabilityDeterminationIn


You access standard web service - ProductAvailabilityDeterminationIn and would like to see in result quantity from stock overview but facing an error message as below
"Combination of product XXX and planning area YYY not valid."



Reproducing the Issue

Request XML:

 n0:ProductAvailabilityDeterminationQuery_sync xmlns:n0="">


In the request XML, ConsiderScopeOfCheckIndicator indicator is 'true' meaning all the products in the request XML should have an availability scope maintained. If not, the error "Availability confirmation mode for product <product> not maintained " will be raised.

The mentioned issue would only occur when any of the product/SPA combination in the request XML do not have an availability scope maintained when scope of check tag in the request XML is true.


In order to add availability scope, steps are as follows;

  1. Navigate to Product Data - Materials View
  2. Search and Edit Product
  3. Go to Availability Confirmation Tab
  4. You will find that the "Availability Check Scope" is blank, this needs to be filled.

In order to maintain availability confirmation combination;

Follow steps 1 through 3.

Add Product XXX and maintain the required planning area YYY mentioned in the error message "Combination of product XXX and planning area YYY not valid".


ProductAvailabilityDeterminationIn;   Availability Confirmation;  Combination;  Availability Check Scope , KBA , AP-SDM-SPR , Supply Planning Requirement , Problem


SAP Business ByDesign 2022