Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Maximum field length allowed in BAPIPAREX extension for BAPI_PO_CREATE1. exceeding 960 character

idrisahmed
Participant

Hi All,

I have a requirement to populate values in CI_EKKODB custom structure for EKKO table using BAPI_PO_CRETE1. i am passing data in extensions table but total length allowed in extension structure is (240 + 240 + 240 + 240 = 960) and my total CI_EKKODB character length is 1130.

is there any way to increase the length of BAPIPAREX to 1130 character or any suggestion how to add more than 960 character data in ekko custom fields using bapi extension and update all the fields in ekko.

Regards,

Idris.

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos
"The reference structures BAPIPAREX or BAPIE1PAREX for the BAPI parameter  EXTENSIONIN or EXTENSIONOUT of the BAPI methods are limited to 960 (structure BAPIPAREX) or 949 (structure BAPIE1PAREX) characters for the data part of the BAPI extension parameter. This size cannot be extended for compatibility reasons."

Did you try to create your own extension structures, with the fields over the 960 limit, e.g. some ZBAPI_TE_MEPOHEADER[X] structures, and manage those structures in either Customer Exit EXIT_SAPL2012_001 of enhancement SAPL2012 or method MAP2I_EXTENSIONIN of BAdI ME_BAPI_PO_CUST of Enh Spot ES_BADI_ME_BAPI.

2 REPLIES 2

raymond_giuseppi
Active Contributor
0 Kudos
"The reference structures BAPIPAREX or BAPIE1PAREX for the BAPI parameter  EXTENSIONIN or EXTENSIONOUT of the BAPI methods are limited to 960 (structure BAPIPAREX) or 949 (structure BAPIE1PAREX) characters for the data part of the BAPI extension parameter. This size cannot be extended for compatibility reasons."

Did you try to create your own extension structures, with the fields over the 960 limit, e.g. some ZBAPI_TE_MEPOHEADER[X] structures, and manage those structures in either Customer Exit EXIT_SAPL2012_001 of enhancement SAPL2012 or method MAP2I_EXTENSIONIN of BAdI ME_BAPI_PO_CUST of Enh Spot ES_BADI_ME_BAPI.

idrisahmed
Participant
0 Kudos

Hi Raymond,

Thank you for the reply. for now, manage to keep only important fields to keep length till 960 characters. if it exceeds in future for requirement I will try your solution.

Regards,

Idris Ahmed Khan.