<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Track changes to table data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/track-changes-to-table-data/m-p/10002362#M1804706</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I'm trying to make a program that track changes done to a table in a day and then perform some actions accordingly.&lt;/P&gt;&lt;P&gt;We've evaluated several methods of tracking changes to the table's records (e.g. DBTABLOG, CD, ...) and the Change Documents facility was chosen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I've seen that to create a Change Document you have to use transaction SCDO and add every table of interest to one CD. Then, to enable logging to tables CDHDR and CDPOS, you have to enable the "Change Document" flag (via SE11) for every Data Element used in the table's structure definition that one wants to log. I have to track three custom tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue I'm facing is that I cannot enable the "Change Document" flag for standard Data Elements (e.g. BEGDA, ENDDA). Two of the custom tables doesn't have any Includes, so I'm thinking of replacing each data element with a custom equivalent (e.g. Z_BEGDA, Z_ENDDA). The last table is an HRP* custom table and has standard includes (HRIKEY).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before going on and even considering replacing that include's structure with a custom one, I'm wondering:&lt;/P&gt;&lt;P&gt;- Are Change Documents the right way to track changes to table data?&lt;/P&gt;&lt;P&gt;- Is there a way not to replace the standard Include/Data Elements in order to enable logging?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thank you,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pietro&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jan 2014 16:24:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-01-07T16:24:04Z</dc:date>
    <item>
      <title>Track changes to table data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/track-changes-to-table-data/m-p/10002362#M1804706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I'm trying to make a program that track changes done to a table in a day and then perform some actions accordingly.&lt;/P&gt;&lt;P&gt;We've evaluated several methods of tracking changes to the table's records (e.g. DBTABLOG, CD, ...) and the Change Documents facility was chosen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I've seen that to create a Change Document you have to use transaction SCDO and add every table of interest to one CD. Then, to enable logging to tables CDHDR and CDPOS, you have to enable the "Change Document" flag (via SE11) for every Data Element used in the table's structure definition that one wants to log. I have to track three custom tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue I'm facing is that I cannot enable the "Change Document" flag for standard Data Elements (e.g. BEGDA, ENDDA). Two of the custom tables doesn't have any Includes, so I'm thinking of replacing each data element with a custom equivalent (e.g. Z_BEGDA, Z_ENDDA). The last table is an HRP* custom table and has standard includes (HRIKEY).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before going on and even considering replacing that include's structure with a custom one, I'm wondering:&lt;/P&gt;&lt;P&gt;- Are Change Documents the right way to track changes to table data?&lt;/P&gt;&lt;P&gt;- Is there a way not to replace the standard Include/Data Elements in order to enable logging?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thank you,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pietro&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 16:24:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/track-changes-to-table-data/m-p/10002362#M1804706</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-07T16:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Track changes to table data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/track-changes-to-table-data/m-p/10002363#M1804707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pietro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First questions first: I'd say there is no &lt;STRONG&gt;right&lt;/STRONG&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt; way, there are options, CD is one and it's a good one. As you know, the other option is setting "Log data chjanges" for th table in the technical settings. One advantage of this approach is that the log is automatic, ie you don't need to call any FM to have the change recorded, as opposed as in Change Documents. One disadvantages is that you need to set some system parameters. Have a look at the doco for Data Element DDPROTOCOL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for your second questions, AFAIK there's no way. You need to have that flag checked, so if the standard does not have it checked, you will need a custom one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Custodio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 22:56:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/track-changes-to-table-data/m-p/10002363#M1804707</guid>
      <dc:creator>custodio_deoliveira</dc:creator>
      <dc:date>2014-01-07T22:56:04Z</dc:date>
    </item>
  </channel>
</rss>

