Hello Experts,
I have some issues while updating the custom fields of PO item through BAPI_PO_CHANGE. I have extended those fields to CI_EKPODB and CI_EKPODBX structure.
I have added my logic of PO update inside the method CLOSE of BADI ME_PROCESS_PO_CUST. After the BAPI_PO_CHANGE is called where I have passed the details in of custom fields in EXTENSIONIN table where I am passing them through structure BAPI_TE_MEPOITEM & BAPI_TE_MEPOITEMX and in value part I am passing the value in proper offset. After this I have called BAPI_TRANSACTION_COMMIT. BAPI is executed successfully and it is not returning any error but some warning like partner role missing. But as I said this is a warning only. After execution when I check the EKPO table,custom fields are not updated there.
When I run this BAPI standalone through SE37 in same way, It is not throwing any error but instead of updating the custom fields, it is deleting the existing custom fields also.
Do you guys have any idea how to fix the issue ????
Thanks & Regards,
Nirmal Deep Singh