07-11-2012 10:08 AM
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
07-12-2012 3:08 PM
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
07-13-2012 10:35 AM
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.