2016 Jan 11 7:37 AM
Hi All,
I need to capture the Custom table changes in CDHDR and CDPOS.
I have created a new change document for custom table using the tcode SCDO.
it is created a new function module *WRITE_DOCUMENT.
I have created 2 records, updated 1 record and deleted 1 record from table.
How can call the *Write_document " function module to capture the all above operations .
should i call the FM 3 times? or 1 time is enough? Please help me.
regards,rama
2016 Jan 13 6:47 AM
2016 Jan 13 10:49 AM
it is webui in SAP CRM. There we can add /change/ delete. Not through our regular report coding .
regards,rama
2016 Jan 13 11:13 AM
Hi Ram,
It depends on your requirement. If you want to save multiple entries at a time you can do it but they will get saved with single change number CDHRD.
This has to be configured in SCDO.
I would suggest to go for 1 call at the end of processing.
Thanks,
Ritesh
2016 Jan 13 11:21 AM
hi Ritesh, Yes, I have created a change documented using SCDO , it is created one FM.
can I have fill old and New entries into the internal tables( table Parameters in FM).
does system will take care of create/change and delete operations?
regards,rama
2016 Jan 13 11:46 AM
System will take care of creation and deletion. Just see that all the table fields for which you want to have the change logs are flagged with Change document at Data Element level.
I hope the above makes sense.