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

Tracking changes to fields in a Table

Former Member
0 Likes
595

Hi ,

I have a created a table with N number of fields. Without using table logging is there any way to track changes only for few fields.

Thanks in Advance

Rajavardhana Reddy

1 ACCEPTED SOLUTION
Read only

former_member194669
Active Contributor
0 Likes
533

create a change document for that table using tranx SCDO and using it in your program after table update.

it will give change documet entries in table CDHDR and CDPOS.

aRs

3 REPLIES 3
Read only

former_member194669
Active Contributor
0 Likes
534

create a change document for that table using tranx SCDO and using it in your program after table update.

it will give change documet entries in table CDHDR and CDPOS.

aRs

Read only

Former Member
0 Likes
533

Hi,

if you are using Table maintenance to update the table, then you can write a module in PAI of the Table Maintenance screen to generate a log. You can create a Z table to log the chagnes.

In that module:

At the time of save you can check whether those fields are changed by comparing with the current values in a table.

If they are changed, you can write that field name, old value, new value to the Z table.

Darshil

Read only

Former Member
0 Likes
533

in this case we need do some coding to update the changes to CDHDR/CDPOS. we have a decided to add new field to the table which shows the status(as in HR module) and add new entry with the new data