‎2009 Sep 30 3:02 PM
Hi All,
I'm making certain changes using transaction FB02 which is logged in CDHDR/CDPOS table.
Please let me know how does the updation of these tables take place.
Any pointers to FM/ program that makes the update to these tables will be highly useful.
Thanks.
‎2009 Sep 30 3:05 PM
‎2009 Sep 30 3:07 PM
There's an abundance of information on this topic if you search for it. Also, have you traced the transaction with Runtime Analysis? You'll see the calls in there that record the changes...
‎2009 Sep 30 3:08 PM
Hi,
try to look into these tables via se16/se16n and you can see what be happend.
You can also us FM: CHANGEDOCUMENT_READ.
Regards, Dieter
‎2009 Sep 30 3:20 PM
Hi,
Thanks for the info but i see this FM is not called in the transaction FB02 to update CDHDR. Any clue ?
As soon as i make a change to ZTERM in this transaction and save it, this is reflected in CDHDR/CDPOS. Please help me to find which FM does the update since these are standard tables.
Thanks.
‎2009 Sep 30 3:31 PM
Hi
U need to check which object of change document is assign to account document (it should be BELEG, u can see it in report MF01ABLN).
Now by trx SCDO u can find out which Abap object was generated for your change document object.
For BELEG u can see the fm BELEG_WRITE_DOCUMENT: this fm is called to update the table CDHDR and CDPOS
u can also find out the program FF05LCDC where the fm is called: here it's defined the form CD_CALL_BELEG, u can use to call the fm
Max
‎2009 Oct 01 5:41 PM
Any clue ?
As soon as i make a change to ZTERM in this transaction and save it, this is reflected in CDHDR/CDPOS. Please help me to find which FM does the update since these are standard tables.
If you would just use the development tools SAP has made available to you and which I have already suggested, then you would find your answer. A little reading in the help files on how change document objects work wouldn't hurt either.
‎2010 Jul 20 3:27 PM