Skip to Content
Creation of bapi wrappers

Check this below link to understand rules to be followed while creating bapi wrapper.
Bapi wrapper rules

Prior to the creation of bapi wrappers, create these structures in the MI system.

1. Create header structure(bapi wrapper) similar to header structure in proxy object.

a. Header structure generated by proxy. This has addional field called CONTROLLER.

image

b. Header structure created for bapi wrappers without CONTROLLER field.

image

2. Create ITEM1 structure(bapi wrapper) similar to ITEM1 structure in proxy object.

a. ITEM1 structure generated by proxy. This has addional field called CONTROLLER. image

b. ITEM1 structure created for bapi wrappers without CONTROLLER field.

image

3. Create ITEM2 structure(bapi wrapper) similar to ITEM2 structure in proxy object.

a. ITEM2 structure generated by proxy. This has addional field called CONTROLLER.

image

b. ITEM2 structure created for bapi wrappers without CONTROLLER field.

image

***********************************************************

Once the structures are created, bapi wrappers can be created as follows.

***********************************************************

1. Create a GETLIST1 bapiwrapper which inturn calls proxy class ZACO_ZPERS_DETL as shown below.

***********************************************
***********************************************

**************************************************
**************************************************

2. Create a GETDETAIL bapiwrapper which inturn calls proxy class ZACO_ZPERS_DETL as shown below.

**************************************************
**************************************************


**********************************************
**********************************************

3. Create a CREATE bapiwrapper which inturn calls proxy class ZACO_ZPERS_DETL as shown below.

**********************************************
**********************************************

**********************************************
**********************************************

4. Create a MODIFY bapiwrapper which inturn calls proxy class ZACO_ZPERS_DETL as shown below.

**********************************************
**********************************************

********************************************
********************************************

5. Create a DELETE bapiwrapper which inturn calls proxy class ZACO_ZPERS_DETL as shown below.

********************************************
********************************************

*******************************************
*******************************************

The next final blog “Approach to mobilise non-SAP application using SAP MI- Step 4 : Creation of syncbo and MEREP_MON”. *******************************************************

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply