cancel
Showing results for 
Search instead for 
Did you mean: 

maximum number of items in modify bapi

Former Member
0 Kudos

Hi,

I created a SyncBo with GETLIST, GETDETAIL and MODIFY Bapis, which have the following structure:

function z_test_getlist.

*"----


""Local Interface:

*" IMPORTING

*" VALUE(USER_ID) TYPE ZBAPI_USER-USERID

*" TABLES

*" RETURN STRUCTURE BAPIRET2 OPTIONAL

*" EXP_TAB STRUCTURE ZBAPI_HEADER OPTIONAL

*"----


function z_test_getdetail.

*"----


""Local Interface:

*" IMPORTING

*" VALUE(CNR) TYPE ZBAPI_HEADER-CNR

*" EXPORTING

*" VALUE(EXP_ST) TYPE ZBAPI_HEADER

*" TABLES

*" T_010 STRUCTURE ZBAPI_ITEM010

*" OPTIONAL

*" T_020 STRUCTURE ZBAPI_ITEM020

*" OPTIONAL

*" T_030 STRUCTURE ZBAPI_ITEM010 OPTIONAL

*" RETURN STRUCTURE BAPIRET2 OPTIONAL

*"----


function z_test_modify.

*"----


""Local Interface:

*" IMPORTING

*" VALUE(IMP_ST) TYPE ZBAPI_HEADER

*" TABLES

*" T_010 STRUCTURE ZBAPI_ITEM010

*" OPTIONAL

*" T_020 STRUCTURE ZBAPI_ITEM020

*" OPTIONAL

*" T_030 STRUCTURE ZBAPI_ITEM010 OPTIONAL

*" RETURN STRUCTURE BAPIRET2 OPTIONAL

*"----


My problem is, that on the mapping screen of the SyncBO I can only see the first two items in the tables node of the modify bapi.

Does anybody know, if there is a maximum number of items I can put in a modify bapi? The mapping structure of the getdetail, where I also use all three items, is fine. I can see all three items there.

Any idea?

thanks,

Anika

Message was edited by:

Anika Pfefferle

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Anika,

As per my knowledge is concerned there is no limit top the number of child items to a header table.

It can be 'N no. of child tables to a header table.

while creating bapi wrappers using bapi wrapper wizard.....mention the header table along with the child table ..so that the bapi interface is generated properly and then incluse these BAPIs to the sync bo...

Make sure that the GETDETAIL nad GETLIST bapis are mapped properly in syncbo design..

Try this.

Cheers,

Karthick

Former Member
0 Kudos

Hi Anika,

I'm not sure if there is a limit, but three is possible, as I'm already created a SyncBo with about 6 itens.

Check if you have mapped fields you want to change in GETDETAIL before. You can only map MODIFY itens if you selected them on GETDETAIL.

Regards,

Rogério