Show TOC

Creating a Back-End AdapterLocate this document in the navigation structure

Prerequisites

The required BAPI wrappers have been defined for the business data in the back end.

Context

Once the distribution logic has been defined, a back-end adapter must be defined for the individual data objects. This procedure is described using the Customer data object of this tutorial as an example.

Procedure


  1. Navigate to the data object for which you want to create the back-end adapter, for this tutorial the Customer data object, click the secondary mouse button and choose Create Back-End Adapter .

  2. Select an adapter type and choose Add . Currently, the only supported adapter type is BAPI WRAPPER ADAPTER.

  3. In the Adapter Name section, enter CUSTOMER .

  4. Select M IDDLEWARETRIGGERED as the synchronization type as the customer data does not change frequently and does not have to be loaded into the consolidated data store frequently, for example, only once a night. The synchronization must then be scheduled in the DOE at the required intervals.

    Note

    If you select BACK-END TRIGGERED as the synchronization type, the synchronization is triggered by the corresponding business object in the back-end system. In this case, enter the name of the back-end business object that triggers the synchronization. For this tutorial, this is the CUSTOMER business object.

  5. Select the Default Adapter indicator.

    Note

    This tutorial does not use any BAdI exits.

  6. In the BAPI Wrappers group box, enter the BAPI wrappers used for retrieving the data object data from the back end:

    Field

    Value (example)

    Get list

    ZINF_CUSTOMER_GETLIST

    Get detail

    ZINF_CUSTOMER_GETDETAIL

    Note

    The BAPI wrappers must have been defined beforehand.

    1. Leave the Get Attachments group box empty because the Customer data object does not use any attachments.

    2. In the Mapping Tool , select the tables for the individual data object nodes and map the fields to the corresponding fields in the Get Detail BAPI wrapper.

    3. Save your entries.

    4. Activate the back-end adapter.

    You have now finished modeling your project. The data objects can now be imported into the IDE for use in developing the mobile application.