<?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: question on structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719683#M314224</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take for example CAUFVD - is a structure for Order Headers and Items.&lt;/P&gt;&lt;P&gt;But in the Module Pool program SAPLCOIH (IW31,IW31, IW33 Transactions) you can find the declarations of the include LCOIHTOP as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----- Tabellen -&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------" /&gt;&lt;P&gt; *&lt;/P&gt;&lt;P&gt;TABLES: CAUFVD. "Dialog Table Struktur Header&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the reason that the structures contain data at run time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default your structure cannot hold data as the normal database table do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is what you are expecting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kathirvel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 18 Nov 2006 11:31:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-18T11:31:51Z</dc:date>
    <item>
      <title>question on structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719678#M314219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;does structure contains data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Nov 2006 07:56:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719678#M314219</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-18T07:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: question on structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719679#M314220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Structure will never contain data, its only the tables that contain the data.&lt;/P&gt;&lt;P&gt;Structures are generally used to temporarily stored data in your program or can be screen fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note - Please mark the helpful answers and close the thread if the question is answered&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Nov 2006 08:03:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719679#M314220</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-18T08:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: question on structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719680#M314221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;structure doen not contain any data &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb2fcc358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb2fcc358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The instances of structured types are known as structures, and are used 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 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;P&gt;&lt;/P&gt;&lt;P&gt;The following terms are important when we talk about structures:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Nested and non-nested structures&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Flat and deep structures&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nestedstructures are structures that in turn contain one or more other structures as components.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flatstructures contain only elementary data types of fixed length (no internal tables, reference types, or strings). The term flat structure can apply regardless of whether the structure is nested or not. Nested structures are flat so long as none of the specified types is contained in any nesting level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any structure that contains at least one internal table, reference type, or string as a component (regardless of nesting) is known accordingly as a deep structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only in the case of flat structures is the data content of the structure actually within the memory of the structure itself, while deep structures contain pointers to the data at the position of the deepest components. Since the field contents are not stored with the field descriptions in the case of deep structures, assignments, offset and length specifications and other operations are handled differently from flat structures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mahya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Nov 2006 08:06:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719680#M314221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-18T08:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: question on structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719681#M314222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The structure that we create in program are workareas where we can store the data from internal tables. They are similar to headerline of the internalt table. We declare structure using data statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data : begin of itab,
 ebeln like ekpo-ebeln,
 ebelp like ekpo-ebelp,
end of itab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or we can declare a type. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;types : begin of ttab,
 ebeln like ekpo-ebeln,
 ebelp like ekpo-ebelp,
end of ttab.
data : itab type ttab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So during run time the structure contain the data from the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;i&amp;gt;if hlped kindly mark points&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Nov 2006 10:14:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719681#M314222</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-11-18T10:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: question on structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719682#M314223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Structure is varible which holds collection of data instead of single value.&lt;/P&gt;&lt;P&gt;the data in structure persistent only at runtime.&lt;/P&gt;&lt;P&gt;it is similar to your internal table,.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Nov 2006 11:12:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719682#M314223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-18T11:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: question on structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719683#M314224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take for example CAUFVD - is a structure for Order Headers and Items.&lt;/P&gt;&lt;P&gt;But in the Module Pool program SAPLCOIH (IW31,IW31, IW33 Transactions) you can find the declarations of the include LCOIHTOP as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----- Tabellen -&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------" /&gt;&lt;P&gt; *&lt;/P&gt;&lt;P&gt;TABLES: CAUFVD. "Dialog Table Struktur Header&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the reason that the structures contain data at run time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default your structure cannot hold data as the normal database table do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is what you are expecting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kathirvel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Nov 2006 11:31:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719683#M314224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-18T11:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: question on structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719684#M314225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramesh..&lt;/P&gt;&lt;P&gt;Structure will only contain data during runtime. There is no underlying table maintain for structure in database hence they can not stored persistence data ..&lt;/P&gt;&lt;P&gt;It is populated during runtime and exist till the life time of processing block in which it is decalred...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves ur doubt...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enjoy SAP.&lt;/P&gt;&lt;P&gt;Pankaj Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Nov 2006 11:37:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-structure/m-p/1719684#M314225</guid>
      <dc:creator>messier31</dc:creator>
      <dc:date>2006-11-18T11:37:52Z</dc:date>
    </item>
  </channel>
</rss>

