Creating a Back-End Adapter
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
-
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 .
-
Select an adapter type and choose Add . Currently, the only supported adapter type is BAPI WRAPPER ADAPTER.
-
In the Adapter Name section, enter CUSTOMER .
-
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.
-
Select the Default Adapter indicator.
-
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
-
Leave the Get Attachments group box empty because the Customer data object does not use any attachments.
-
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.
-
Save your entries.
-
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.
-