‎2010 Jun 08 10:53 AM
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
‎2010 Jun 08 2:28 PM
Hi,
mabe this might give you an idea:
http://help-abap.blogspot.com/2008/09/capture-changed-content-after-fm.html
Best regards.
‎2010 Jun 08 11:00 AM
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'.
‎2010 Jun 08 2:28 PM
Hi,
mabe this might give you an idea:
http://help-abap.blogspot.com/2008/09/capture-changed-content-after-fm.html
Best regards.