<?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: Internal Table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3134132#M744666</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi vivek..&lt;/P&gt;&lt;P&gt;do one thing.just declare a internal table like this..&lt;/P&gt;&lt;P&gt;data itab_marc type standard table of marc with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then..&lt;/P&gt;&lt;P&gt;select ur fields from marc into table itab_marc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; loop at itab_funcmod.&lt;/P&gt;&lt;P&gt;loop at itab_marc (instead of marc)..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope this solves the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Dec 2007 12:22:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-27T12:22:12Z</dc:date>
    <item>
      <title>Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3134117#M744651</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; &lt;/P&gt;&lt;P&gt;I would like to create an internal table with a few fields. Can someone let me know how i should declare the DATA &amp;amp; write the steps for the below req.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first few fields in the internal table i want to fill with values from another internal table which is filled with values from a function module output &amp;amp; for each value (i.e. for IT_FUNcMod-Fld1) i want to read a few fields from MARC &amp;amp; DRAD tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Eg:&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;Internal table - Function Module (Table name: IT_FUNcMod)&lt;/P&gt;&lt;P&gt;Fld1 	Fld2 	Fld3...&lt;/P&gt;&lt;P&gt;M1	89	37&lt;/P&gt;&lt;P&gt;M2	33	45&lt;/P&gt;&lt;P&gt;&amp;amp; so on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MARC Table&lt;/P&gt;&lt;P&gt;Fld1	Fld2	Fld3...&lt;/P&gt;&lt;P&gt;M1	B	AB&lt;/P&gt;&lt;P&gt;M2	H	UY&lt;/P&gt;&lt;P&gt;&amp;amp; so on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DRAD Table&lt;/P&gt;&lt;P&gt;Fld1 	Fld2	Fld3...&lt;/P&gt;&lt;P&gt;xM1	1234	RT78&lt;/P&gt;&lt;P&gt;xM2	2354	TY89&lt;/P&gt;&lt;P&gt;&amp;amp; so on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Link between IT_FUNcMod &amp;amp; MARC =&amp;gt; IT_FUNcMod-Fld1 EQ MARC-Fld1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Link between MARC &amp;amp; DRAD =&amp;gt; MARC-matnr Like DRAD-Objky&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Output:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Fld1 &amp;amp; Fld2 from IT_FUNcMod, Fld3 &amp;amp; Fld4 from MARC table, Fld5 &amp;amp; Fld6 from DRAD)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;New Internal Table (Table name: IT_NEW)&lt;/P&gt;&lt;P&gt;Fld1	Fld2	Fld3	Fld4	Fld5	Fld6&lt;/P&gt;&lt;P&gt;M1	89	B	AB	1234	RT78&lt;/P&gt;&lt;P&gt;M2	33	H	UY	2354	TY89&lt;/P&gt;&lt;P&gt;&amp;amp; so on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 03:48:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3134117#M744651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T03:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3134118#M744652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hope this is not Dynamic Interal Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proceed Like this if it is not Dynamic Internal Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare Internal Tables for Each :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Itab for Function MOdule Data,&lt;/P&gt;&lt;P&gt;Itab for Mara Data,&lt;/P&gt;&lt;P&gt;Itab for DRAD data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4th Itab contains the fields u required from the above itabs in common.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now Read Data to it_fm from Function Module.&lt;/P&gt;&lt;P&gt;Read data to it_mara and it_drad based on the key from it_fm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now Copy it_fm into it_final.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again looping at it_mara MODIFY it_final setting corresponding fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again looping at it_drad MODIFY it_final setting corresponding fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thats the solution u require.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AWRD POINTS IF USEFUL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;REPLY me for any further solution&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bhupal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 04:41:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3134118#M744652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T04:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3134119#M744653</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.Execute the function module to get IT_FUNCMOD data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.Select it_funcmod&lt;SUB&gt;f1 it_funcmod&lt;/SUB&gt;f2 a&lt;SUB&gt;f3 a&lt;/SUB&gt;f4 b&lt;SUB&gt;f5 b&lt;/SUB&gt;6&lt;/P&gt;&lt;P&gt; into  table l_t_Tab&lt;/P&gt;&lt;P&gt; from MARC AS a&lt;/P&gt;&lt;P&gt; INNER JOIN DRAD AS b&lt;/P&gt;&lt;P&gt; ON  a&lt;SUB&gt;matnr = b&lt;/SUB&gt;objky&lt;/P&gt;&lt;P&gt; FOR ALL ENTRIES IN it_funcmod&lt;/P&gt;&lt;P&gt; Where a~f1 = it_funcmod-f1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps u.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 05:13:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3134119#M744653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T05:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3134120#M744654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mr. Bhupal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the inputs. But what i really need is how should i define the internal table with the fields &amp;amp; the steps to read the value from MARC &amp;amp; DRAD tables, i.e. the syntax as i am still new to ABAP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also i would like to know, would it not be better to read the data from MARC &amp;amp; DRAD tables directly for the matching case, instead of first reading them into an internal table &amp;amp; then re-reading the values from this internal table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Await your inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 05:14:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3134120#M744654</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T05:14: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/3134121#M744655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its always better to get the data according to ur req from table like MARA MARC and DRAD and better read that table to fill ur output table, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort table it_marc by primary key fields.  &amp;lt; mandatory when binary search is used&lt;/P&gt;&lt;P&gt;sort table it_drad by primary key fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; read table it_marc with key = k1 binary search.&lt;/P&gt;&lt;P&gt;     if sy0subrc eq 0.&lt;/P&gt;&lt;P&gt;moves...&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 drad with key = k2 binary search.&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;endif .&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 05:19:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3134121#M744655</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2007-12-27T05:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3134122#M744656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vivek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this code. This gives you an idea how to solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables : IT_FUNcMod, marc, drad.&lt;/P&gt;&lt;P&gt;TYPES : BEGIN OF tab,&lt;/P&gt;&lt;P&gt;          fld1 like IT_FUNcMod-fld1,&lt;/P&gt;&lt;P&gt;          fld2 like IT_FUNcMod-fld2,&lt;/P&gt;&lt;P&gt;          fld3 like marc-fld3,&lt;/P&gt;&lt;P&gt;          fld4 like marc-fld4,&lt;/P&gt;&lt;P&gt;          fld5 like drad-fld5,&lt;/P&gt;&lt;P&gt;          fld6 like drad-fld6,&lt;/P&gt;&lt;P&gt;        END OF tab.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;SELECT IT_FUNcMod&lt;SUB&gt;fld1 IT_FUNcMod&lt;/SUB&gt;fld2 &lt;/P&gt;&lt;P&gt;        marc&lt;SUB&gt;fld3 marc&lt;/SUB&gt;fld4 drad~fld5 &lt;/P&gt;&lt;P&gt;        drad~fld6 FROM IT_FUNcMod INNER JOIN&lt;/P&gt;&lt;P&gt;        marc ON IT_FUNcMod~fld1 = marc-fld1&lt;/P&gt;&lt;P&gt;        INNER JOIN drad ON marc&lt;SUB&gt;matnr = drad&lt;/SUB&gt;Objky&lt;/P&gt;&lt;P&gt;        INTO table it_final.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward Points, if useful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manoj Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 05:21:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3134122#M744656</guid>
      <dc:creator>former_member402443</dc:creator>
      <dc:date>2007-12-27T05:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3134123#M744657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;joins can be used,, but if its a report try not to use joins... join on marc and other tables will be a big burden on DB... if things are working well with read and index better to go with it..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 05:28:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3134123#M744657</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2007-12-27T05:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3134124#M744658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mr. Ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your inputs. I tried the lines as per what you have mentioned &amp;amp; when i do a syntax check, the system prompts the error - 'The formal argument "AS" occurs twice.' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to correct it? Also will the query output show the values in the 6 fields or would it require any ABAp statements as well?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note for Mr. Manoj:&lt;/STRONG&gt; Thank you for your help, will check the code which you have posted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note for Jackandijay:&lt;/STRONG&gt; I am not sure how to use the Read / Write statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Await clarifications&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 06:58:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3134124#M744658</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T06:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3134125#M744659</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; Try as follows:&lt;/P&gt;&lt;P&gt; All the 6 fields will be displayed properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Types: begin of itab,&lt;/P&gt;&lt;P&gt;         f1  type  ..&lt;/P&gt;&lt;P&gt;         f2  type ...&lt;/P&gt;&lt;P&gt;         f3  type marc-f3,&lt;/P&gt;&lt;P&gt;         f4  type marc-f4,&lt;/P&gt;&lt;P&gt;         f5  type drad-f5,&lt;/P&gt;&lt;P&gt;         f6  type drad-f6,&lt;/P&gt;&lt;P&gt;      end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: l_t_tab type table of itab with header line,&lt;/P&gt;&lt;P&gt;      l_r_tab type itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select a&lt;SUB&gt;f3 a&lt;/SUB&gt;f4 b&lt;SUB&gt;f5 b&lt;/SUB&gt;6&lt;/P&gt;&lt;P&gt;into corresponding fields of l_r_tab&lt;/P&gt;&lt;P&gt;from MARC AS a&lt;/P&gt;&lt;P&gt;INNER JOIN DRAD AS b&lt;/P&gt;&lt;P&gt;ON a&lt;SUB&gt;matnr = b&lt;/SUB&gt;objky&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN it_funcmod&lt;/P&gt;&lt;P&gt;Where a~f1 = it_funcmod-f1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; l_r_tab-f1 = it_funcmod-f1.&lt;/P&gt;&lt;P&gt; l_r_tab-f2 = it_funcmod-f2.&lt;/P&gt;&lt;P&gt; append l_r_tab to l_t_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Endselect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 07:56:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3134125#M744659</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T07:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3134126#M744660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mr. Ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the inputs, but i am still getting the same error &lt;/P&gt;&lt;P&gt;'The formal argument "AS" occurs twice.'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there is some error in the join condition or the way in which the join is done. Also note i have changed a&lt;SUB&gt;f3LIKE b&lt;/SUB&gt;objky as these 2 fields cannot be joined directly. But even if i keep it as '=' i get the same error. Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select a&lt;SUB&gt;f3 a&lt;/SUB&gt;f4 b&lt;SUB&gt;f5 b&lt;/SUB&gt;6&lt;/P&gt;&lt;P&gt;  into corresponding fields of l_r_tab&lt;/P&gt;&lt;P&gt;  from MARC AS a&lt;/P&gt;&lt;P&gt;    INNER JOIN DRAD AS b&lt;/P&gt;&lt;P&gt;    ON a&lt;SUB&gt;f3 LIKE b&lt;/SUB&gt;objky&lt;/P&gt;&lt;P&gt;  FOR ALL ENTRIES IN IL_STBX&lt;/P&gt;&lt;P&gt;    Where a~f3 = IL_STBX-f1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 08:41:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3134126#M744660</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T08:41: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/3134127#M744661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How should a 'LIKE' in the ON condition work? I have never seen that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Think, only EQ is allowed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siegfried&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 08:44:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3134127#M744661</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T08:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3134128#M744662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Boes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even if i maintain EQ, system is prompting the syntax error &lt;/P&gt;&lt;P&gt;'The formal argument "AS" occurs twice.'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 08:51:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3134128#M744662</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T08:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3134129#M744663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Data: begin of itab1 occurs 0,&lt;/P&gt;&lt;P&gt;         a1 type aaa-a1,&lt;/P&gt;&lt;P&gt;         end of itab1.&lt;/P&gt;&lt;P&gt;data: wa like line of itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: begin of itab2 occurs 0,&lt;/P&gt;&lt;P&gt;         a1 type aaa1-a1,&lt;/P&gt;&lt;P&gt;         a2 type aaa1-a2,&lt;/P&gt;&lt;P&gt;         end of itab2.&lt;/P&gt;&lt;P&gt;data: wa1 like line of itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: begin of final occurs 0,&lt;/P&gt;&lt;P&gt;         a1 type aaa-a1,&lt;/P&gt;&lt;P&gt;         a2 type aaa1-a2,&lt;/P&gt;&lt;P&gt;         end of final.&lt;/P&gt;&lt;P&gt;data: wa_final like line of final.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters: bb type jj-bb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select &amp;lt;field name a1&amp;gt; from &amp;lt;table name&amp;gt; into table &amp;lt;itab1&amp;gt;&lt;/P&gt;&lt;P&gt;                                     where kk = bb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select &amp;lt;field name a2&amp;gt; from &amp;lt;table name&amp;gt; into table &amp;lt;itab2&amp;gt;&lt;/P&gt;&lt;P&gt;  for all entries in itab1 where a1 = itab1-a1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab1 into wa.&lt;/P&gt;&lt;P&gt; read table itab2 into wa1 with key a1 = wa-a1.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;wa_final-a1 = wa-a1.&lt;/P&gt;&lt;P&gt;wa_final-a2 = wa1-a2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append wa_final to it_final.&lt;/P&gt;&lt;P&gt;clear wa_final.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 08:59:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3134129#M744663</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T08:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3134130#M744664</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;Here the require code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at IT_FUNcMod.&lt;/P&gt;&lt;P&gt;loop at MARC where fld1 = IT_FUNcMod-Fld1.&lt;/P&gt;&lt;P&gt;read table DRAD with key Objky = MARC-matnr .&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;  IT_NEW-f1 = IT_FUNcMod-f1 . &lt;/P&gt;&lt;P&gt;   IT_NEW-f2 = IT_FUNcMod-f2 . &lt;/P&gt;&lt;P&gt; IT_NEW-f3 = MARC-f3 . &lt;/P&gt;&lt;P&gt; IT_NEW-f4 = MARC-f4 . &lt;/P&gt;&lt;P&gt; IT_NEW-f5 = DRAD-f5 . &lt;/P&gt;&lt;P&gt; IT_NEW-f6 = DRAD-f6 . &lt;/P&gt;&lt;P&gt;APPEND IT_NEW.&lt;/P&gt;&lt;P&gt;CLEAR IT_NEW.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now IT_NEW contains required data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rama.Pammi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 09:36:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3134130#M744664</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T09:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3134131#M744665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rama,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your inputs, the system prompts the following error message when i do syntax check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"VERSION ... ." expected after "MARC".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to resolve?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 09:51:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3134131#M744665</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T09:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3134132#M744666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi vivek..&lt;/P&gt;&lt;P&gt;do one thing.just declare a internal table like this..&lt;/P&gt;&lt;P&gt;data itab_marc type standard table of marc with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then..&lt;/P&gt;&lt;P&gt;select ur fields from marc into table itab_marc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; loop at itab_funcmod.&lt;/P&gt;&lt;P&gt;loop at itab_marc (instead of marc)..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope this solves the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 12:22:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3134132#M744666</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T12:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3134133#M744667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Kamini Rawat on Dec 27, 2007 1:30 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 12:22:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3134133#M744667</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T12:22:47Z</dc:date>
    </item>
  </channel>
</rss>

