<?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: PO tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/po-tables/m-p/2139158#M450366</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;To find the changes to PO ( or any other documents ) you have to use tables &amp;lt;b&amp;gt;CDHDR&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;CDPOS&amp;lt;/b&amp;gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This how it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;[1].&amp;lt;/b&amp;gt; Read table CDHDR with &lt;/P&gt;&lt;P&gt;OBJECTCLAS = EINKBELEG&lt;/P&gt;&lt;P&gt;OBJECTID = "Purchase Order no".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;[2].&amp;lt;/b&amp;gt; If you find any records from CDHDR, that means that PO has been changed. Now take the change document number from CDHDR (CHANGENR) and read table CDPOS with &lt;/P&gt;&lt;P&gt;OBJECTCLAS = EINKBELEG&lt;/P&gt;&lt;P&gt;OBJECTID = "Purchase Order no"&lt;/P&gt;&lt;P&gt;CHANGENR = CHHDR-CHANGENR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use the the standard function modules &amp;lt;b&amp;gt;CHANGEDOCUMENT_READ_HEADERS&amp;lt;/b&amp;gt; ( to read CDHDR data) and &amp;lt;b&amp;gt;CHANGEDOCUMENT_READ_POSITIONS&amp;lt;/b&amp;gt; ( to read CDPOS data ) to read document changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The header level changes are those where field &amp;lt;b&amp;gt;CDPOS-TABNAME = 'EKKO'&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need any other information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Apr 2007 01:36:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-20T01:36:57Z</dc:date>
    <item>
      <title>PO tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/po-tables/m-p/2139153#M450361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to read a list of Open Purchase Orders(for which I/R's have not been done completely) created or changed in a particular date range. Can anyone let me know the relevant tables where I can read this data from. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Alam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2007 20:21:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/po-tables/m-p/2139153#M450361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-19T20:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: PO tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/po-tables/m-p/2139154#M450362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Open po related tables r....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EKKO, EKPO, LFA1, EKET, EINE and condition for open PO's is...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if EKPO-ELIKZ = ' '     then all the po's r open.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u find it helpful mark the points&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~~Guduri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2007 20:28:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/po-tables/m-p/2139154#M450362</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-19T20:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: PO tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/po-tables/m-p/2139155#M450363</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 check table EKKO and field FRGZU with values as 'X' or ' '.&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>Thu, 19 Apr 2007 20:29:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/po-tables/m-p/2139155#M450363</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-04-19T20:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: PO tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/po-tables/m-p/2139156#M450364</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;You can achieve this with the help of tables &amp;lt;b&amp;gt;EKKO&amp;lt;/b&amp;gt; ( PO header data ), &amp;lt;b&amp;gt;EKPO&amp;lt;/b&amp;gt; (PO line item data) &amp;lt;b&amp;gt;EKBE&amp;lt;/b&amp;gt; ( History of PO doc ), &amp;lt;b&amp;gt;RBKP&amp;lt;/b&amp;gt; (Document Header: Invoice Receipt), &amp;lt;b&amp;gt;RSEG&amp;lt;/b&amp;gt; (Document Item: Incoming Invoice).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field &amp;lt;b&amp;gt;EKPO-EREKZ&amp;lt;/b&amp;gt; is final invoice indicator. When the value of this field is set to 'X', it means that the line item has been fully invoiced. Keep in mind that this indicator is at line item level. You can not concur based on only one line item that PO is open or not. You have to check all line items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use FM &amp;lt;b&amp;gt;ME_READ_HISTORY&amp;lt;/b&amp;gt; to read PO history.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need any other information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2007 20:31:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/po-tables/m-p/2139156#M450364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-19T20:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: PO tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/po-tables/m-p/2139157#M450365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello RS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do we find if any change has been made to the PO at the header level?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Alam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2007 23:35:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/po-tables/m-p/2139157#M450365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-19T23:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: PO tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/po-tables/m-p/2139158#M450366</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;To find the changes to PO ( or any other documents ) you have to use tables &amp;lt;b&amp;gt;CDHDR&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;CDPOS&amp;lt;/b&amp;gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This how it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;[1].&amp;lt;/b&amp;gt; Read table CDHDR with &lt;/P&gt;&lt;P&gt;OBJECTCLAS = EINKBELEG&lt;/P&gt;&lt;P&gt;OBJECTID = "Purchase Order no".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;[2].&amp;lt;/b&amp;gt; If you find any records from CDHDR, that means that PO has been changed. Now take the change document number from CDHDR (CHANGENR) and read table CDPOS with &lt;/P&gt;&lt;P&gt;OBJECTCLAS = EINKBELEG&lt;/P&gt;&lt;P&gt;OBJECTID = "Purchase Order no"&lt;/P&gt;&lt;P&gt;CHANGENR = CHHDR-CHANGENR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use the the standard function modules &amp;lt;b&amp;gt;CHANGEDOCUMENT_READ_HEADERS&amp;lt;/b&amp;gt; ( to read CDHDR data) and &amp;lt;b&amp;gt;CHANGEDOCUMENT_READ_POSITIONS&amp;lt;/b&amp;gt; ( to read CDPOS data ) to read document changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The header level changes are those where field &amp;lt;b&amp;gt;CDPOS-TABNAME = 'EKKO'&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need any other information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2007 01:36:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/po-tables/m-p/2139158#M450366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-20T01:36:57Z</dc:date>
    </item>
  </channel>
</rss>

