<?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 Re: Change Document program Generation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document-program-generation/m-p/4487931#M1062364</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of the main program SAPLxxx, try to put include /TEST/FZXXXXXXXXXXXXXCDT  into the TOP include of the main program. TOP include porgram name would be like LxxxxTOP. Try to compile it again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Sep 2008 13:15:50 GMT</pubDate>
    <dc:creator>naimesh_patel</dc:creator>
    <dc:date>2008-09-12T13:15:50Z</dc:date>
    <item>
      <title>Change Document program Generation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document-program-generation/m-p/4487930#M1062363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are trying to capture changes to several ECC tables. We want to capture any change to that table. We want to know what kind of change (Insert, delete or update) and then the key of the record that has changed. Our goal is to capture the most updated information from a table after a change.  In order to achieve that we are using a process in which change document objects are created and changes are logged as change document in CDHDR and CDPOS tables. I have generated a program to extract data from CDPOS and CDHDR table. The following link describes the whole process of change log enablement &lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/2a/fa015b493111d182b70000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/2a/fa015b493111d182b70000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt; a. Created a Change Document Object /TEST/ZXXXXXXXXXXXXX using transaction SCDO and assigned the tables to that Object. &lt;/P&gt;&lt;P&gt;Following function modules and generated parts are automatically generated, followed the above SAP Help document. &lt;/P&gt;&lt;P&gt;Include programs and function modules&lt;/P&gt;&lt;P&gt; Data declaration, TOP...................... /TEST/FZXXXXXXXXXXXXCDT&lt;/P&gt;&lt;P&gt;        Consisting of............................. /TEST/FZXXXXXXXXXXXXCDF&lt;/P&gt;&lt;P&gt;           and....................................... /TEST/FZXXXXXXXXXXXXCDV&lt;/P&gt;&lt;P&gt;Update function module..................... /TEST/ZXXXXXXXXXXXX_WRITE_DOCUMENT&lt;/P&gt;&lt;P&gt;Call updates function module................ /TEST/FZXXXXXXXXXXXXXCDC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have included the generated /TEST/FZXXXXXXXXXXXXXCDT and /TEST/FZXXXXXXXXXXXXXCDC &lt;/P&gt;&lt;P&gt;to the main program of function module SAPLZxxxxx.  But I am getting syntax error in the Include /TEST/FZXXXXXXXXXXXXXCDC xxxxxx variable is not in the main program.&lt;/P&gt;&lt;P&gt;I need some help on this:&lt;/P&gt;&lt;P&gt;a.       As per SAP response what steps are left?&lt;/P&gt;&lt;P&gt;b.       Is there any other configuration step that we need to perform? The attached document talks about transactions SWED, SWEC and SWO1 in appendix &lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt; Connecting Change document to work flow. We would like to understand if it will be relevant to our enablement work or can we by pass this and still be able to enable the change document logging for our tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mili.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Sep 2008 12:54:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-document-program-generation/m-p/4487930#M1062363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-12T12:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Change Document program Generation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document-program-generation/m-p/4487931#M1062364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of the main program SAPLxxx, try to put include /TEST/FZXXXXXXXXXXXXXCDT  into the TOP include of the main program. TOP include porgram name would be like LxxxxTOP. Try to compile it again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Sep 2008 13:15:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-document-program-generation/m-p/4487931#M1062364</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2008-09-12T13:15:50Z</dc:date>
    </item>
  </channel>
</rss>

