<?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: table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table/m-p/3693466#M889367</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose that the common fields are a,b,c,d,e. Then declare a internal table like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data: Begin of itab occurs 0,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;           &lt;STRONG&gt;a type a,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;           &lt;STRONG&gt;b type b,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;           &lt;STRONG&gt;c type c,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;           &lt;STRONG&gt;d type d,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;           &lt;STRONG&gt;e type e,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;         &lt;STRONG&gt;End of itab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It will fulfill your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;AMK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Apr 15, 2008 4:50 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Apr 2008 20:46:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-15T20:46:34Z</dc:date>
    <item>
      <title>table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table/m-p/3693464#M889365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;can any body  send me sample code for....&lt;/P&gt;&lt;P&gt;  i have some (5) common fields from different 4 data base tables. I want to built internal table  which includes this 5 common fields for further processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 20:32:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table/m-p/3693464#M889365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-15T20:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table/m-p/3693465#M889366</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;PRE&gt;&lt;CODE&gt;
Types: begin of ty_data.
types: custfield1 type ...
types: custfield2....
etc...
Types: end of ty_data.

*then create your itab based on the type
Data: itab type table of ty_data.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 20:37:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table/m-p/3693465#M889366</guid>
      <dc:creator>b_deterd2</dc:creator>
      <dc:date>2008-04-15T20:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table/m-p/3693466#M889367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose that the common fields are a,b,c,d,e. Then declare a internal table like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data: Begin of itab occurs 0,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;           &lt;STRONG&gt;a type a,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;           &lt;STRONG&gt;b type b,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;           &lt;STRONG&gt;c type c,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;           &lt;STRONG&gt;d type d,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;           &lt;STRONG&gt;e type e,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;         &lt;STRONG&gt;End of itab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It will fulfill your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;AMK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Apr 15, 2008 4:50 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 20:46:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table/m-p/3693466#M889367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-15T20:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table/m-p/3693467#M889368</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;Thanks for reply.&lt;/P&gt;&lt;P&gt;But  my problem is my x ,y  fields is in 1 data base  table .&lt;/P&gt;&lt;P&gt;                                 y,z,a,b fields in  2nd DB table.&lt;/P&gt;&lt;P&gt;                            &lt;/P&gt;&lt;P&gt;I want all field a,b,x,y,z in my internal table . &lt;/P&gt;&lt;P&gt;So i want to know how data can be stored in itab.&lt;/P&gt;&lt;P&gt;should i use join?&lt;/P&gt;&lt;P&gt;if yes how?&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 21:23:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table/m-p/3693467#M889368</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-15T21:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table/m-p/3693468#M889369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;using a join would be a possibility.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select (list all fields you want in same order as in internal table like this table1-fieldx&lt;/P&gt;&lt;P&gt;          table1-fieldy&lt;/P&gt;&lt;P&gt;          table2-fieldz&lt;/P&gt;&lt;P&gt;from table1 inner join&lt;/P&gt;&lt;P&gt;        table2 on table1&lt;SUB&gt;fieldx = table2&lt;/SUB&gt;fieldx&lt;/P&gt;&lt;P&gt;into (corresponding fields of) table itab&lt;/P&gt;&lt;P&gt;where .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use F1 help on select for better understanding of INNER JOIN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 21:28:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table/m-p/3693468#M889369</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-04-15T21:28:30Z</dc:date>
    </item>
  </channel>
</rss>

