Application Development 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: 

Configure field to record changes in CDHDR and CDPOS

Former Member
0 Kudos
2,994

Hi,

How to configure a field in a master table to record the changes in CDHDR and CDPOS ? Is it possible ?

Thanks,

- Nick

2 REPLIES 2

Former Member
0 Kudos
264

Hi,

First of all you need to activate change pointers generally in the IMG. There are several routes to this function, e.g.:

SAP Netweaver --> Application Server --> IDoc Interface/Application Link Enabling (ALE) --> Modelling and Implementing Business Processes --> Master Data Distribution --> Replication of Modified Data --> Activate Change Pointers Generally

Secondly you can set which fields have influence on the creation of a change document, e.g.:

Logistics General --> Global Data Synchronization --> Set Change Document Items for Message Type

In this function you enter the relevant message type and then you can set the fields that should lead to the creation of change documents.

Regards,

Tom.

Former Member
0 Kudos
264

Hi Nick,

Just check with the technical settings of the table whether the option to 'Log data changes' is checked or not. If yes, then it is possible.

Please set the parameter rec/client in the system profile correctly (TCODE: RZ10 /RZ11, Basis people shall do this).

Kindly refer the below SAP documentation,

-


Log data changes

The logging flag defines whether changes to the data records of a table should be logged. If logging is activated, every change (with UPDATE, DELETE) to an existing data record by a user or an application program is recorded in a log table in the database.

Note: Activating logging slows down accesses that change the table. First of all, a record must be written in the log table for each change. Secondly, many users access this log table in parallel. This could cause lock situations even though the users are working with different application tables.

Dependencies

Logging only takes place if parameter rec/client in the system profile is set correctly. Setting the flag on its own does not cause the table changes to be logged.

The existing logs can be displayed with Transaction Table history (SCU3).

-


Regards,

Selva K.