<?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 DIFF: Field string ,Structure and Internal table declaration in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-field-string-structure-and-internal-table-declaration/m-p/2282915#M497142</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;       what is the diference between  Field string ,Structure in ABAP program and Internal table declaration and how it will work ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;ASHOK KUMAR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 May 2007 04:17:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-23T04:17:40Z</dc:date>
    <item>
      <title>DIFF: Field string ,Structure and Internal table declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-field-string-structure-and-internal-table-declaration/m-p/2282915#M497142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;       what is the diference between  Field string ,Structure in ABAP program and Internal table declaration and how it will work ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;ASHOK KUMAR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 04:17:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-field-string-structure-and-internal-table-declaration/m-p/2282915#M497142</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T04:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: DIFF: Field string ,Structure and Internal table declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-field-string-structure-and-internal-table-declaration/m-p/2282916#M497143</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;Structure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Types : Begin of st,&lt;/P&gt;&lt;P&gt;    &amp;lt;include fields wth data type&amp;gt;,&lt;/P&gt;&lt;P&gt;           End of sr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Internal table &lt;/P&gt;&lt;P&gt;Data : itab type standard table of st .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;P&gt;Reward if helpful &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 04:23:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-field-string-structure-and-internal-table-declaration/m-p/2282916#M497143</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T04:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: DIFF: Field string ,Structure and Internal table declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-field-string-structure-and-internal-table-declaration/m-p/2282917#M497144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ashok,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;internal tables: used for temporary storages.internal tables can be with or with out header lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;structures: used to different fields together in a single unit. it doesnt occupy any memory. it doesnt hav any primary key. its just a template.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field symbols: using this field symbols we can store any type of data. i.e for internal tables we declare a table with respect to a table.and we cant store data of another table in that table where as a field symbol can be used for generic purpose.&lt;/P&gt;&lt;P&gt;i.e we can store any table data in it. it depends on runtime what kind of data that we r using that field symbol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;suresh babu aluri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 04:24:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-field-string-structure-and-internal-table-declaration/m-p/2282917#M497144</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T04:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: DIFF: Field string ,Structure and Internal table declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-field-string-structure-and-internal-table-declaration/m-p/2282918#M497145</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;Look this u will get a good idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Report  ZTYPES                                                      *
*&amp;amp;                                                                     *
*&amp;amp;---------------------------------------------------------------------*
REPORT  ZTYPES                                                  .

* Table declaration (old method)
DATA: BEGIN OF tab_ekpo OCCURS 0,             "itab with header line
  ebeln TYPE ekpo-ebeln,
  ebelp TYPE ekpo-ebelp,
 END OF tab_ekpo.

*Table declaration (new method)     "USE THIS WAY!!!
TYPES: BEGIN OF t_ekpo,
  ebeln TYPE ekpo-ebeln,
  ebelp TYPE ekpo-ebelp,
 END OF t_ekpo.
DATA: it_ekpo TYPE STANDARD TABLE OF t_ekpo INITIAL SIZE 0,      "itab
      wa_ekpo TYPE t_ekpo.                    "work area (header line)

* Build internal table and work area from existing internal table
DATA: it_datatab LIKE tab_ekpo OCCURS 0,      "old method
      wa_datatab LIKE LINE OF tab_ekpo.

* Build internal table and work area from existing internal table,
* adding additional fields
TYPES: BEGIN OF t_repdata.
        INCLUDE STRUCTURE tab_ekpo.  "could include EKKO table itself!!
TYPES: bukrs  TYPE ekpo-werks,
       bstyp  TYPE ekpo-bukrs.
TYPES: END OF t_repdata.
DATA: it_repdata TYPE STANDARD TABLE OF t_repdata INITIAL SIZE 0,   "itab
      wa_repdata TYPE t_repdata.                 "work area (header line)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Reshma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 04:28:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-field-string-structure-and-internal-table-declaration/m-p/2282918#M497145</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T04:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: DIFF: Field string ,Structure and Internal table declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-field-string-structure-and-internal-table-declaration/m-p/2282919#M497146</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 itab occurs 0.&lt;/P&gt;&lt;P&gt;include sctruture mara.&lt;/P&gt;&lt;P&gt;end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now iTAB HAS THE STRUTURE OF MARA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&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;---  DECLARE ALL FIELDS INDIVIDUALLY&lt;/P&gt;&lt;P&gt;end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO STRUCTURE HELPS TO DO IN A SINGLE STEP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;venki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 04:29:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-field-string-structure-and-internal-table-declaration/m-p/2282919#M497146</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T04:29:53Z</dc:date>
    </item>
  </channel>
</rss>

