2015 Jan 27 5:35 AM
Hi Everyone,
I am trying to release purchase order using the bapi BAPI_PO_RELEASE ,while releasing the po the table CDHDR is not updated correctly (CDPOS table get updated correctly).Please help me to resolve this issue.
2015 Jan 27 6:50 AM
Hi Kiran
Is CDHDR being updated by a custom change or via Standard?
If via Standard then I would log this with SAP OSS.
Regards
Arden
2015 Jan 28 6:50 AM
Hi Arden ,
Thanks for the reply .
The Tcode Fields is not updated correctly , while using the bapi 'BAPI_PO_RELEASE'.
2015 Jan 28 7:08 AM
Hi Kiran
I'm not sure it's going to either as the BAPI can be called from anywhere.
Is CDPOS getting updated with the TCODE?
Regards
Arden
2015 Jan 28 7:12 AM
Hi Kiran,
Create a break-point in FM EINKBELEG_WRITE_DOCUMENT.
Activate update debugging and run your bapi to find how this FM is updating CDHDR table.
Thanks
2015 Jan 28 7:18 AM
Hi Arden,
yes, CDPOS values are updated correctly and i think there is no Tcode Field in the table CDPOS
2015 Jan 28 7:24 AM
OK
I doubt logging this with SAP OSS will help as this is most likely the intended design.
The only way I can think to get your TCODE populated is to programmatically locate and update these after your BAPI call.
Sorry, that's about all I can offer on this one.
Regards
Arden