<?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: Problem while selecting data from table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-selecting-data-from-table/m-p/6804943#M1468036</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; I have found a diff. problem  according to the PO number have receieved total qty. as per PO but still in EKBE delivery complete indicator is not set for that material in EKBE table filed  elikz.&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;  ZAFAR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Apr 2010 09:40:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-04-13T09:40:56Z</dc:date>
    <item>
      <title>Problem while selecting data from table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-selecting-data-from-table/m-p/6804937#M1468030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;          As per below code I want to select all open po for material from EKPO  and then first from EKBE i want to select enries with movement type 101  and then 102  from EKPO  i got One PO number aginst that in EKPO  with movement type 101  there are three entries in table with qty.  6  , 24,  24  on same day  and there are two enteis with 102  qty,  24  24  but while selecting with movement type 101  it is taking only two entry  for 6 and 24   and while selecting with 102  it is taking only one entry  qty 24  &lt;/P&gt;&lt;P&gt;  I want that all entry should come in intyenal table as present in table for that PO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so what correction is required in my beolo wcode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*****************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT IT_MAT[] IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        SELECT ebeln ebelp matnr werks lgort menge FROM ekpo&lt;/P&gt;&lt;P&gt;                INTO TABLE it_ekpo FOR ALL ENTRIES IN IT_MAT&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            for all entries in it_mard&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;         WHERE loekz NE 'L'&lt;/P&gt;&lt;P&gt;         AND   loekz NE 'S'&lt;/P&gt;&lt;P&gt;         AND   matnr = IT_MAT-matnr&lt;/P&gt;&lt;P&gt;         AND   werks = WERKS&lt;/P&gt;&lt;P&gt;         AND   elikz = ' '&lt;/P&gt;&lt;P&gt;         AND   pstyp NE '5'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         IF NOT IT_EKPO[] IS INITIAL.&lt;/P&gt;&lt;P&gt;           DELETE IT_EKPO WHERE MENGE = 0.&lt;/P&gt;&lt;P&gt;           SORT IT_EKPO ASCENDING BY MATNR EBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;******Recd qty.&lt;/P&gt;&lt;P&gt;        SELECT ebeln ebelp menge MATNR werks FROM EKBE&lt;/P&gt;&lt;P&gt;               INTO TABLE it_ekbe FOR ALL ENTRIES IN IT_ekpo&lt;/P&gt;&lt;P&gt;               where BEWTP = 'E'&lt;/P&gt;&lt;P&gt;                 AND BWART = '101'&lt;/P&gt;&lt;P&gt;                 AND EBELN = IT_EKPO-EBELN&lt;/P&gt;&lt;P&gt;                 AND EBELP = IT_EKPO-EBELP&lt;/P&gt;&lt;P&gt;                 AND MATNR = IT_EKPO-MATNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*****RETURN QTY.&lt;/P&gt;&lt;P&gt;        SELECT ebeln ebelp menge matnr werks FROM EKBE&lt;/P&gt;&lt;P&gt;               INTO TABLE it_ekber FOR ALL ENTRIES IN IT_ekpo&lt;/P&gt;&lt;P&gt;               where BEWTP = 'E'&lt;/P&gt;&lt;P&gt;                 AND BWART = '102'&lt;/P&gt;&lt;P&gt;                 AND SHKZG = 'H'&lt;/P&gt;&lt;P&gt;                 AND EBELN = IT_EKPO-EBELN&lt;/P&gt;&lt;P&gt;                 AND EBELP = IT_EKPO-EBELP&lt;/P&gt;&lt;P&gt;                 AND MATNR = IT_EKPO-MATNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         ENDIF.&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; zafar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 09:24:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-selecting-data-from-table/m-p/6804937#M1468030</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-13T09:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while selecting data from table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-selecting-data-from-table/m-p/6804938#M1468031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a common mistake made while using FOR ALL ENTRIES. You should select all the key fields from the source table because FAE deletes duplicates before populating the target internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 09:28:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-selecting-data-from-table/m-p/6804938#M1468031</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-04-13T09:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while selecting data from table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-selecting-data-from-table/m-p/6804939#M1468032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add the columns BELNR &amp;amp; BUZEI in IT_EKBE Type declaration. The new column combination will be distinct for all the entries selected from EKBE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 09:32:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-selecting-data-from-table/m-p/6804939#M1468032</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-13T09:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while selecting data from table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-selecting-data-from-table/m-p/6804940#M1468033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmmm your code looks as if it should work. Did you check that really all selection criterias of those 2 records you are missing get matched?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 09:33:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-selecting-data-from-table/m-p/6804940#M1468033</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-13T09:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while selecting data from table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-selecting-data-from-table/m-p/6804941#M1468034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;       In the first table EKPO  in that PO one same material is repeated two times in two diffeent line items  but in internal table i am getting only one record from EKPO  here there are only two  key fileds in EKPO for selecting record and both i have mention in code.&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;  zafar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 09:33:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-selecting-data-from-table/m-p/6804941#M1468034</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-13T09:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while selecting data from table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-selecting-data-from-table/m-p/6804942#M1468035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the where condition for EKPO select.  Hope "WERKS" is the parameter in selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 09:37:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-selecting-data-from-table/m-p/6804942#M1468035</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-13T09:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while selecting data from table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-selecting-data-from-table/m-p/6804943#M1468036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; I have found a diff. problem  according to the PO number have receieved total qty. as per PO but still in EKBE delivery complete indicator is not set for that material in EKBE table filed  elikz.&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;  ZAFAR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 09:40:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-selecting-data-from-table/m-p/6804943#M1468036</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-13T09:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while selecting data from table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-selecting-data-from-table/m-p/6804944#M1468037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Had your problem with selecting data to IT_EKBE has been resolved?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 10:10:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-selecting-data-from-table/m-p/6804944#M1468037</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-13T10:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while selecting data from table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-selecting-data-from-table/m-p/6804945#M1468038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Thanks all for your reply  As my aim was to read pending po qty. of material  for insted of table i have use bapi  " BAPI_MATERIAL_STOCK_REQ_LIST"  and read the qty where mrp elemnt is OI-SL  and i want the required qty. easily .&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;  zafar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 05:39:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-selecting-data-from-table/m-p/6804945#M1468038</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-14T05:39:07Z</dc:date>
    </item>
  </channel>
</rss>

