<?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: query not working in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-not-working/m-p/1725423#M316304</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for that combination of LIFNR and BRSCH chk if it exits in LFA1, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also while checking if the internal table used for for all entries is initial or not , check the whole body , i.e give square brackets&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Oct 2006 11:24:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-25T11:24:51Z</dc:date>
    <item>
      <title>query not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-not-working/m-p/1725420#M316301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;  I am working in 4.6c, i have written a select query as below but it is not populating the internal table.please help . urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SELECT lifnr&lt;/P&gt;&lt;P&gt;         name1&lt;/P&gt;&lt;P&gt;	 brsch&lt;/P&gt;&lt;P&gt;  INTO CORRESPONDING FIELDS OF TABLE vend_det&lt;/P&gt;&lt;P&gt;  FROM lfa1&lt;/P&gt;&lt;P&gt;  FOR ALL ENTRIES IN po_hdr&lt;/P&gt;&lt;P&gt;  WHERE lifnr = po_hdr-lifnr&lt;/P&gt;&lt;P&gt;  AND   brsch = 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2006 11:13:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-not-working/m-p/1725420#M316301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-25T11:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: query not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-not-working/m-p/1725421#M316302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;try this..., change the ones in bold

&amp;lt;b&amp;gt;if not po_hdr[] is initial.&amp;lt;/b&amp;gt;

SELECT lifnr
name1
brsch
INTO CORRESPONDING FIELDS OF TABLE vend_det
FROM lfa1
FOR ALL ENTRIES IN po_hdr
WHERE lifnr = po_hdr-lifnr
AND brsch = &amp;lt;b&amp;gt;'0001'&amp;lt;/b&amp;gt;. 
&amp;lt;b&amp;gt;
endif.&amp;lt;/b&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2006 11:17:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-not-working/m-p/1725421#M316302</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-25T11:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: query not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-not-working/m-p/1725422#M316303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried even this, but it is not populating the internal table. the required vendor number(LIFNR) is present in the PO_HDR internal table but i dont know why it is not populating the &amp;lt;b&amp;gt;vend_det&amp;lt;/b&amp;gt; internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2006 11:21:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-not-working/m-p/1725422#M316303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-25T11:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: query not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-not-working/m-p/1725423#M316304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for that combination of LIFNR and BRSCH chk if it exits in LFA1, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also while checking if the internal table used for for all entries is initial or not , check the whole body , i.e give square brackets&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2006 11:24:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-not-working/m-p/1725423#M316304</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-25T11:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: query not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-not-working/m-p/1725424#M316305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;get all the lifnrs into IT_lifnr.&lt;/P&gt;&lt;P&gt;delete adjacent duplicates from it_lifnr.&lt;/P&gt;&lt;P&gt;if not it_lifnr[] is initial.&lt;/P&gt;&lt;P&gt;  select lifnr&lt;/P&gt;&lt;P&gt;         name1&lt;/P&gt;&lt;P&gt;     into table vend_Det&lt;/P&gt;&lt;P&gt;     from lfa1&lt;/P&gt;&lt;P&gt;     for all entries in it_lifnr&lt;/P&gt;&lt;P&gt;     where lifnr = it_lifnr-lifnr&lt;/P&gt;&lt;P&gt;       and brsch = '0001'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Anu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2006 11:26:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-not-working/m-p/1725424#M316305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-25T11:26:57Z</dc:date>
    </item>
  </channel>
</rss>

