<?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: Diff b/w Structure and work area in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-structure-and-work-area/m-p/2045463#M421136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Senthil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per the auestion I understood that u wanted to ask whether there is any memory allocated for a structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the answer is that the Memory is allocated for the structure only at the runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this resolves your query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all the helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Mar 2007 06:48:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-15T06:48:38Z</dc:date>
    <item>
      <title>Diff b/w Structure and work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-structure-and-work-area/m-p/2045457#M421130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can u tell me the difference between structure and work area?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 06:22:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-structure-and-work-area/m-p/2045457#M421130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T06:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Diff b/w Structure and work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-structure-and-work-area/m-p/2045458#M421131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Senthil,&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;Structures contains group of fields under a common name. It is similar to database table but it does not have the contents, primary keys and technical attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WORKAREA:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WorkArea can store one record at a time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Structure does not contain any data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;work area contains only single record of that structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : being of ty_tab,&lt;/P&gt;&lt;P&gt;matnr type mara-matnr,&lt;/P&gt;&lt;P&gt;ernam type mara-ernam,&lt;/P&gt;&lt;P&gt;end of ty_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : it_tab type standard table of ty_tab initial size 0. (this is internal table of type ty_tab&lt;/P&gt;&lt;P&gt;data : is_tab type ty_tab. ( this is work area for the structure ty_tab)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Priyanka.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 06:24:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-structure-and-work-area/m-p/2045458#M421131</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T06:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Diff b/w Structure and work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-structure-and-work-area/m-p/2045459#M421132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At the outset, there cannot be a comparision made between structure and workarea as the Structure is used to define a work area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Talking about how they are defined and work, Structure is the Data Dictionary element and Workarea is what u define in the program (this is the only difference i can see.). Also Workareas are called INTERNAL DATA OBJECTS and Structures are EXTERNAL DATA OBJECTS defined in the data dictionary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Workareas are intended to store one record at anytime and structures are just Skeletons based on which workareas are defined&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 06:26:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-structure-and-work-area/m-p/2045459#M421132</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T06:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Diff b/w Structure and work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-structure-and-work-area/m-p/2045460#M421133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;A structure is a user-defined sequence of data types. It fully defines the data object. You can either access the entire data object, or its individual components. ABAP has no predefined structures. You therefore need to define your own structures, either in the ABAP program in which you want to use it, or in the ABAP Dictionary.&lt;/P&gt;&lt;P&gt;You use structures in ABAP programs to group work areas that logically belong together. Since the individual elements within a structure can be of any type, and can also themselves be structures or internal tables, the possible uses of structures are very wide-ranging. For example, you can use a structure with elementary data types to display lines from a database table within a&lt;/P&gt;&lt;P&gt;program. You can also use structures containing aggregated elements to include all of the attributes of a screen or control in a single data object.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 06:32:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-structure-and-work-area/m-p/2045460#M421133</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T06:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: Diff b/w Structure and work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-structure-and-work-area/m-p/2045461#M421134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi senthil,&lt;/P&gt;&lt;P&gt;     if u want know difference between wa and structure you first learn about those two then you can able to find the diff. I hope this is usefull.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 06:34:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-structure-and-work-area/m-p/2045461#M421134</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T06:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Diff b/w Structure and work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-structure-and-work-area/m-p/2045462#M421135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi priyanka, &lt;/P&gt;&lt;P&gt;                    Thnks for ur reply, i have one doubt that we can store one record in structure also right..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ty_tab-matnr = value.&lt;/P&gt;&lt;P&gt;ty_tab-ernam= value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thats what i am getting confused.. is there any memory will be alotted to structure or what can u make it clear?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 06:41:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-structure-and-work-area/m-p/2045462#M421135</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T06:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: Diff b/w Structure and work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-structure-and-work-area/m-p/2045463#M421136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Senthil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per the auestion I understood that u wanted to ask whether there is any memory allocated for a structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the answer is that the Memory is allocated for the structure only at the runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this resolves your query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all the helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 06:48:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-structure-and-work-area/m-p/2045463#M421136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T06:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Diff b/w Structure and work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-structure-and-work-area/m-p/2045464#M421137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;structure and work area both holds only one row at time.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;But structure does this only at runtime......so we can say that memory allocation &lt;/P&gt;&lt;P&gt;for structure is done at runtime.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 06:55:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-structure-and-work-area/m-p/2045464#M421137</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T06:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Diff b/w Structure and work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-structure-and-work-area/m-p/2045465#M421138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry i am not enough clear what you are telling the memory by&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ty_tab-matnr = value.&lt;/P&gt;&lt;P&gt; but though structure is in database you cannot insert any value to it structure is only containing one set of value at run time (it may be from your screen or any thing and you have to only assign the value). so it is not like table and every time it will run it may contain different value (as you will ssign to it)..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 06:57:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-structure-and-work-area/m-p/2045465#M421138</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T06:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Diff b/w Structure and work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-structure-and-work-area/m-p/2045466#M421139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Structure can be globally declared in SE11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create work areas locally in your programs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 07:03:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-structure-and-work-area/m-p/2045466#M421139</guid>
      <dc:creator>Azeemquadri</dc:creator>
      <dc:date>2007-03-15T07:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: Diff b/w Structure and work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-structure-and-work-area/m-p/2045467#M421140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Azeem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                       we can also declare structure in our program na..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 07:23:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-structure-and-work-area/m-p/2045467#M421140</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T07:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: Diff b/w Structure and work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-structure-and-work-area/m-p/2045468#M421141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Structure defines the skeletal form of how u want ur table to look like. it cannot be used to store values as u have asked hence it does not occupy memory as such. if u want to assign values define a table or workarea( a single record defined using the structure) and store the values . hope this clears u doubt.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 07:23:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-structure-and-work-area/m-p/2045468#M421141</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T07:23:55Z</dc:date>
    </item>
  </channel>
</rss>

