<?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: Issue with FM CHANGEDOCUMENT_READ_POSITIONS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-fm-changedocument-read-positions/m-p/3082405#M731007</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;Please use FM CHANGEDOCUMENT_READ instead.&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Nov 2007 18:10:35 GMT</pubDate>
    <dc:creator>ferry_lianto</dc:creator>
    <dc:date>2007-11-27T18:10:35Z</dc:date>
    <item>
      <title>Issue with FM CHANGEDOCUMENT_READ_POSITIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-fm-changedocument-read-positions/m-p/3082399#M731001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have custom program and  using FM CHANGEDOCUMENT_READ_POSITIONS to read change&lt;/P&gt;&lt;P&gt;documents ,partcularly material master changes , this function module takes more than 10 to 15 minutes time for each change document number ( I am using cdhdr-CHANGENR in FM )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the same function module used in MM04 Transaction and here it is taking 1&lt;/P&gt;&lt;P&gt;or 2 seconds. I have been searching oss notes but unable to find out&lt;/P&gt;&lt;P&gt;exact thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My system is 4.6C and I am passing the data to FM  as like MM04 transactions still it is taking lot of time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you Please suggest what would be the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do not suggest that any performance tuning techniques since issue with SAP .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 15:24:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-fm-changedocument-read-positions/m-p/3082399#M731001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-27T15:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with FM CHANGEDOCUMENT_READ_POSITIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-fm-changedocument-read-positions/m-p/3082400#M731002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Seshu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we also had the same problem and I think it is better not to use this FM with CHANGENR only. There are two other fields (OBJECTCLAS and OBJECTID) in the key before this and they are quite important. So I would suggest to replace this FM with own selection of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 15:41:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-fm-changedocument-read-positions/m-p/3082400#M731002</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2007-11-27T15:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with FM CHANGEDOCUMENT_READ_POSITIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-fm-changedocument-read-positions/m-p/3082401#M731003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please show me example program since i did not see any parameter ( OBJECTCLAS and OBJECTID) in FM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 16:22:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-fm-changedocument-read-positions/m-p/3082401#M731003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-27T16:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with FM CHANGEDOCUMENT_READ_POSITIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-fm-changedocument-read-positions/m-p/3082402#M731004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you do selection on CDHDR first. From this table you can get these two fields (these are key fields here as well). On the other hand OBJECTCLAS will be 'MATERIAL', while OBJECTID will be the material number (including the leading zeros.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 16:39:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-fm-changedocument-read-positions/m-p/3082402#M731004</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2007-11-27T16:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with FM CHANGEDOCUMENT_READ_POSITIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-fm-changedocument-read-positions/m-p/3082403#M731005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes ,i get the data from cdhdr table ,here i  am passing &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OBJECTCLAS = 'MATERIAL'&lt;/P&gt;&lt;P&gt;OBJECTID = Material number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then i am using FM ,this FM takes more time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 17:19:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-fm-changedocument-read-positions/m-p/3082403#M731005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-27T17:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with FM CHANGEDOCUMENT_READ_POSITIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-fm-changedocument-read-positions/m-p/3082404#M731006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Seshu,&lt;/P&gt;&lt;P&gt;If you see the standard SAP code in the FM CHANGEDOCUMENT_READ_POSITIONS, what SAP does is, it check whether data is present in the internal table icdhdr or not. If its not found, it fires a Query on the table CDHDR which is based on just the CHANGENR (Change doc number field). Since the Primary Index is not being used, this FM takes time to fetch the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of MM04, the internal table icdhdr(Global data) is filled before the Call to the FM CHANGEDOCUMENT_READ_POSITIONS, so SAP will not goto the code of fetching the header details. That why it is Faster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Abhishek Jolly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 17:57:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-fm-changedocument-read-positions/m-p/3082404#M731006</guid>
      <dc:creator>former_member195698</dc:creator>
      <dc:date>2007-11-27T17:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with FM CHANGEDOCUMENT_READ_POSITIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-fm-changedocument-read-positions/m-p/3082405#M731007</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;Please use FM CHANGEDOCUMENT_READ instead.&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 18:10:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-fm-changedocument-read-positions/m-p/3082405#M731007</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-11-27T18:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with FM CHANGEDOCUMENT_READ_POSITIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-fm-changedocument-read-positions/m-p/3082406#M731008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to Eric,Abhishek and Ferry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now it works great when i use FM CHANGEDOCUMENT_READ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 20:38:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-fm-changedocument-read-positions/m-p/3082406#M731008</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-27T20:38:05Z</dc:date>
    </item>
  </channel>
</rss>

