Using Web Services for Units of Measure and Currency

Use

The following topic describes the Web services which can be used to update and synchronize the available database content for Units of Measure (UoM) and Currency on the AS Java part of your SAP NetWeaver.

The Web services are implemented on the AS ABAP of SAP NetWeaver and modeled as service interfaces in Enterprise Services Repository (ES Repository).

In order to consume them on the AS Java, you need to access the service Interfaces in ES Repository (using their WSDL definitions) and to generate Web service proxies.

For more information, about this process see:

Creating Web Service Proxies

Importing WSDL Documents in the SAP NetWeaver Developer Studio

Importing a WSDL Document from Enterprise Services Repository

Finding the Web Services in the ES Repository

  1. Configure your SAP NetWeaver Developer Studio to connect to ES Repository , so you can import the services' WSDLs, as described in the link above.

  2. Make sure you have the correct credentials to log on into ES Repository and then to import the services by browsing to their location.

  3. Keep in mind the location of the three service-interfaces:

    • System version: Software Component Version SAP_BASIS 7.31

    • Namespace: http://sap.com/xi/SEA/MetaData

    • Names:

      • Currencies\CurrencyQueryResponse_In

      • UnitsOfMeasure\DimensionCodeListQueryResponse_In

      • UnitsOfMeasure\UnitOfMeasureQueryResponse_In

  4. You can use the following short descriptions for general guidance:

    • CurrencyQueryResponse_In-returns from the backend customized currencies with language dependence

    • DimensionCodeListQueryResponse_In-returns from the backend customized dimensions with language dependence

    • UnitOfMeasureQueryResponse_In-returns from the backend customized unit of measures with language dependence.