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: 

Capturing of Changed field values Table maintenance generator?

kirankumark2
Participant
0 Kudos

I have a Table with table maintenance generator. while maintaining the entries through SM30 how can i capture changed field values?

For example TABLE has two fields like STUDENT ID and STUDENT NAME. If change any student name and clicking on SAVE button i have to capture that field name which has changed entries. Can anyone suggest me how to read that whole record also?

2 REPLIES 2

former_member400468
Active Participant
0 Kudos

Hi!

You can use events for achieving this functionality (Menu path Environment - Modification - Events). For your requirement you can use event 01 - Before saving. At that moment you can analyze table TOTAL. If you perfrom LOOP on this table you can use <VIM_TOTAL_STRUC> for getting line contents and <ACTION> for getting line status (New, Updated, Deleted etc.).

Hope it's helpful.

Evgeny

former_member200754
Participant
0 Kudos

Hi kiran,

in technical setting of tcode SE11. there is a option 'Log data changes'.

try to use it.

regards,

John