<?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: Deep Structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/deep-structure/m-p/3716987#M894801</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;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;In general,&lt;/P&gt;&lt;P&gt;If a structure includes another structure as one of&lt;/P&gt;&lt;P&gt;it components then such types of structure is called &lt;/P&gt;&lt;P&gt;as deep structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Apr 2008 08:58:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-25T08:58:35Z</dc:date>
    <item>
      <title>Deep Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deep-structure/m-p/3716986#M894800</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;Can anybody describe me what is the deep structure and whats their use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2008 08:54:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deep-structure/m-p/3716986#M894800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-25T08:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deep-structure/m-p/3716987#M894801</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;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;In general,&lt;/P&gt;&lt;P&gt;If a structure includes another structure as one of&lt;/P&gt;&lt;P&gt;it components then such types of structure is called &lt;/P&gt;&lt;P&gt;as deep structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2008 08:58:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deep-structure/m-p/3716987#M894801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-25T08:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deep-structure/m-p/3716988#M894802</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;&lt;STRONG&gt;Data Types&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;All programming languages distinguish between various types of data with various uses, such as &amp;#133;.. type data for storing or displaying values and numerical data for calculations. The attributes in question are described using data types. You can define, for example, how data is stored in the repository, and how the ABAP statements work with the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data types can be divided into elementary, reference, and complex types. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Elementary Types&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;These are data types of fixed or variable length that are not made up of other types. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The difference between variable length data types and fixed length data types is that the length and the memory space required by data objects of variable length data types can change dynamically during runtime, and that these data types cannot be defined irreversibly while the data object is being declared.&lt;/P&gt;&lt;P&gt;Predefined and User-Defined Elementary Data Types&lt;/P&gt;&lt;P&gt;You can also define your own elementary data types in ABAP using the TYPES statement. You base these on the predefined data types. This determines all of the technical attributes of the new data type. For example, you could define a data type P_2 with two decimal places, based on the predefined data type P. You could then use this new type in your data declarations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reference Types&lt;/P&gt;&lt;P&gt;Reference types are deep data types that describe reference variables, that is, data objects that contain references. A reference variable can be defined as a component of a complex data object such as a structure or internal table as well as a single field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Complex Data Types&lt;/P&gt;&lt;P&gt;Complex data types are made up of other data types. A distinction is made here between structured types and table types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Structures&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;&lt;STRONG&gt;The following terms are important when we talk about structures:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;·        Nested and non-nested structures&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;·        Flat and deep structures&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Nestedstructures are structures that in turn contain one or more other structures as components.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&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;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&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;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&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;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Internal Tables&lt;/P&gt;&lt;P&gt;Internal tables consists of a series of lines that all have the same data type. Internal tables are characterized by:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Their line type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        A table key that is used to identify table rows. The key can be unique or non-unique.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        The table type that defines how ABAP will access individual table entries (non-sorted and sorted index tables and hash tables).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should use internal tables whenever you need to use structured data within a program. One imprint use is to store data from the database within a program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Examples for Complex Data Types&lt;/P&gt;&lt;P&gt;The following list contains examples of complex data types in ascending order of complexity:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       1.      Structures consisting of a series of elementary data types of fixed length (non-nested, flat structures)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       2.      An internal table whose line type is an elementary type (vector).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       3.      Internal tables whose line type is a non-nested structure ('real' table)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       4.      Structures with structures as components (nested structures, flat or deep)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       5.      structures containing internal tables as components (deep structures)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       6.      Internal tables whose line type contains further internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2008 08:59:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deep-structure/m-p/3716988#M894802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-25T08:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deep-structure/m-p/3716989#M894803</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;&lt;STRONG&gt;Any structure that contains at least one internal table, reference type, or string as a component (regardless of nesting) is a deep structure&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Accordingly, internal tables, references, and strings are also known as deep data types&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The technical difference between deep structures and all others is as follows. When you create a deep structure, the system creates a pointer in memory that points to the real field contents or other administrative information. When you create a flat data type, the actual field contents are stored with the type in memory. 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;&lt;/P&gt;&lt;P&gt;check out for more info&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/90/8d7301b1af11d194f600a0c929b3c3/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/90/8d7301b1af11d194f600a0c929b3c3/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2008 09:00:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deep-structure/m-p/3716989#M894803</guid>
      <dc:creator>prasanth_kasturi</dc:creator>
      <dc:date>2008-04-25T09:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deep-structure/m-p/3716990#M894804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi  check the useage of deep structures..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="749578"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2008 09:07:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deep-structure/m-p/3716990#M894804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-25T09:07:01Z</dc:date>
    </item>
  </channel>
</rss>

