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

Log Changes of table maintenance view using change document

Former Member
0 Likes
1,287

Hi All

I have few questions in logging changes made in Table Maintenance Generator (TMG).

I followed this link http://wiki.sdn.sap.com/wiki/display/ABAP/ABAP-DataChangeTrackerforCustom+Tables

and created change document for the custom table and did changes to data element.

Question

Now I have generated Function Module to update the changes to CDHDR and CDPOS, to use this FM do I need to code it under events of TMG or by doing any configuration the changes will be logged automatically to CDHDR and CDPOS.

How to use created change document object and generated FM to log the changes for TMG (custom table) ?

Regards,

Anand.

Hi All

I have few questions in logging changes made in Table Maintenance Generator (TMG).

I followed this link http://wiki.sdn.sap.com/wiki/display/ABAP/ABAP-DataChangeTrackerforCustom+Tables

and created change document for the custom table and did changes to data element.

Question

Now I have generated Function Module to update the changes to CDHDR and CDPOS, to use this FM do I need to code it under events of TMG or by doing any configuration the changes will be logged automatically to CDHDR and CDPOS.

How to use created change document object and generated FM to log the changes for TMG (custom table) ?

Regards,

Anand.

2 REPLIES 2
Read only

Former Member
0 Likes
774

Hi,

You can use FM SWE_EVENT_CREATE and create an entry for event in SWEC transaction.

May be this could help.

Thanks,

AJ

Read only

0 Likes
774

Thanks Ameet. Your plan sounds good.

But I do not have any clue how to link the document object, Business object, event and TMG.

Can you give me step by step procedure to achieve my task.

Regards,

Anand