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: 

Log field changes

Former Member
0 Kudos

Hi

I am looking for an option where we can call an trigger routine which can record the changes done to field into an custom tables.

I don't want to use LOG DATA CHANGES(Technical setting option) and I know there is an option to trigger routine at specific event liek SAVE, DELETE etc, but could not remember and also don't want to create Dialog program

thanks

Lakhbir

2 REPLIES 2

Former Member
0 Kudos

Hi,

Create an object in SCD0 and generate function modules to write the log.

If your custom table has SM30..THEN..

In the view V_TVIMF

create a new entry with the event as '02' and create

a subroutine in the function group of the table

maintainance..And then call the Function module ..

Otherwise..

When you update the data through the custom program

call this function module..

Thanks,

Naren

Former Member
0 Kudos

Hi Lakhbir,

As Naren suggested you need to write this code to log the changes. this can be done by writing the code in the event 18 by navigating through v_tvimf .

Here is an excellent thread on this issue.

Hope this will help you.

Regards,

Vivek

PS: Award points if helpful