SAP Knowledge Base Article - Public

2879008 - Description for Volume 'VolumeUnit desc' is missing when calling the API API_PRODUCT_SRV with the Method GET

Symptom

  •  The Description for Volume 'VolumeUnit desc' is missing when calling the API API_PRODUCT_SRV with the Method GET (  API_PRODUCT_SRV/A_Product('PRODUCT')/to_ProductUnitsOfMeasure )
  •  In the SAP API HUB , the documentation for API API_PRODUCT_SRV/A_Product/to_ProductUnitsOfMeasure shows that in section $orderby 'VolumeUnit desc' is included but the section  $select the field  'VolumeUnit desc' is not .

Environment

  • SAP S/4HANA Cloud
  • Master Data

Cause

The field Volume Unit description is not exposed in A_Product/to_ProductUnitsOfMeasure API OData.

In the API documentation for $orderby, "desc" means Descending and not Description.

Please refer to the link https://www.odata.org/documentation/odata-version-2-0/uri-conventions/ for more information on order by clause in OData.

Resolution

System works as Designed.

Keywords

KBA , LO-MD-MM , Material Master , LO-MD-FIO-MM , Fiori UI for Product Master , Problem

Product

SAP S/4HANA Cloud all versions