<?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 Access CDPOS table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/access-cdpos-table/m-p/6176771#M1372652</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement that is to get the user that made the last modification on a Purchase Requisition item. For that I made a select on the cdpos table. But this table is huge. I placed a lot of AND's on the code to get a little more performance but this select is taking a lot of time.&lt;/P&gt;&lt;P&gt;Isn't there another way to access this table?&lt;/P&gt;&lt;P&gt;If not, is there another way to improve my select?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE '100' it_items-banfn it_items-bnfpo INTO lv_tabkey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT  changenr UP TO 1 ROWS FROM cdpos INTO CORRESPONDING FIELDS OF TABLE it_cdpos&lt;/P&gt;&lt;P&gt;          WHERE objectid = it_items-banfn&lt;/P&gt;&lt;P&gt;          AND objectclas = 'BANF'&lt;/P&gt;&lt;P&gt;          AND tabkey = lv_tabkey&lt;/P&gt;&lt;P&gt;          AND CHNGIND = 'U'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Oct 2009 19:55:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-15T19:55:57Z</dc:date>
    <item>
      <title>Access CDPOS table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/access-cdpos-table/m-p/6176771#M1372652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement that is to get the user that made the last modification on a Purchase Requisition item. For that I made a select on the cdpos table. But this table is huge. I placed a lot of AND's on the code to get a little more performance but this select is taking a lot of time.&lt;/P&gt;&lt;P&gt;Isn't there another way to access this table?&lt;/P&gt;&lt;P&gt;If not, is there another way to improve my select?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE '100' it_items-banfn it_items-bnfpo INTO lv_tabkey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT  changenr UP TO 1 ROWS FROM cdpos INTO CORRESPONDING FIELDS OF TABLE it_cdpos&lt;/P&gt;&lt;P&gt;          WHERE objectid = it_items-banfn&lt;/P&gt;&lt;P&gt;          AND objectclas = 'BANF'&lt;/P&gt;&lt;P&gt;          AND tabkey = lv_tabkey&lt;/P&gt;&lt;P&gt;          AND CHNGIND = 'U'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 19:55:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/access-cdpos-table/m-p/6176771#M1372652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-15T19:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Access CDPOS table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/access-cdpos-table/m-p/6176772#M1372653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to get the document change number (CHANGENR) from the CDHDR table for OBJECTCLAS and OBJECTID. Then use this change number to access the CDPOS table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 21:11:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/access-cdpos-table/m-p/6176772#M1372653</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2009-10-15T21:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Access CDPOS table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/access-cdpos-table/m-p/6176773#M1372654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's much better now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 08:50:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/access-cdpos-table/m-p/6176773#M1372654</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-16T08:50:37Z</dc:date>
    </item>
  </channel>
</rss>

