<?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: Need help with change document in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-with-change-document/m-p/4647286#M1093725</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;I need to manually call the
 ***_WRITE_DOCUMENT FM?
Then, how will the change document 
getting written to CDHDR &amp;amp; CDPOS tables?&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, If you are trying to create a Change Document event for a standard program then all you have to do is find a user exit for that program and call the FM WRITE_DOCUMENT in that include and pass all the mandatory values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are dealing with a Z program then you neeed to call this FM in that Z program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Oct 2008 04:27:11 GMT</pubDate>
    <dc:creator>bpawanchand</dc:creator>
    <dc:date>2008-10-10T04:27:11Z</dc:date>
    <item>
      <title>Need help with change document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-with-change-document/m-p/4647285#M1093724</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;Can anyone help me with change document? I have created the change document object and generated all the required programs/FM. I have included the F&lt;STRONG&gt;CDT &amp;amp; F&lt;/STRONG&gt;CDC in my program. What should I do next? My program will write/change/delete some data in my customized table. Will the change document get created automatically just by including the 2 program or do I need to manually call the ***_WRITE_DOCUMENT FM?&lt;/P&gt;&lt;P&gt;Then, how will the change document getting written to CDHDR &amp;amp; CDPOS tables? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created the change document object for my customized table and checked all the field with 'log change data' in the technical settings. I just do not know how should I go about with all the generated programs. Any help is greatly appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Mil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 03:54:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-with-change-document/m-p/4647285#M1093724</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T03:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with change document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-with-change-document/m-p/4647286#M1093725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;I need to manually call the
 ***_WRITE_DOCUMENT FM?
Then, how will the change document 
getting written to CDHDR &amp;amp; CDPOS tables?&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, If you are trying to create a Change Document event for a standard program then all you have to do is find a user exit for that program and call the FM WRITE_DOCUMENT in that include and pass all the mandatory values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are dealing with a Z program then you neeed to call this FM in that Z program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 04:27:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-with-change-document/m-p/4647286#M1093725</guid>
      <dc:creator>bpawanchand</dc:creator>
      <dc:date>2008-10-10T04:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with change document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-with-change-document/m-p/4647287#M1093726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I were to call this FM WRITE_DOCUMENT manually in my Z program, what should all the parameter be for the FM (like OBJECTID, PLANNED_CHANGE_NUMBER, CDOC_UPD_OBJECT, etc) be? What if the user change the content of the custome table in SM30? How can the change document gets created? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also need to know at which point data get written into CDHDR &amp;amp; CDPOS table. THanks in advance again for any help provided.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 04:31:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-with-change-document/m-p/4647287#M1093726</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T04:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with change document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-with-change-document/m-p/4647288#M1093727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chekc this thread&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="6173119"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 05:03:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-with-change-document/m-p/4647288#M1093727</guid>
      <dc:creator>bpawanchand</dc:creator>
      <dc:date>2008-10-10T05:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with change document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-with-change-document/m-p/4647289#M1093728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, but I have followed what that person did, but still the data are not written into CDHDR &amp;amp; CDPOS. My other question is, how can I trigget the change document when user change the table in SM30?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 06:26:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-with-change-document/m-p/4647289#M1093728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T06:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with change document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-with-change-document/m-p/4647290#M1093729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After calling the FM WRITE_DOCUMENT did you write COMMIT WORK statement  check this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 06:33:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-with-change-document/m-p/4647290#M1093729</guid>
      <dc:creator>bpawanchand</dc:creator>
      <dc:date>2008-10-10T06:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with change document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-with-change-document/m-p/4647291#M1093730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Pavan. I couldn't belive that I actually missed the commit work. Points awarded!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 06:55:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-with-change-document/m-p/4647291#M1093730</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T06:55:54Z</dc:date>
    </item>
  </channel>
</rss>

