cancel
Showing results for 
Search instead for 
Did you mean: 

Sync Bo

Former Member
0 Kudos

HI All,

Can any body explain me What is SyncBo and what is BAPI Wrappers, If it possible send me Screen shots plz.

Thanks&regds,

Srinivas.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

SyncBOs are mobile data objects representing the real world objects. For ex. Sales Order object in the backend could be represented as a Sales Order SyncBO with header and items. Header can be the header data from backend and items can the item data like schedule lines, partners etc.

BAPI wrappers are function modules that are called whenever an operation is performed on SyncBOs. These could be create modify or delete. These are called BAPI wrappers since these BAPIs wrap around existing standard BAPIs since MI has certain guidlines regarding the input and output of data.

Thanks..

Preetham S

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Srinivas,

first a copy of the documentation from SAP:

A SyncBo is a data repository object representing a business object. It has the following parts that are accessible thru the provided methods:

- a default head or top row

- an optional body data that could be composed of multiple instances of Row objects.

Lets see it in more detail with an example. Lets say you have an order object with some books you like to order. Table A contains the header of an order. The receiver, the order number, the date of the order. Table B contains the books. One order has only one row in table A but several rows in table B can have a reference to this row of table A. This means, a person has ordered several books.

Ok, the SyncBO reflects this structure on the client. A SyncBO takes care of the synchronization. So only the data is on the device, that is relevant. New items and modifications will be send to the backend... A Sync process takes care of that handling and you do not have to do something else to be sure that the most actual data is on the device.

The BADI is the part on the backend, that handles all tis handling. For a basic SyncBO, GETLIST and GETDETAIL handlers are mandatory. These take care for what data is on the device. The GETLIST handler delivers all relevant keys, with the GETDETAIL you get the details for each key.

If you have only these two badis, CREATE, MODIFY and DELETE are not allowed on the device.

Furthermore there are several types of SyncBOs, like T51, T01... This type shows you, how the data will flow between backend and middleware.

Well, it makes sence to have a look into the MDK and the various examples here in SDK.

Hope this helps you to get a better understanding and a start into MI.

Regards,

Oliver

chinna_babu2
Active Participant
0 Kudos

Hi Srinivas,

SyncBOs are the backend Business Objects resides in the middle ware, and will be invoked during synchronization with MI client.

You can find the list of SyncBOs at MEREP_SBUILDER.

Please look at the below links for SyncBOs and BAPI Wrappers

/people/community.user/blog/2007/05/28/approach-to-mobilise-non-sap-application-using-sap-mi--step-final-creation-of-syncbo-and-viewing-the-data-in-merepmon

/people/community.user/blog/2007/05/28/approach-to-mobilise-non-sap-application-using-sap-mi-step-3-creation-of-bapi-wrappers

Regards,

Chinna.