<?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 Enable change document for a custom table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/enable-change-document-for-a-custom-table/m-p/8735322#M1674067</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am facing one problem in enabling change document for a Ztable. Pls find the description as below:&lt;/P&gt;&lt;P&gt;In order to enable change document for a Ztable i have checked the corresponding check box for Change document in the data element and created a object in Tcode SCDO and a standard function module got generated which needs to be coded accordingly to update entries in CDHDR and CDPOS table . But my problem lies in the fact that i need to explicitly pass the values for 'New value' and 'Old value' fields respectively.&lt;/P&gt;&lt;P&gt;Is there any standard mechanism with the help of which i can acheive this .i.e Getting Old and new values automatically in the respective fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;lt;signs of impatience removed by moderator&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Manoj Bilthare&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Thomas Zloch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 May 2012 11:34:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-05-18T11:34:28Z</dc:date>
    <item>
      <title>Enable change document for a custom table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enable-change-document-for-a-custom-table/m-p/8735322#M1674067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am facing one problem in enabling change document for a Ztable. Pls find the description as below:&lt;/P&gt;&lt;P&gt;In order to enable change document for a Ztable i have checked the corresponding check box for Change document in the data element and created a object in Tcode SCDO and a standard function module got generated which needs to be coded accordingly to update entries in CDHDR and CDPOS table . But my problem lies in the fact that i need to explicitly pass the values for 'New value' and 'Old value' fields respectively.&lt;/P&gt;&lt;P&gt;Is there any standard mechanism with the help of which i can acheive this .i.e Getting Old and new values automatically in the respective fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;lt;signs of impatience removed by moderator&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Manoj Bilthare&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Thomas Zloch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2012 11:34:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enable-change-document-for-a-custom-table/m-p/8735322#M1674067</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-18T11:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Enable change document for a custom table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enable-change-document-for-a-custom-table/m-p/8735323#M1674068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manoj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the below link, it may help you solve your issue;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://wiki.sdn.sap.com/wiki/display/ABAP/ABAP+-+Data+Change+Tracker+for+Custom+Tables#ABAP-DataChangeTrackerforCustomTables-UpdateFunctionality%3A" title="http://wiki.sdn.sap.com/wiki/display/ABAP/ABAP+-+Data+Change+Tracker+for+Custom+Tables#ABAP-DataChangeTrackerforCustomTables-UpdateFunctionality%3A"&gt;http://wiki.sdn.sap.com/wiki/display/ABAP/ABAP+-+Data+Change+Tracker+for+Custom+Tables#ABAP-DataChangeTrackerforCustomTables-UpdateFunctionality%3A&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Karthik D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2012 11:40:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enable-change-document-for-a-custom-table/m-p/8735323#M1674068</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-18T11:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Enable change document for a custom table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enable-change-document-for-a-custom-table/m-p/8735324#M1674069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karthik D, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gone through ur link. I have also done the same thing as mentioned link&lt;BR /&gt;but my problem is that i dont want to pass the old and new values explicitly to the function module. Instead , &lt;BR /&gt;i am looking for some standard way which can deal this automatically.&lt;BR /&gt;By passing the values explicitly does'nt make sense as i am introducing change document&lt;BR /&gt;process in order to get rid of buffering the old values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Manoj Bilthare&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2012 12:01:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enable-change-document-for-a-custom-table/m-p/8735324#M1674069</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-18T12:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Enable change document for a custom table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enable-change-document-for-a-custom-table/m-p/8735325#M1674070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The answer is NO...&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;By passing the values explicitly does'nt make sense as i am introducing change document process in order to get rid of buffering the old values.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;You just have to fill the old value structure or internal table when reading database and the new value when preparing update. In fact in the code part where you check if an update is required, how do you check that data has been changed if you don't keep old data somewhere in memory (*)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't want to code, then use Table Change Logging, but it must be active in the system/client. (&lt;SPAN style="font-family: Arial; font-size: 10pt;"&gt;rec/client parameter in the SAP system profile)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(*) &lt;SPAN id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;I dare not&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;consider&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;that&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;you do not do&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;this test&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2012 12:49:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enable-change-document-for-a-custom-table/m-p/8735325#M1674070</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2012-05-18T12:49:33Z</dc:date>
    </item>
  </channel>
</rss>

