on 2020 Jun 18 11:00 AM
Hi all,
I'm currently investigating an issue where a PO is created in SRM and sent to ECC via BAPI_PO_CREATE1 (classic extended scenario), but although the addresses are sent from SRM in the structures (I can see this in the data captured using FBGENDATA), the PO itams in ECC are created with the plant delivery address assigned to them, i.e. it ignores the delivery address on the line items coming from SRM and sets the default plant address.
I can't see any config anywhere and I have tried debugging the BAPI using the test data. It also seems to be doing the same for PO changes from SRM (BAPI_PO_CHANGE) and also for requisitions coming from SRM (BAPI_REQUISITION_CREATE) which leads me to think there's a "setting" somewhere or possibly a BADI?
The backend has been recently updated from EHP6 to EHP8 and according to the functional person this used to work before the upgrade, so something must've changed but I can't put my finger on it.
Any suggestions or hints are welcome.
Thanks
Dion
Request clarification before answering.
Turns out the cause of this issue was not the BAPI or the transfer between SRM and ECC, this was an issue in ECC resolved by note 2894455.
https://launchpad.support.sap.com/#/notes/2894455
Regards
Dion
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Laurent.
The address is already coming across from SRM as I can see it while debugging in table poaddrdelivery, so not sure why this needs to be mapped again? When I run the FM in SE37 test mode using data generated by fbgendat I can see the addresses from SRM in the BAPI structures and they are being "processed", however, ECC still seems to ignore it and set an address number on the items from the plant.
Regards
Dion
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Dion,
please check SRM BAdI BBP_ECS_PO_OUT_BADI (changing parameter ct_bapi_poaddrdelivery from method BBP_B46B_PO_OUTBOUND) and ECC BAdI BBP_PO_INBOUND_BADI (changing parameter bapi_poaddrdelivery from method BBP_MAP_BEFORE_BAPI).
They should be able to meet your need.
Regards.
Laurent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.