‎2007 Nov 29 5:31 PM
Hello,
We have a customized the transaction CRMD_ORDER in the CRM system to create different kind of activities.
We are facing one issue with "Change documents" for this transaction.
Only the changes done to the SAP standard fields are getting logged in change documents and changes done to the custom defined fields are not getting logged.
We have checked the "Log data changed" for the custom table and also checked the "Change document" option for data elements, still it is not working.
Can anyone plz help me how to proceed further on this.
Regards,
Nag
‎2007 Nov 29 5:42 PM
Hi,
Fix a break-point in the following function modules and check whether you are passing custom fields
CHANGEDOCUMENT_SINGLE_CASE
or
CHANGEDOCUMENT_MULTIPLE_CASE
SAP uses the above said function modules to update change documents. Its have two import paratmeters
WORKAREA_OLD
WORKAREA_NEW
or
TABLE_OLD
TABLE_NEW
a®
‎2007 Nov 29 5:37 PM
‎2007 Nov 29 5:40 PM
it should work with field change document but try changing the table attributes if it custom table.
‎2007 Nov 29 5:42 PM
Hi,
Fix a break-point in the following function modules and check whether you are passing custom fields
CHANGEDOCUMENT_SINGLE_CASE
or
CHANGEDOCUMENT_MULTIPLE_CASE
SAP uses the above said function modules to update change documents. Its have two import paratmeters
WORKAREA_OLD
WORKAREA_NEW
or
TABLE_OLD
TABLE_NEW
a®
‎2007 Nov 29 6:21 PM
Hi,
I put break points in these two FMs, but when I change data in custom fields it is not stopping at these Breakpoints.
How can I proceed now?
‎2007 Nov 29 6:31 PM
Hi,
For testing & finding the function module in which system updating the change documents please do this way.
before saving the documents in command box /h> choose from the top menu choose> break-point> break-point at> break-point at statement--> then type "call function" and press enter .
After this system will stop at call function calls . and check
a®