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: 

BAPI_PO_CREATE1 - EXIT_SAPL2012_001

Former Member
0 Kudos
620

Hello people,

For purchase order, I´m trying to save customer data in EXIT_SAPL2012_001 of the BAPI_PO_CREATE1.

To do this, I´m doing:

- I create a local variable poitem_ext type bapi_te_mepoitem.

- move some data from poitem to poitem_ext.

- Transform the poitem_ext structure in a string.

- Cut the string in slices of 240 chars to put in extensionin table.

I did it for 'BAPI_TE_MEPOITEM' and 'BAPI_TE_MEPOITEMX.

But when running BAPI_PO_CREATE1 to create the ORder, it can be generated, but our customer fields are not there.

What can be wrong?

Thank you!

1 REPLY 1

Former Member
0 Kudos
103

I had to implement ME_BAPI_PO_CUST method map2i_extensionin.