Show TOC

Adjusting Web Service Adapters and Data ObjectsLocate this document in the navigation structure

Use

You can make changes to data objects before the software component version (SWCV) is released for shipment. These changes are applicable only in the development system, where the loss of data is considered to be negligible.

However, once the SWCV is released for shipment, you can make only compatible changes to the data objects. For the changes to be reflected in the data object, the updated proxy has to be imported again to the Web services adapter.

Prerequisites

You have created a Web service adapter.

More information: Creating Web Service Back-End Adapters

Procedure

1. Modify the Web Services Description Language (WSDL)

Once the SWCV is released for shipment, only compatible changes can be made to the data objects.

You can add elements of simple and complex types to an Object data type in the WSDL. This corresponds to adding a new field and node to the data object respectively.

2. Regenerate the Proxy

For the WSDL updates to be reflected in the data object, you need to regenerate the proxy manually.

More information: ABAP Proxy Generation - General Procedure

3. Adjust the Web Service Adapter

The changes made to the WSDL have to be mapped to the data object. Hence you need to adjust the existing Web service adapter.

  1. Log on to the SAP NetWeaver Application Server.

  2. Start transaction sdoe_wb .

  3. Search the SWCV to which the Web service adapter has been assigned.

  4. Select the Web service adapter.

  5. Choose Adjust Adapter and Data Object .

4. Add Back-End Key Fields

  1. Navigate to the data object that has been changed.

  2. Assign the necessary BE Key Field for the fields present in the Root and Child nodes.

  3. Choose Explicit Key Mapping .

    More information: Explicit Key Mapping

5. Activate the Data Object and Web Service Adapter

You need to manually activate the data object and Web service adapter.

  1. Select the data object node from the Object navigation pane.

  2. From the Data Object menu, choose Activate .

    The data object is activated.

  3. Select the Web service adapter from the Object navigation pane.

  4. From the Adapter menu, choose Activate .

    The Web service adapter is activated.