Application Development and Automation 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: 

BAPI_PO_CREATE1 EXTENSIONIN limitation

former_member277111
Participant
0 Kudos
2,644

Hello,

In EXTENSIONIN of the BAPI_PO_CREATE1 there are 4 components, value parts 1 to 4 with total of 960 characters (4 x 240).I counted the number of characters in structure BAPI_TE_MEPOHEADER and we've more than 2000 characters in this structure (we've lots of customer fields). Am I correct to assume, I can't use this BAPI to update the customer fields since we've more characters that is allowed in the EXTENSIONIN?

Thank you,

1 ACCEPTED SOLUTION

nomssi
Active Contributor
1,996

EXTENSIONIN is an internal table, so you can split the customer data in as many blocks as needed for your use case. However you will have to design a custom extension structure for each block and implement logic to handle the block in the ME_BAPI_PO_CUST BAdI.

regards,

JNN

3 REPLIES 3

Ryan-Crosby
Active Contributor
1,996

Hi Farshad,

Correct, unless you make some type of modification to the dictionary structure to accommodate. Anything beyond the 960 characters provided would be unavailable for update with some type of change.

Regards,

Ryan Crosby

nomssi
Active Contributor
1,997

EXTENSIONIN is an internal table, so you can split the customer data in as many blocks as needed for your use case. However you will have to design a custom extension structure for each block and implement logic to handle the block in the ME_BAPI_PO_CUST BAdI.

regards,

JNN