09-30-2010 8:00 PM
Hello Expertise,
I need to write some code in BAPI_GOODSMVT_CREATE.
Actually I want to update CDPOS/CDHDR in this BAPI.
Can anyone please guide me how I can add this code.
I have code ready,but I don't know where and how I can add it.
Thank you very much
Regards
BIswarup
09-30-2010 8:43 PM
Sorry, but your requirement does not make sense - what fields do you want to track? You should not update CDHDR/CDPOS directly. These table updates are controlled by generated functions from change document objects (txn SCDO).
10-01-2010 5:14 AM
There is no combination of EINKBELEG and EKBE in the table TCDOB, so I need to write code.
10-01-2010 3:13 PM
There is no combination of EINKBELEG and EKBE in the table TCDOB, so I need to write code.
It still does not make sense - EKBE tracks invoice and goods receipts against PO's but these do not directly affect the PO object itself other than for 'completion' purposes.. The PO history display should be enough within the PO itself. What changes are you trying to display - changes for the respective documents?
10-01-2010 3:02 PM
Hi
BAPI_GOODSMVT_CREATE is for post goods movements on following transactions:
MB01, MB31, MB1A, MB1B, MB1C, MB11, MB04.
Tables CDHDR, CDPOS are for changed documents rejestration ...
Daniel.