<?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: NEED HELP. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help/m-p/1832745#M354743</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can use the Inner join and also use the For all entries  ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select EBAN-Field1 EBAN-Fiel2  EBAN-Fiel3  EBAN-Field4  &lt;/P&gt;&lt;P&gt;EBKN-FIELD1  EBKN-FIELD2 EBKN-FIELD3&lt;/P&gt;&lt;P&gt;ANLA-FIELD1 ANLA-FIELD2 ANLA-FIELD3 ANLA-FIELD4&lt;/P&gt;&lt;P&gt;into it_lista  &lt;/P&gt;&lt;P&gt;from EBAN inner join EBKN  &lt;/P&gt;&lt;P&gt;on EBAN-Field1 = EBKN-FIELD1  &lt;/P&gt;&lt;P&gt;and EBKN-FIELD2  = EBKN-FIELD2  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inner join ANLA&lt;/P&gt;&lt;P&gt;on EBAN-Field1 = EBAN-Field1 &lt;/P&gt;&lt;P&gt;where ANLA-FIELD4 = '04'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Jan 2007 11:55:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-22T11:55:13Z</dc:date>
    <item>
      <title>NEED HELP.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help/m-p/1832744#M354742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have three table eban, ebkn, anla.&lt;/P&gt;&lt;P&gt;eban has four fields, &lt;/P&gt;&lt;P&gt;ebkn has one fields,&lt;/P&gt;&lt;P&gt;anla has one fields to retreive,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hv created one structure for that.&lt;/P&gt;&lt;P&gt; Now I am in confusion that hw i will write select statement......&lt;/P&gt;&lt;P&gt;plz tell me hw to write select statement for that...&lt;/P&gt;&lt;P&gt;thanks....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 11:41:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help/m-p/1832744#M354742</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-22T11:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: NEED HELP.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help/m-p/1832745#M354743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can use the Inner join and also use the For all entries  ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select EBAN-Field1 EBAN-Fiel2  EBAN-Fiel3  EBAN-Field4  &lt;/P&gt;&lt;P&gt;EBKN-FIELD1  EBKN-FIELD2 EBKN-FIELD3&lt;/P&gt;&lt;P&gt;ANLA-FIELD1 ANLA-FIELD2 ANLA-FIELD3 ANLA-FIELD4&lt;/P&gt;&lt;P&gt;into it_lista  &lt;/P&gt;&lt;P&gt;from EBAN inner join EBKN  &lt;/P&gt;&lt;P&gt;on EBAN-Field1 = EBKN-FIELD1  &lt;/P&gt;&lt;P&gt;and EBKN-FIELD2  = EBKN-FIELD2  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inner join ANLA&lt;/P&gt;&lt;P&gt;on EBAN-Field1 = EBAN-Field1 &lt;/P&gt;&lt;P&gt;where ANLA-FIELD4 = '04'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 11:55:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help/m-p/1832745#M354743</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-22T11:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: NEED HELP.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help/m-p/1832746#M354744</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 use the following selects for better performance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select fld1 fld2 from itab_eban&lt;/P&gt;&lt;P&gt;where....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt; select fld 1 ..&lt;/P&gt;&lt;P&gt;  from ebkn&lt;/P&gt;&lt;P&gt; for all entries in itab_eban&lt;/P&gt;&lt;P&gt;where banfn =itab_eban-banfn&lt;/P&gt;&lt;P&gt; and bnfpo = itab_eban-bnfpo&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... similarly with the rest of the tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward it it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 12:00:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help/m-p/1832746#M354744</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-22T12:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: NEED HELP.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help/m-p/1832747#M354745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select f&lt;SUB&gt;f1 f&lt;/SUB&gt;f2 f&lt;SUB&gt;f3 f&lt;/SUB&gt;f4 g&lt;SUB&gt;f5 h&lt;/SUB&gt;f6 into table itab from eban as f inner join ebkn as g on eban-abcd = ebkn-abcd inner join enla as h on ebkn-abcd = enla-abcd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wher abcd are the common fields in the given tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 12:01:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help/m-p/1832747#M354745</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-22T12:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: NEED HELP.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help/m-p/1832748#M354746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may use JOINS in this case, using the keys BANFN and BNFPO to relate the tables EBAN &amp;amp; EBKN. Coming to ANLA, you will have to look for the relevant PK/FK to relate it with these tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;samlpe code using joins&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select&lt;/P&gt;&lt;P&gt;  eban~f1&lt;/P&gt;&lt;P&gt;  eban~f2&lt;/P&gt;&lt;P&gt;  eban~f3&lt;/P&gt;&lt;P&gt;  eban~f4&lt;/P&gt;&lt;P&gt;  ebkn~f1&lt;/P&gt;&lt;P&gt;  ebkn~f2&lt;/P&gt;&lt;P&gt;  ebkn~f3&lt;/P&gt;&lt;P&gt;  from eban as eban&lt;/P&gt;&lt;P&gt;  inner join ebkn as ebkn&lt;/P&gt;&lt;P&gt;  for all entries in &amp;lt;comparision tab&amp;gt;&lt;/P&gt;&lt;P&gt;  where &amp;lt;your where condition&amp;gt;.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Check if the SELECT is successful&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Close this thread.. when your problem is solved&lt;/P&gt;&lt;P&gt;Reward if Helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 12:06:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help/m-p/1832748#M354746</guid>
      <dc:creator>former_member189629</dc:creator>
      <dc:date>2007-01-22T12:06:09Z</dc:date>
    </item>
  </channel>
</rss>

