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: 

Problem with BAPI_PO_CHANGE and extensionin

Former Member
0 Kudos

Hello,

I have problem with update custom z-field by using BAPI_PO_CHANGE,

1) I added z-field to BAPI_TE_MEPOITEMX, BAPI_TE_MEPOITEM and BAPI_TE_MEPOHEADERX, BAPI_TE_MEPOHEADERstructure

2) I implemented code attached below:

3) BADIN Method IF_EX_ME_BAPI_PO_CREATE_02~MAP2I_EXTENSIONIN was implemented to map z-field

And still Po document cannot be changed with new values, have any idea why?

Best regards

Mateusz

2 REPLIES 2

Former Member
0 Kudos

hi,

I donot understand why you implemented BADI ME_BAPI_PO_CUST . will you please post the code in that method.

Raj

Message was edited by: Raj patel also check the errors return in lt_returns. Post the out put in that table

0 Kudos

Hello Raj,

We did figure out what was wrong. Custom field was overritten by wrong implementation in userexit EXIT_SAPMM06E_018 which does not check sy-tcode.

Now everthing works perfectly.