cancel
Showing results for 
Search instead for 
Did you mean: 

Web service for quantities and units of measure

0 Kudos

Hi,

Could someone please advise what web service is available for obtaining Units of measure. The below quantities and units of measure is available in business configuration -> Fine tuning?

Kind Regards,

Deepthi

Accepted Solutions (0)

Answers (1)

Answers (1)

knutheusermann
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Deepthi,

you can use web service QueryCodelistIn. It doesn't give you all details, but the code and the description. In the blog post below I described some examples using this web service:

xml snippet for your use case:

<n0:CodeListByIDQuery_sync xmlns:n0="http://sap.com/xi/SAPGlobal20/Global">

  <CodeListSelectionByID>

   <SelectionByCodeDataType>

    <Name>MeasureUnitCode</Name>

    <NamespaceURI>http://sap.com/xi/AP/Common/GDT</NamespaceURI>

   </SelectionByCodeDataType>

   <SelectionByLanguageCode>EN</SelectionByLanguageCode>

  </CodeListSelectionByID>

</n0:CodeListByIDQuery_sync>

Regards,

Knut