<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/2068815#M428300</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The entries into the table CDHDR and CDPOS are not made just because of making the change document active in the data element of the corresponding field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We need to first create a change document object using the transaction SCDO for the corresponding fields and tables. Now upon generation, you would get a couple of includes and a function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, in your program, if you want to have entries in CDHDR and CDPOS for the database changes you make, you need to include the programs generated in SCDO and call the function module after every INSERT,MODIFY or DELETE. Without which the entries will not be made in CDHDR and CDPOS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Souce: &lt;A href="http://www.SAPTechnical.COM" target="test_blank"&gt;http://www.SAPTechnical.COM&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Mar 2007 02:09:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-14T02:09:35Z</dc:date>
    <item>
      <title>Change document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/2068814#M428299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I learn the procedure for change document from sap hlep:&lt;/P&gt;&lt;P&gt;1.Define change document object&lt;/P&gt;&lt;P&gt;2.Set change document flag&lt;/P&gt;&lt;P&gt;3.Generate update and INCLUDE objects&lt;/P&gt;&lt;P&gt;4.Integrating the functionality into the program &lt;/P&gt;&lt;P&gt;5.Writing the fields in the program &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm confuse about step 4 &amp;amp; 5. Can any guys tell me how to achieve them?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;--Alex Miao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 01:47:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/2068814#M428299</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T01:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Change document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/2068815#M428300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The entries into the table CDHDR and CDPOS are not made just because of making the change document active in the data element of the corresponding field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We need to first create a change document object using the transaction SCDO for the corresponding fields and tables. Now upon generation, you would get a couple of includes and a function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, in your program, if you want to have entries in CDHDR and CDPOS for the database changes you make, you need to include the programs generated in SCDO and call the function module after every INSERT,MODIFY or DELETE. Without which the entries will not be made in CDHDR and CDPOS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Souce: &lt;A href="http://www.SAPTechnical.COM" target="test_blank"&gt;http://www.SAPTechnical.COM&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 02:09:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/2068815#M428300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T02:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Change document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/2068816#M428301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks you for your reply. It is very clear and useful. Can you answer me another question. The transaction cj20n will do some changes to table IHPA, and we want to track the changes. We found there isn't a change document object for IHPA which has been created by SAP, then we create CDO ZIHPA in SCDO. According your reply we need put our code in cj20n, but it seems impossible as we need modify SAP standard transaction. About this problem do you have any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;--Alex Miao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 02:25:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/2068816#M428301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T02:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Change document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/2068817#M428302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you need to insert the Change Document code in the user exit (if any) after the database update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raja.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Award points if answered your question&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 05:26:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/2068817#M428302</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T05:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Change document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/2068818#M428303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your reply. Do you mean the custom exit? As far as I know there are not any custom exits after the database update. If you mean user exit which I'm not familiar, can you explain it more detail? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, I have awarded point for you excellent reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;--Alex Miao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 05:35:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/2068818#M428303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T05:35:28Z</dc:date>
    </item>
  </channel>
</rss>

