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

VIEW_MAINTENANCE_CALL

Former Member
0 Likes
640

Hi,

I want to copy SM30 and use that functionality in my abap program. I know the function "VIEW_MAINTENANCE_CALL" has the functionality of SM30.

Now my requirement is whenever any entry is modified / deleted / inserted in table through "VIEW_MAINTENANCE_CALL" , I want to update the log entry in another log table.

Can you please let me know how to capture events from "VIEW_MAINTENANCE_CALL" and update log table ?

Regards,

Santosh

1 ACCEPTED SOLUTION
Read only

former_member182371
Active Contributor
0 Likes
530

Hi,

mabe this might give you an idea:

http://help-abap.blogspot.com/2008/09/capture-changed-content-after-fm.html

Best regards.

2 REPLIES 2
Read only

birendra_chatterjee
Active Participant
0 Likes
530

Hi Santosh,

Is it really required to maintain a separate table of maintaining log. I think You are using VIEW_MAINTENANCE_CALL to update a custom table. You go to the technical settings of this custom table and tick option 'Log data changes'. Once this is activated, then for every update of this Z table a change log will be stored in standard SAP table 'DBTABLOG'.

Read only

former_member182371
Active Contributor
0 Likes
531

Hi,

mabe this might give you an idea:

http://help-abap.blogspot.com/2008/09/capture-changed-content-after-fm.html

Best regards.