<?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 Problem with Change Document Function Block in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-change-document-function-block/m-p/2727667#M633078</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use a generated Function Block that tracks changes on 3 internal tables. The tracking on the first table works fine. There is only one line filled with data. The function block is ISU_EWEIGH_WRITE_DOCUMENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tracking on the second and on the third table doesn't work perfectly. Each of the tables has multiple lines which changes shall be tracked. I filled tables with the old and new entries correctly as said in the documentation of import tables of the function block 'CHANGEDOCUMENT_MULTIPLE_CASE':&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I start the tracking of an initial field the tables I handover look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;NEW TABLE:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Zeile    Mandt    Weighingnr       Lfdnr    Addtara    Addtaracount    KZ&lt;/P&gt;&lt;P&gt;1         300        000000000069  101      PERS      03                    U&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &amp;lt;b&amp;gt;OLD TABLE&amp;lt;/b&amp;gt; is empty as proposed in the function block parameters.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;The result that is displayed when I display the changedocuments is an empty entry with only one set field: Change Indicator "I"&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I change the field another time the tracking works perfectly and when I delete an entry it works also as it should. Can anybody tell me why this happens?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards and Sry for my bad english,&lt;/P&gt;&lt;P&gt;Steffen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Sep 2007 08:55:21 GMT</pubDate>
    <dc:creator>alpaca</dc:creator>
    <dc:date>2007-09-17T08:55:21Z</dc:date>
    <item>
      <title>Problem with Change Document Function Block</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-change-document-function-block/m-p/2727667#M633078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use a generated Function Block that tracks changes on 3 internal tables. The tracking on the first table works fine. There is only one line filled with data. The function block is ISU_EWEIGH_WRITE_DOCUMENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tracking on the second and on the third table doesn't work perfectly. Each of the tables has multiple lines which changes shall be tracked. I filled tables with the old and new entries correctly as said in the documentation of import tables of the function block 'CHANGEDOCUMENT_MULTIPLE_CASE':&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I start the tracking of an initial field the tables I handover look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;NEW TABLE:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Zeile    Mandt    Weighingnr       Lfdnr    Addtara    Addtaracount    KZ&lt;/P&gt;&lt;P&gt;1         300        000000000069  101      PERS      03                    U&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &amp;lt;b&amp;gt;OLD TABLE&amp;lt;/b&amp;gt; is empty as proposed in the function block parameters.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;The result that is displayed when I display the changedocuments is an empty entry with only one set field: Change Indicator "I"&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I change the field another time the tracking works perfectly and when I delete an entry it works also as it should. Can anybody tell me why this happens?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards and Sry for my bad english,&lt;/P&gt;&lt;P&gt;Steffen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 08:55:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-change-document-function-block/m-p/2727667#M633078</guid>
      <dc:creator>alpaca</dc:creator>
      <dc:date>2007-09-17T08:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Change Document Function Block</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-change-document-function-block/m-p/2727668#M633079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for anybody who read this thread :).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now that I described my problem I found a solution. The documentation says it should work the way I did it. But the fields have to be in both tables. The "NEW TABLE" contains the changes and in the "OLD TABLE" have to be the key fields and the other fields have to be CLEARed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I can help somebody with this post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Steffen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 11:48:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-change-document-function-block/m-p/2727668#M633079</guid>
      <dc:creator>alpaca</dc:creator>
      <dc:date>2007-09-17T11:48:30Z</dc:date>
    </item>
  </channel>
</rss>

