<?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: inner join with into corresponding in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-with-into-corresponding/m-p/1376853#M184648</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this:&lt;/P&gt;&lt;P&gt;DATA: begin of wa,&lt;/P&gt;&lt;P&gt;DATE   LIKE SFLIGHT-FLDATE, &lt;/P&gt;&lt;P&gt;      CARRID LIKE SFLIGHT-CARRID, &lt;/P&gt;&lt;P&gt;      CONNID LIKE SFLIGHT-CONNID.,&lt;/P&gt;&lt;P&gt;end of wa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT F&lt;SUB&gt;CARRID F&lt;/SUB&gt;CONNID F~FLDATE &lt;/P&gt;&lt;P&gt;    INTO correspoding fields of wa &lt;/P&gt;&lt;P&gt;    FROM SFLIGHT AS F INNER JOIN SPFLI AS P &lt;/P&gt;&lt;P&gt;           ON F&lt;SUB&gt;CARRID = P&lt;/SUB&gt;CARRID AND &lt;/P&gt;&lt;P&gt;              F&lt;SUB&gt;CONNID = P&lt;/SUB&gt;CONNID &lt;/P&gt;&lt;P&gt;    WHERE P~CITYFROM = 'FRANKFURT' &lt;/P&gt;&lt;P&gt;      AND P~CITYTO   = 'NEW YORK' &lt;/P&gt;&lt;P&gt;      AND F~FLDATE BETWEEN '20010910' AND '20010920' &lt;/P&gt;&lt;P&gt;      AND F&lt;SUB&gt;SEATSOCC &amp;lt; F&lt;/SUB&gt;SEATSMAX. &lt;/P&gt;&lt;P&gt;  WRITE: / wa-DATE, wa-CARRID, wa-CONNID. &lt;/P&gt;&lt;P&gt;ENDSELECT. &lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 May 2006 09:00:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-08T09:00:31Z</dc:date>
    <item>
      <title>inner join with into corresponding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-with-into-corresponding/m-p/1376849#M184644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;can I use INNER JOIN in my select statement with INTO CORRESPONDING? If so, how to do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks so much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2006 08:57:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-with-into-corresponding/m-p/1376849#M184644</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-08T08:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: inner join with into corresponding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-with-into-corresponding/m-p/1376850#M184645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select mara~matnr &lt;/P&gt;&lt;P&gt;       marc~werks&lt;/P&gt;&lt;P&gt;       marc~plnnr&lt;/P&gt;&lt;P&gt;       marc~plnal from mara inner join marc&lt;/P&gt;&lt;P&gt;                  on   mara&lt;SUB&gt;matnr = marc&lt;/SUB&gt;matnr&lt;/P&gt;&lt;P&gt;                  into CORRESPONDING FIELD OF table itab&lt;/P&gt;&lt;P&gt;                  where mara~matnr in s_mat&lt;/P&gt;&lt;P&gt;                  and marc~werks in p_plant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but   for  increase performance  avoid into corresponding field...&lt;/P&gt;&lt;P&gt;for  that just arange the  field  in sequence in internal table as u fetch from select query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2006 08:58:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-with-into-corresponding/m-p/1376850#M184645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-08T08:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: inner join with into corresponding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-with-into-corresponding/m-p/1376851#M184646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;yes ucan use

select A~fld1
       B~fld2
       into corresponding fields of table itab
       from tab1 as A inner join
            tab2 as B on
            A~fld = B~fld.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2006 08:58:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-with-into-corresponding/m-p/1376851#M184646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-08T08:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: inner join with into corresponding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-with-into-corresponding/m-p/1376852#M184647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an eg of inner join using three tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this :- &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT stpo&lt;SUB&gt;stlnr stpo&lt;/SUB&gt;idnrk mast&lt;SUB&gt;matnr mara&lt;/SUB&gt;mtart stpo~menge  &lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE zmat1 FROM mast  &lt;/P&gt;&lt;P&gt;JOIN stpo ON stpo&lt;SUB&gt;stlnr = mast&lt;/SUB&gt;stlnr  &lt;/P&gt;&lt;P&gt;JOIN mara ON mara&lt;SUB&gt;matnr = mast&lt;/SUB&gt;matnr  &lt;/P&gt;&lt;P&gt;WHERE stpo&lt;SUB&gt;stlty = 'M' "AND stpo&lt;/SUB&gt;idnrk IN s_matnr  &lt;/P&gt;&lt;P&gt;AND mast~werks = 1000.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here s_matnr is a select-options on the selection-screen.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Susmitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2006 09:00:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-with-into-corresponding/m-p/1376852#M184647</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-08T09:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: inner join with into corresponding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-with-into-corresponding/m-p/1376853#M184648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this:&lt;/P&gt;&lt;P&gt;DATA: begin of wa,&lt;/P&gt;&lt;P&gt;DATE   LIKE SFLIGHT-FLDATE, &lt;/P&gt;&lt;P&gt;      CARRID LIKE SFLIGHT-CARRID, &lt;/P&gt;&lt;P&gt;      CONNID LIKE SFLIGHT-CONNID.,&lt;/P&gt;&lt;P&gt;end of wa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT F&lt;SUB&gt;CARRID F&lt;/SUB&gt;CONNID F~FLDATE &lt;/P&gt;&lt;P&gt;    INTO correspoding fields of wa &lt;/P&gt;&lt;P&gt;    FROM SFLIGHT AS F INNER JOIN SPFLI AS P &lt;/P&gt;&lt;P&gt;           ON F&lt;SUB&gt;CARRID = P&lt;/SUB&gt;CARRID AND &lt;/P&gt;&lt;P&gt;              F&lt;SUB&gt;CONNID = P&lt;/SUB&gt;CONNID &lt;/P&gt;&lt;P&gt;    WHERE P~CITYFROM = 'FRANKFURT' &lt;/P&gt;&lt;P&gt;      AND P~CITYTO   = 'NEW YORK' &lt;/P&gt;&lt;P&gt;      AND F~FLDATE BETWEEN '20010910' AND '20010920' &lt;/P&gt;&lt;P&gt;      AND F&lt;SUB&gt;SEATSOCC &amp;lt; F&lt;/SUB&gt;SEATSMAX. &lt;/P&gt;&lt;P&gt;  WRITE: / wa-DATE, wa-CARRID, wa-CONNID. &lt;/P&gt;&lt;P&gt;ENDSELECT. &lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2006 09:00:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-with-into-corresponding/m-p/1376853#M184648</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-08T09:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: inner join with into corresponding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-with-into-corresponding/m-p/1376854#M184649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Specifying Two or More Database Tables as an Inner Join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a relational database, you normally need to read data simultaneously from more than one database table into an application program. You can read from more than one table in a single SELECT statement, such that the data in the tables all has to meet the same conditions, using the following join expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT... &lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;  FROM &amp;lt;tab&amp;gt; [INNER] JOIN &amp;lt;dbtab&amp;gt; [AS &amp;lt;alias&amp;gt;] ON &amp;lt;cond&amp;gt; &amp;lt;options&amp;gt; &lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where &amp;lt;dbtab&amp;gt; is a single database table and &amp;lt;tab&amp;gt; is either a table or another join expression. The database tables can be specified statically or dynamically as described above. You may also use aliases. You can enclose each join expression in parentheses. The INNER addition is optional.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A join expression links each line of &amp;lt;tab&amp;gt; with the lines in &amp;lt;dbtab&amp;gt; that meet the condition &amp;lt;cond&amp;gt;. This means that there is always one or more lines from the right-hand table that is linked to each line from the left-hand table by the join. If &amp;lt;dbtab&amp;gt; does not contain any lines that meet the condition &amp;lt;cond&amp;gt;, the line from &amp;lt;tab&amp;gt; is not included in the selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The syntax of the &amp;lt;cond&amp;gt; condition is like that of the WHERE clause, although individual comparisons can only be linked using AND. Furthermore, each comparison must contain a column from the right-hand table &amp;lt;dbtab&amp;gt;. It does not matter on which side of the comparison it occurs. For the column names in the comparison, you can use the same names that occur in the SELECT clause, to differentiate columns from different database tables that have the same names. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The comparisons in the condition &amp;lt;cond&amp;gt; can appear in the WHERE clause instead of the ON clause, since both clauses are applied equally to the temporary table containing all of the lines resulting from the join. However, each join must contain at least one comparison in the condition &amp;lt;cond&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT demo_select_inner_join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF wa,&lt;/P&gt;&lt;P&gt;        carrid TYPE spfli-carrid,&lt;/P&gt;&lt;P&gt;        connid TYPE spfli-connid,&lt;/P&gt;&lt;P&gt;        fldate TYPE sflight-fldate,&lt;/P&gt;&lt;P&gt;        bookid TYPE sbook-bookid,&lt;/P&gt;&lt;P&gt;      END OF wa,&lt;/P&gt;&lt;P&gt;      itab LIKE SORTED TABLE OF wa&lt;/P&gt;&lt;P&gt;                WITH UNIQUE KEY carrid connid fldate bookid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT  p&lt;SUB&gt;carrid p&lt;/SUB&gt;connid f&lt;SUB&gt;fldate b&lt;/SUB&gt;bookid&lt;/P&gt;&lt;P&gt;  INTO  CORRESPONDING FIELDS OF TABLE itab&lt;/P&gt;&lt;P&gt;  FROM  ( ( spfli AS p&lt;/P&gt;&lt;P&gt;            INNER JOIN sflight AS f ON p&lt;SUB&gt;carrid = f&lt;/SUB&gt;carrid AND&lt;/P&gt;&lt;P&gt;                                       p&lt;SUB&gt;connid = f&lt;/SUB&gt;connid    )&lt;/P&gt;&lt;P&gt;            INNER JOIN sbook   AS b ON b&lt;SUB&gt;carrid = f&lt;/SUB&gt;carrid AND&lt;/P&gt;&lt;P&gt;                                       b&lt;SUB&gt;connid = f&lt;/SUB&gt;connid AND&lt;/P&gt;&lt;P&gt;                                       b&lt;SUB&gt;fldate = f&lt;/SUB&gt;fldate     )&lt;/P&gt;&lt;P&gt;  WHERE p~cityfrom = 'FRANKFURT' AND&lt;/P&gt;&lt;P&gt;        p~cityto   = 'NEW YORK'  AND&lt;/P&gt;&lt;P&gt;        f&lt;SUB&gt;seatsmax &amp;gt; f&lt;/SUB&gt;seatsocc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT itab INTO wa.&lt;/P&gt;&lt;P&gt;  AT NEW fldate.&lt;/P&gt;&lt;P&gt;    WRITE: / wa-carrid, wa-connid, wa-fldate.&lt;/P&gt;&lt;P&gt;ENDAT.&lt;/P&gt;&lt;P&gt;  WRITE / wa-bookid.&lt;/P&gt;&lt;P&gt;ENDLOOP.&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>Mon, 08 May 2006 09:00:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-with-into-corresponding/m-p/1376854#M184649</guid>
      <dc:creator>vinod_gunaware2</dc:creator>
      <dc:date>2006-05-08T09:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: inner join with into corresponding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-with-into-corresponding/m-p/1376855#M184650</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;Use like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SELECT a&lt;SUB&gt;process_type c&lt;/SUB&gt;p_description_20&lt;/P&gt;&lt;P&gt;    INTO CORRESPONDING FIELDS OF TABLE git_process_type&lt;/P&gt;&lt;P&gt;    FROM  crmc_pr_assign AS a&lt;/P&gt;&lt;P&gt;        INNER JOIN crmc_proc_type AS b&lt;/P&gt;&lt;P&gt;          ON a&lt;SUB&gt;process_type = b&lt;/SUB&gt;process_type&lt;/P&gt;&lt;P&gt;        INNER JOIN crmc_proc_type_t AS c&lt;/P&gt;&lt;P&gt;          ON b&lt;SUB&gt;process_type = c&lt;/SUB&gt;process_type&lt;/P&gt;&lt;P&gt;    WHERE a~subobj_category = gc_subobject&lt;/P&gt;&lt;P&gt;    AND b~process_blocked = space&lt;/P&gt;&lt;P&gt;    AND c~langu = gc_langu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;Mark helpful answer.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2006 09:02:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-with-into-corresponding/m-p/1376855#M184650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-08T09:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: inner join with into corresponding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-with-into-corresponding/m-p/1376856#M184651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Lana&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes you can use Inner Join with the key word into corresponding Satement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the following Code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;              Table Declaration                                      *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;TABLES: mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;              Types Declaration                                      *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF typ_mara,&lt;/P&gt;&lt;P&gt;       matnr TYPE mara-matnr, "Material Number"&lt;/P&gt;&lt;P&gt;       mbrsh TYPE mara-mbrsh, "Industrial Sector"&lt;/P&gt;&lt;P&gt;       mtart TYPE mara-mtart, "Material Type"&lt;/P&gt;&lt;P&gt;       meins TYPE mara-meins, "Base Unit of Measure"&lt;/P&gt;&lt;P&gt;       maktx TYPE makt-maktx, "Material Description"&lt;/P&gt;&lt;P&gt;       END OF typ_mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;              Intrnal tables Declaration                             *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;DATA: it_mara TYPE STANDARD TABLE OF typ_mara WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;              Selection Screen                                       *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.&lt;/P&gt;&lt;P&gt;PARAMETERS       : p_mtart LIKE mara-mtart.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN : END OF BLOCK b1.&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                      Start of Selection                             *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;***&lt;/P&gt;&lt;P&gt;  SELECT A~matnr&lt;/P&gt;&lt;P&gt;         A~mbrsh&lt;/P&gt;&lt;P&gt;         A~mtart&lt;/P&gt;&lt;P&gt;         A~meins&lt;/P&gt;&lt;P&gt;         B~maktx         &lt;/P&gt;&lt;P&gt;         into corresponding fields of table it_mara&lt;/P&gt;&lt;P&gt;         FROM mara as A inner join makt as B&lt;/P&gt;&lt;P&gt;         on A&lt;SUB&gt;matnr = B&lt;/SUB&gt;mtnr&lt;/P&gt;&lt;P&gt;         WHERE mtart = p_mtart.&lt;/P&gt;&lt;P&gt;  if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    sort it_mara by matnr.&lt;/P&gt;&lt;P&gt;  else.&lt;/P&gt;&lt;P&gt;    MESSAGE e001 WITH 'No data Found' ' For the Given'&lt;/P&gt;&lt;P&gt;                      'Selection Criteria'(400).&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; ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Sreenivasulu P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2006 09:08:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-with-into-corresponding/m-p/1376856#M184651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-08T09:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: inner join with into corresponding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-with-into-corresponding/m-p/1376857#M184652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes u can use it without any  problem...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;       kunnr like kna1-kunnr&lt;/P&gt;&lt;P&gt;       bukrs like knb1-bukrs,&lt;/P&gt;&lt;P&gt;      end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a&lt;SUB&gt;kunnr b&lt;/SUB&gt;bukrs into corresponding fields of table itab from kna1 as a inner join knb1 as b on&lt;/P&gt;&lt;P&gt;a&lt;SUB&gt;kunnr = b&lt;/SUB&gt;kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Abdul Hakim&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:Reward Points for all useful answers...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2006 09:11:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-with-into-corresponding/m-p/1376857#M184652</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2006-05-08T09:11:06Z</dc:date>
    </item>
  </channel>
</rss>

