<?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 for Custom Table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document-for-custom-table/m-p/3468447#M833709</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would assume its bcos you are inserting data into the custom table and while calling the change doc generation FM you are passing the OBJECT_CHANGE_INDICATOR as 'U'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly check that. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Mar 2008 08:49:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-06T08:49:27Z</dc:date>
    <item>
      <title>Change document for Custom Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document-for-custom-table/m-p/3468446#M833708</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;I have a requirement like create the change document for Custom table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have Generated the Object by using SCDO - ZTESTDOC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and Inserting the values into Custom table.It is inserting the Values into custom table but change document is not generating.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code what i have writeen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please check this and let me know where the problem Exists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Report  ZCHANGEDOCS&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZCHANGEDOCS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data : w_data type ZTESTTABLE,&lt;/P&gt;&lt;P&gt;       w_new  like ZZTESTTABLE occurs 0 with header line,&lt;/P&gt;&lt;P&gt;       w_old  like ZZTESTTABLE occurs 0 with header line,&lt;/P&gt;&lt;P&gt;       w_CDTXT type CDTXT occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_data-name = 'TEST11'.&lt;/P&gt;&lt;P&gt;w_DATA-ROLLNUM = '11111'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_data-name = 'TEST2'.&lt;/P&gt;&lt;P&gt;w_DATA-ROLLNUM = '4444444'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT INTO ZTESTTABLE values w_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Commit work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ZTESTDOC_WRITE_DOCUMENT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    objectid                      = 'ZTESTDOC'&lt;/P&gt;&lt;P&gt;    tcode                         = sy-tcode&lt;/P&gt;&lt;P&gt;    utime                         = sy-uzeit&lt;/P&gt;&lt;P&gt;    udate                         = sy-datum&lt;/P&gt;&lt;P&gt;    username                      = sy-uname&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PLANNED_CHANGE_NUMBER         = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   OBJECT_CHANGE_INDICATOR        = 'U'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PLANNED_OR_REAL_CHANGES        = 'R'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NO_CHANGE_POINTERS            = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  UPD_ICDTXT_ZTESTDOC           = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  UPD_ZTESTTABLE                = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   icdtxt_ztestdoc               = w_CDTXT&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    xztesttable                   = w_new&lt;/P&gt;&lt;P&gt;    yztesttable                   = w_old.&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 08:45:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-document-for-custom-table/m-p/3468446#M833708</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-06T08:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Change document for Custom Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document-for-custom-table/m-p/3468447#M833709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would assume its bcos you are inserting data into the custom table and while calling the change doc generation FM you are passing the OBJECT_CHANGE_INDICATOR as 'U'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly check that. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 08:49:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-document-for-custom-table/m-p/3468447#M833709</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-06T08:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Change document for Custom Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document-for-custom-table/m-p/3468448#M833710</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;Even if I Change the Indicator to 'I',Its not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And Even for the Custom Table,In Technical Settings i have Check the Log changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if anything do i need to modify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vijetha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 09:08:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-document-for-custom-table/m-p/3468448#M833710</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-06T09:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Change document for Custom Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document-for-custom-table/m-p/3468449#M833711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pass&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
OBJECT_CHANGE_INDICATOR = 'I'
UPD_ZTESTTABLE = 'I'
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This will create entries to CDHDR and CDPOS table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for all helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2008 09:13:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-document-for-custom-table/m-p/3468449#M833711</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-07T09:13:09Z</dc:date>
    </item>
  </channel>
</rss>

