Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Change documents for custom fields

Former Member
0 Likes
1,883

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

1 ACCEPTED SOLUTION
Read only

former_member194669
Active Contributor
0 Likes
1,070

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®

5 REPLIES 5
Read only

former_member191735
Active Contributor
0 Likes
1,070

go to table technical settings and check Log data changes.

Read only

former_member191735
Active Contributor
0 Likes
1,070

it should work with field change document but try changing the table attributes if it custom table.

Read only

former_member194669
Active Contributor
0 Likes
1,071

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®

Read only

0 Likes
1,070

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?

Read only

0 Likes
1,070

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®