<?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 internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/4082423#M976168</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;i want to pass a data from different internal table into single internal table like i had a data in ekko,ekpo,stxh...iam picking the data from this table into different internal tables...now i want to pass all the datas from different internal table into one internal table ..plz tel me how to do it...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jun 2008 11:01:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-26T11:01:05Z</dc:date>
    <item>
      <title>internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/4082423#M976168</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;i want to pass a data from different internal table into single internal table like i had a data in ekko,ekpo,stxh...iam picking the data from this table into different internal tables...now i want to pass all the datas from different internal table into one internal table ..plz tel me how to do it...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 11:01:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/4082423#M976168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T11:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/4082424#M976169</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;check this sample code.&lt;/P&gt;&lt;P&gt;here t_outtab is final internal table which is defined with fields from diff tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT t_ekko .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    t_outtab-ebeln = t_ekko-ebeln .&lt;/P&gt;&lt;P&gt;    t_outtab-bukrs = t_ekko-bukrs .&lt;/P&gt;&lt;P&gt;    t_outtab-bsart = t_ekko-bsart .&lt;/P&gt;&lt;P&gt;    t_outtab-aedat = t_ekko-aedat .&lt;/P&gt;&lt;P&gt;    t_outtab-ekorg = t_ekko-ekorg .&lt;/P&gt;&lt;P&gt;    t_outtab-ekgrp = t_ekko-ekgrp .&lt;/P&gt;&lt;P&gt;    t_outtab-bedat = t_ekko-bedat .&lt;/P&gt;&lt;P&gt;    t_outtab-kdatb = t_ekko-kdatb .&lt;/P&gt;&lt;P&gt;    t_outtab-kdate = t_ekko-kdate .&lt;/P&gt;&lt;P&gt;    t_outtab-lifnr = t_ekko-lifnr .&lt;/P&gt;&lt;P&gt;    t_outtab-ernam = t_ekko-ernam .&lt;/P&gt;&lt;P&gt;    t_outtab-waers = t_ekko-waers.&lt;/P&gt;&lt;P&gt;    t_outtab-frgke = t_ekko-frgke .&lt;/P&gt;&lt;P&gt;    t_outtab-frgsx = t_ekko-frgsx .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CLEAR t_ekpo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    READ TABLE t_ekpo WITH KEY ebeln = t_outtab-ebeln&lt;/P&gt;&lt;P&gt;     BINARY SEARCH .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF sy-subrc = 0 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      t_outtab-txz01 = t_ekpo-txz01 .&lt;/P&gt;&lt;P&gt;      t_outtab-netwr = t_ekpo-netwr .&lt;/P&gt;&lt;P&gt;      t_outtab-werks = t_ekpo-werks .&lt;/P&gt;&lt;P&gt;      t_outtab-matkl = t_ekpo-matkl .&lt;/P&gt;&lt;P&gt;      t_outtab-poqty = t_ekpo-menge .&lt;/P&gt;&lt;P&gt;      t_outtab-netpr = t_ekpo-netpr .&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;      READ TABLE t_lfa1 WITH KEY lifnr = t_outtab-lifnr&lt;/P&gt;&lt;P&gt;      BINARY SEARCH .&lt;/P&gt;&lt;P&gt;      IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;        t_outtab-name1 = t_lfa1-name1 .&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;    READ TABLE t_eket WITH KEY ebeln = t_ekpo-ebeln&lt;/P&gt;&lt;P&gt;                               ebelp = t_ekpo-ebelp&lt;/P&gt;&lt;P&gt;    BINARY SEARCH.&lt;/P&gt;&lt;P&gt;    IF sy-subrc = 0 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    READ TABLE it_tax WITH KEY&lt;/P&gt;&lt;P&gt;                               ebeln = t_ekko-ebeln.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                              ebelp = t_ekko-ebelp.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     IF NOT it_tax-mwskz IS INITIAL.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        READ TABLE it_kwert WITH KEY&lt;/P&gt;&lt;P&gt;                                     ebeln = it_tax-ebeln&lt;/P&gt;&lt;P&gt;                                     kposn = it_tax-ebelp&lt;/P&gt;&lt;P&gt;                                     knumv = it_tax-knumv&lt;/P&gt;&lt;P&gt;                                     mwsk1 = it_tax-mwskz&lt;/P&gt;&lt;P&gt;                                     BINARY SEARCH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          t_outtab-kwert = it_kwert-kwert.&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;    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;    READ TABLE t_ekbe WITH KEY ebeln = t_ekpo-ebeln&lt;/P&gt;&lt;P&gt;                                   ebelp = t_ekpo-ebelp.&lt;/P&gt;&lt;P&gt;    IF sy-subrc = 0 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      t_outtab-deliv = t_ekbe-wrbtr .&lt;/P&gt;&lt;P&gt;    ENDIF .&lt;/P&gt;&lt;P&gt;    READ TABLE it_ekkn WITH KEY ebeln = t_outtab-ebeln&lt;/P&gt;&lt;P&gt;                                    BINARY SEARCH .&lt;/P&gt;&lt;P&gt;    IF sy-subrc = 0 .&lt;/P&gt;&lt;P&gt;      t_outtab-sakto = it_ekkn-sakto .&lt;/P&gt;&lt;P&gt;      t_outtab-kostl = it_ekkn-kostl .&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    READ TABLE it_essr WITH KEY ebeln = t_outtab-ebeln&lt;/P&gt;&lt;P&gt;                                    BINARY SEARCH .&lt;/P&gt;&lt;P&gt;    READ TABLE it_esll WITH KEY packno = t_ekpo-packno&lt;/P&gt;&lt;P&gt;                                    BINARY SEARCH .&lt;/P&gt;&lt;P&gt;    IF sy-subrc = 0 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    READ TABLE it_esll1 WITH KEY packno = it_esll-sub_packno&lt;/P&gt;&lt;P&gt;                                    BINARY SEARCH .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      t_outtab-menge = it_esll1-menge .&lt;/P&gt;&lt;P&gt;      t_outtab-ktext1 = it_esll1-ktext1 .&lt;/P&gt;&lt;P&gt;      t_outtab-frmval1 = it_esll1-frmval1 .&lt;/P&gt;&lt;P&gt;      t_outtab-frmval2 = it_esll1-frmval2 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   endif.&lt;/P&gt;&lt;P&gt;   endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    t_outtab-sdelv = t_outtab-netwr - t_outtab-deliv .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    APPEND t_outtab .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CLEAR t_outtab .&lt;/P&gt;&lt;P&gt;    CLEAR it_tax.&lt;/P&gt;&lt;P&gt;    CLEAR it_kwert.&lt;/P&gt;&lt;P&gt;    clear t_ekbe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 11:05:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/4082424#M976169</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2008-06-26T11:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/4082425#M976170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;use joins...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;First know about what is inner join&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data that can be selected with a view depends primarily on whether the view implements an inner join or an outer join. With an inner join, you only get the records of the cross-product for which there is an entry in all tables used in the view. With an outer join, records are also selected for which there is no entry in some of the tables used in the view.  The set of hits determined by an inner join can therefore be a subset of the hits determined with an outer join. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example for Inner join: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT A&lt;SUB&gt;EBELN A&lt;/SUB&gt;LIFNR A&lt;SUB&gt;KNUMV B&lt;/SUB&gt;EBELP B&lt;SUB&gt;NETWR B&lt;/SUB&gt;NETPR B&lt;SUB&gt;WERKS B&lt;/SUB&gt;MATNR &lt;/P&gt;&lt;P&gt;  L&lt;SUB&gt;NAME1 L&lt;/SUB&gt;NAME2 &lt;/P&gt;&lt;P&gt;  FROM EKKO AS A &lt;/P&gt;&lt;P&gt;  INNER JOIN EKPO AS B ON A&lt;SUB&gt;EBELN = B&lt;/SUB&gt;EBELN &lt;/P&gt;&lt;P&gt;  INNER JOIN LFA1 AS L ON L&lt;SUB&gt;LIFNR = A&lt;/SUB&gt;LIFNR &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;INNER JOIN EKKN AS C ON C&lt;SUB&gt;EBELN = A&lt;/SUB&gt;EBELN &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  INTO CORRESPONDING FIELDS OF TABLE itab &lt;/P&gt;&lt;P&gt;  WHERE B~BUKRS = 'company code' . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Left outer join&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;Usually, when defining InfoSets, the objects are linked via inner join operators. However, you can also use left outer joins.  Inner join and left outer join are only different in the situation where one of the involved tables does not contain any suitable record which meets the join conditions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With an inner join (table 1 inner join table 2), no record is included in the result set in this case. However, this means that the corresponding record from tables 1 is not considered in the results set.                                         &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With an left outer join (table 1 left outer join table2), exactly one record is included in the results set in this case´. In this record, the fields from table 1 contain the values of the record from table 1 and the fields from table 2 are all filled with the initial value.    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example of left outer join: &lt;/P&gt;&lt;P&gt;DATA: CUSTOMER TYPE SCUSTOM,  &lt;/P&gt;&lt;P&gt;      BOOKING  TYPE SBOOK.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SCUSTOM&lt;SUB&gt;NAME SCUSTOM&lt;/SUB&gt;POSTCODE SCUSTOM~CITY  &lt;/P&gt;&lt;P&gt;       SBOOK&lt;SUB&gt;FLDATE SBOOK&lt;/SUB&gt;CARRID SBOOK&lt;SUB&gt;CONNID SBOOK&lt;/SUB&gt;BOOKID  &lt;/P&gt;&lt;P&gt;       INTO (CUSTOMER-NAME, CUSTOMER-POSTCODE, CUSTOMER-CITY,  &lt;/P&gt;&lt;P&gt;             BOOKING-FLDATE, BOOKING-CARRID, BOOKING-CONNID,  &lt;/P&gt;&lt;P&gt;             BOOKING-BOOKID)  &lt;/P&gt;&lt;P&gt;       FROM SCUSTOM LEFT OUTER JOIN SBOOK  &lt;/P&gt;&lt;P&gt;         ON SCUSTOM&lt;SUB&gt;ID = SBOOK&lt;/SUB&gt;CUSTOMID AND  &lt;/P&gt;&lt;P&gt;            SBOOK~FLDATE = '20081015'  &lt;/P&gt;&lt;P&gt;       ORDER BY SCUSTOM&lt;SUB&gt;NAME SBOOK&lt;/SUB&gt;FLDATE.  &lt;/P&gt;&lt;P&gt;  WRITE: / CUSTOMER-NAME, CUSTOMER-POSTCODE, CUSTOMER-CITY,  &lt;/P&gt;&lt;P&gt;           BOOKING-FLDATE, BOOKING-CARRID, BOOKING-CONNID,  &lt;/P&gt;&lt;P&gt;           BOOKING-BOOKID.  &lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 11:05:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/4082425#M976170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T11:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/4082426#M976171</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;      Loop the header table, and Read the dependent table on key and push the relevant data to the FINAL internal table, as append at last.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      So the Final table will be your resulted and wanted table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 11:06:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/4082426#M976171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T11:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/4082427#M976172</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; 1)  open a new internal table with loop and endloop.&lt;/P&gt;&lt;P&gt; 2)  Read internal table whichever you want to do&lt;/P&gt;&lt;P&gt; 3) append the data from the internal table to new internal table.&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;R.Rajendran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 11:08:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/4082427#M976172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T11:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/4082428#M976173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Put some fields aommon in all internal table structure .&lt;/P&gt;&lt;P&gt;then loop at first internal table and put append the records at the final internal table .&lt;/P&gt;&lt;P&gt;After doing append loop at the final internal table and read the corresponding records from the second internal table using read statement with key addition of some common fields and then modify the final internal table by keeping the MODIFY statement inside the loop.&lt;/P&gt;&lt;P&gt;do the second step for each table and prepare the final intrnal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If any issues you can get back to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will help you.&lt;/P&gt;&lt;P&gt;Help children of U.N World Food Program by rewarding  points and encourage others to answer your queries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 11:15:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/4082428#M976173</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T11:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/4082429#M976174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; 1. First u create the new internal table with the required fields.&lt;/P&gt;&lt;P&gt;2. LOOP AT    t_ekko and depending upon the condition LOOP AT next internal table  and then Third internal table . Here u append the record to the new internal .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 11:30:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/4082429#M976174</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T11:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/4082430#M976175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          First you create your internal tablle with all the required fields. &lt;/P&gt;&lt;P&gt;          Now write a select query all the three tables using INNER JOIN and move the data into your final table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         I cannot give you the code, because it is against the rules and you never expect so. Try it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;Any queries, get back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandra Sekhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 12:09:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/4082430#M976175</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T12:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/4082431#M976176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this simple example.....&lt;/P&gt;&lt;P&gt;read the table with keyfield...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables:mara,marc.&lt;/P&gt;&lt;P&gt;data:begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;     matnr like mara-matnr,&lt;/P&gt;&lt;P&gt;     end of itab.&lt;/P&gt;&lt;P&gt;data:begin of itab1 occurs 0,&lt;/P&gt;&lt;P&gt;     matnr like marc-matnr,&lt;/P&gt;&lt;P&gt;     werks like marc-werks,&lt;/P&gt;&lt;P&gt;     end of itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select   matnr&lt;/P&gt;&lt;P&gt;      from mara&lt;/P&gt;&lt;P&gt;      into corresponding fields of  table itab.&lt;/P&gt;&lt;P&gt;      if   itab is initial.&lt;/P&gt;&lt;P&gt;      select  matnr&lt;/P&gt;&lt;P&gt;              werks&lt;/P&gt;&lt;P&gt;             from marc&lt;/P&gt;&lt;P&gt;             into  table itab1&lt;/P&gt;&lt;P&gt;             for all entries in itab&lt;/P&gt;&lt;P&gt;             where matnr = itab-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             loop at itab1.&lt;/P&gt;&lt;P&gt;             read table itab with key matnr = itab-matnr.&lt;/P&gt;&lt;P&gt;             write:/ itab1-matnr,itab1-werks.&lt;/P&gt;&lt;P&gt;             endloop.&lt;/P&gt;&lt;P&gt;             endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 12:12:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/4082431#M976176</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T12:12:37Z</dc:date>
    </item>
  </channel>
</rss>

