<?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 tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3698331#M890489</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i did not understand your problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as the internal tables are different your way to access the fields in the internal tables will be different&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it1 has matnr,werks,maktx and it2 has matnr,werks,ebeln,ebelp,meins&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;declare like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of it1 occurs 0,&lt;/P&gt;&lt;P&gt;          matnr like mara-matnr,&lt;/P&gt;&lt;P&gt;          werks type WERKS_D,&lt;/P&gt;&lt;P&gt;          maktx type maktx,&lt;/P&gt;&lt;P&gt;           end of it1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of it2 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;ebeln like ekko-ebeln,&lt;/P&gt;&lt;P&gt;ebelp like ekpo-ebelp,&lt;/P&gt;&lt;P&gt;meins like ekpo-meins,&lt;/P&gt;&lt;P&gt;end of it2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you acess the fields from first table you write as it1-matnr&lt;/P&gt;&lt;P&gt;and from second as it2-matnr so both are different&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Apr 2008 07:01:26 GMT</pubDate>
    <dc:creator>prasanth_kasturi</dc:creator>
    <dc:date>2008-04-17T07:01:26Z</dc:date>
    <item>
      <title>internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3698327#M890485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have 2 internal tables it1,it2 in which 2 fields matnr,werks are repeating.then how ihave to declare it1,it2?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e it1 has matnr,werks,maktx and it2 has matnr,werks,ebeln,ebelp,meins.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 06:44:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3698327#M890485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-17T06:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3698328#M890486</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;data: begin of it1 occurs 0,
matnr like mara-matnr,
werks like mara-werks,
maktx like makt-maktx,
end of it1.

data: begin of it2 occurs 0,
matnr like marc-matnr,
werks like marc-werks,
ebeln like ekko-ebeln,
ebelp like ekpo-ebelp,
meins like ekpo-meins,
end of it2.


data: begin of it_final occurs 0,
matnr like mara-matnr,
werks like mara-werks,
maktx like makt-maktx,
ebeln like ekko-ebeln,
ebelp like ekpo-ebelp,
meins like ekpo-meins,
end of it_final.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;S.Nehru.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 06:51:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3698328#M890486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-17T06:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3698329#M890487</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;data: begin of it1 occurs 0,&lt;/P&gt;&lt;P&gt;matnr like mara-matnr,&lt;/P&gt;&lt;P&gt;werks like mara-werks,&lt;/P&gt;&lt;P&gt;maktx like makt-maktx,&lt;/P&gt;&lt;P&gt;end of it1.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;data: begin of it2 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;ebeln like ekko-ebeln,&lt;/P&gt;&lt;P&gt;ebelp like ekpo-ebelp,&lt;/P&gt;&lt;P&gt;meins like ekpo-meins,&lt;/P&gt;&lt;P&gt;end of it2.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;data: begin of it_collection occurs 0,&lt;/P&gt;&lt;P&gt;matnr like mara-matnr,&lt;/P&gt;&lt;P&gt;werks like mara-werks,&lt;/P&gt;&lt;P&gt;maktx like makt-maktx,&lt;/P&gt;&lt;P&gt;ebeln like ekko-ebeln,&lt;/P&gt;&lt;P&gt;ebelp like ekpo-ebelp,&lt;/P&gt;&lt;P&gt;meins like ekpo-meins,&lt;/P&gt;&lt;P&gt;end of it_collection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz Rewards points if useful,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ganesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 06:59:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3698329#M890487</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-17T06:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3698330#M890488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai,&lt;/P&gt;&lt;P&gt;Declare two Different structure with corresponding fields&lt;/P&gt;&lt;P&gt;or put matnr werks in single structure and include it in the both structures&lt;/P&gt;&lt;P&gt;and declare internal table type of corresponding structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of x_it1 ,&lt;/P&gt;&lt;P&gt;matnr like mara-matnr,&lt;/P&gt;&lt;P&gt;werks like mara-werks,&lt;/P&gt;&lt;P&gt;maktx like makt-maktx,&lt;/P&gt;&lt;P&gt;end of x_it1.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;data: begin of x_it2 ,&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;ebeln like ekko-ebeln,&lt;/P&gt;&lt;P&gt;ebelp like ekpo-ebelp,&lt;/P&gt;&lt;P&gt;meins like ekpo-meins,&lt;/P&gt;&lt;P&gt;end of x_it2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: it1 type  standard table of x_it1_type with header line,&lt;/P&gt;&lt;P&gt;      it2 type  standard table of x_it2 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Sarath p&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sarath p on Apr 17, 2008 9:01 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 07:00:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3698330#M890488</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-17T07:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3698331#M890489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i did not understand your problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as the internal tables are different your way to access the fields in the internal tables will be different&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it1 has matnr,werks,maktx and it2 has matnr,werks,ebeln,ebelp,meins&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;declare like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of it1 occurs 0,&lt;/P&gt;&lt;P&gt;          matnr like mara-matnr,&lt;/P&gt;&lt;P&gt;          werks type WERKS_D,&lt;/P&gt;&lt;P&gt;          maktx type maktx,&lt;/P&gt;&lt;P&gt;           end of it1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of it2 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;ebeln like ekko-ebeln,&lt;/P&gt;&lt;P&gt;ebelp like ekpo-ebelp,&lt;/P&gt;&lt;P&gt;meins like ekpo-meins,&lt;/P&gt;&lt;P&gt;end of it2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you acess the fields from first table you write as it1-matnr&lt;/P&gt;&lt;P&gt;and from second as it2-matnr so both are different&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 07:01:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/3698331#M890489</guid>
      <dc:creator>prasanth_kasturi</dc:creator>
      <dc:date>2008-04-17T07:01:26Z</dc:date>
    </item>
  </channel>
</rss>

