<?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: Structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/3236528#M772335</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi venkat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is not a flat structure it will be an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;internal tables can be declared using types and data statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax Forms &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Predefined Types &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. TYPES { {dtype[(len)] TYPE abap_type [DECIMALS dec]} &lt;/P&gt;&lt;P&gt;        | {dtype TYPE abap_type [LENGTH len] [DECIMALS dec]} }. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer to Existing Types &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. TYPES dtype { {TYPE [LINE OF] type} &lt;/P&gt;&lt;P&gt;              | {LIKE [LINE OF] dobj} }. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reference Types &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. TYPES dtype { {TYPE REF TO type} &lt;/P&gt;&lt;P&gt;              | {LIKE REF TO dobj} }. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Structured Types &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. TYPES BEGIN OF struc_type. &lt;/P&gt;&lt;P&gt;     ... &lt;/P&gt;&lt;P&gt;     {TYPES dtype ...} | {INCLUDE {TYPE|STRUCTURE} ...}. &lt;/P&gt;&lt;P&gt;     ... &lt;/P&gt;&lt;P&gt;  TYPES END OF struc_type. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table Types &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. TYPES dtype { {TYPE tabkind OF [REF TO] type} &lt;/P&gt;&lt;P&gt;              | {LIKE tabkind OF dobj} } &lt;/P&gt;&lt;P&gt;              [WITH key] [INITIAL SIZE n]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ranges Table Types &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. TYPES dtype {TYPE RANGE OF type}|{LIKE RANGE OF dobj} &lt;/P&gt;&lt;P&gt;                  [INITIAL SIZE n]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;The TYPES statement defines either an independent data type dtype or a structured data type struc_type. The naming conventions apply to the names dtype and struc_type. The defined data type can be viewed within the current context from this position. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any data type dtype is either defined with the addition TYPE and a type, or with the addition LIKE and a data object. The syntax allows you to define elementary data types, reference types, structured types, and table types. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the definition of a structured type struc_type, any type definitions of two TYPES statements are included with the additions BEGIN OF and END OF; a structured data type struc_type is defined here, which contains the included data types as components struc_type-dtype. The structure definitions can be nested. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax Forms &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using Predefined Types &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. DATA { {var[(len)] TYPE abap_type [DECIMALS dec]} &lt;/P&gt;&lt;P&gt;       | {var TYPE abap_type [LENGTH len] [DECIMALS dec]} } &lt;/P&gt;&lt;P&gt;       [VALUE val|{IS INITIAL}] &lt;/P&gt;&lt;P&gt;       [READ-ONLY]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reference to Existing Types &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. DATA var { {TYPE [LINE OF] type} &lt;/P&gt;&lt;P&gt;           | {LIKE [LINE OF] dobj} } &lt;/P&gt;&lt;P&gt;           [VALUE val|{IS INITIAL}] &lt;/P&gt;&lt;P&gt;           [READ-ONLY]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reference Variables &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. DATA ref { {TYPE REF TO type} &lt;/P&gt;&lt;P&gt;           | {LIKE REF TO dobj} } &lt;/P&gt;&lt;P&gt;           [VALUE IS INITIAL] &lt;/P&gt;&lt;P&gt;           [READ-ONLY]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Structures &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. DATA BEGIN OF struc [READ-ONLY]. &lt;/P&gt;&lt;P&gt;     ... &lt;/P&gt;&lt;P&gt;     {DATA comp ...} | {INCLUDE {TYPE|STRUCTURE} ...}. &lt;/P&gt;&lt;P&gt;     ... &lt;/P&gt;&lt;P&gt;  DATA END OF struc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Internal Tables &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. DATA itab { {TYPE tabkind OF [REF TO] type} &lt;/P&gt;&lt;P&gt;            | {LIKE tabkind OF dobj} } &lt;/P&gt;&lt;P&gt;            [WITH key] [INITIAL SIZE n] &lt;/P&gt;&lt;P&gt;            [WITH HEADER LINE] &lt;/P&gt;&lt;P&gt;            [VALUE IS INITIAL] &lt;/P&gt;&lt;P&gt;            [READ-ONLY]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ranges Table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. DATA rtab {TYPE RANGE OF type}|{LIKE RANGE OF dobj} &lt;/P&gt;&lt;P&gt;            [INITIAL SIZE n] &lt;/P&gt;&lt;P&gt;            [WITH HEADER LINE] &lt;/P&gt;&lt;P&gt;            [VALUE IS INITIAL] &lt;/P&gt;&lt;P&gt;            [READ-ONLY]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;The statement DATA declares a variable of any data type. The declared data object is visible within the current context as of this position. Within the declaration part of a class or an interface, DATA declares an instance attribute whose validity is bound to an instance of a class. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data type of arbitrary variables var, reference variables ref , and internal tables itab, rtab, is defined either using the TYPE addition and a type specification, or using the LIKE addition and the specification of a data object. There are different syntax variants for the definition of elementary data objects, reference variables, and internal tables. If neither TYPE nor LIKE is specified, a data object with the bound data type c of length 1 is created. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the definition of a structure struc, arbitrary data declarations are included by two DATA statements with the additions BEGIN OF and END OF. Here a struc structure is declared that contains the enclosed data objects comp as a struc-comp component. Structure definitions can be nested. &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;sravanthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jan 2008 14:41:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-10T14:41:34Z</dc:date>
    <item>
      <title>Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/3236526#M772333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         If it is not a flat structure. How can be used it? How to declare it? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give reply it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Venkat V G Murali Mohan M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2008 12:40:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/3236526#M772333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-10T12:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/3236527#M772334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it is not a structure, it would be an internal table. Internal tables are used to hold more than one line of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are several ways to declare it depending on your requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. an internal table with a line type of VBAK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: lt_vbak type table of vbak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field-symbols: &amp;lt;fs_vbak&amp;gt; type vbak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from vbak into table lt_vbak&lt;/P&gt;&lt;P&gt;          where (your conditions).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at lt_vbak assigning &amp;lt;fs_vbak&amp;gt;.&lt;/P&gt;&lt;P&gt;  :&lt;/P&gt;&lt;P&gt;  :&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also have custom defined internal tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types: begin of ty_order,&lt;/P&gt;&lt;P&gt;             vbeln type vbeln_va,&lt;/P&gt;&lt;P&gt;             kunnr type kunag,&lt;/P&gt;&lt;P&gt;                 :&lt;/P&gt;&lt;P&gt;                 :&lt;/P&gt;&lt;P&gt;          end of ty_order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table. Internal tables are used to hold more than one line of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are several ways to declare it depending on your requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. an internal table with a line type of VBAK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: lt_order type table of ty_order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field-symbols: &amp;lt;fs_order&amp;gt; type ty_order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select vbeln&lt;/P&gt;&lt;P&gt;          kunnr&lt;/P&gt;&lt;P&gt;            :&lt;/P&gt;&lt;P&gt;          from vbak into table lt_order&lt;/P&gt;&lt;P&gt;          where (your conditions).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at lt_order assigning &amp;lt;fs_order&amp;gt;.&lt;/P&gt;&lt;P&gt;  :&lt;/P&gt;&lt;P&gt;  :&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2008 14:07:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/3236527#M772334</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-10T14:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/3236528#M772335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi venkat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is not a flat structure it will be an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;internal tables can be declared using types and data statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax Forms &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Predefined Types &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. TYPES { {dtype[(len)] TYPE abap_type [DECIMALS dec]} &lt;/P&gt;&lt;P&gt;        | {dtype TYPE abap_type [LENGTH len] [DECIMALS dec]} }. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer to Existing Types &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. TYPES dtype { {TYPE [LINE OF] type} &lt;/P&gt;&lt;P&gt;              | {LIKE [LINE OF] dobj} }. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reference Types &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. TYPES dtype { {TYPE REF TO type} &lt;/P&gt;&lt;P&gt;              | {LIKE REF TO dobj} }. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Structured Types &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. TYPES BEGIN OF struc_type. &lt;/P&gt;&lt;P&gt;     ... &lt;/P&gt;&lt;P&gt;     {TYPES dtype ...} | {INCLUDE {TYPE|STRUCTURE} ...}. &lt;/P&gt;&lt;P&gt;     ... &lt;/P&gt;&lt;P&gt;  TYPES END OF struc_type. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table Types &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. TYPES dtype { {TYPE tabkind OF [REF TO] type} &lt;/P&gt;&lt;P&gt;              | {LIKE tabkind OF dobj} } &lt;/P&gt;&lt;P&gt;              [WITH key] [INITIAL SIZE n]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ranges Table Types &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. TYPES dtype {TYPE RANGE OF type}|{LIKE RANGE OF dobj} &lt;/P&gt;&lt;P&gt;                  [INITIAL SIZE n]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;The TYPES statement defines either an independent data type dtype or a structured data type struc_type. The naming conventions apply to the names dtype and struc_type. The defined data type can be viewed within the current context from this position. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any data type dtype is either defined with the addition TYPE and a type, or with the addition LIKE and a data object. The syntax allows you to define elementary data types, reference types, structured types, and table types. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the definition of a structured type struc_type, any type definitions of two TYPES statements are included with the additions BEGIN OF and END OF; a structured data type struc_type is defined here, which contains the included data types as components struc_type-dtype. The structure definitions can be nested. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax Forms &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using Predefined Types &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. DATA { {var[(len)] TYPE abap_type [DECIMALS dec]} &lt;/P&gt;&lt;P&gt;       | {var TYPE abap_type [LENGTH len] [DECIMALS dec]} } &lt;/P&gt;&lt;P&gt;       [VALUE val|{IS INITIAL}] &lt;/P&gt;&lt;P&gt;       [READ-ONLY]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reference to Existing Types &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. DATA var { {TYPE [LINE OF] type} &lt;/P&gt;&lt;P&gt;           | {LIKE [LINE OF] dobj} } &lt;/P&gt;&lt;P&gt;           [VALUE val|{IS INITIAL}] &lt;/P&gt;&lt;P&gt;           [READ-ONLY]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reference Variables &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. DATA ref { {TYPE REF TO type} &lt;/P&gt;&lt;P&gt;           | {LIKE REF TO dobj} } &lt;/P&gt;&lt;P&gt;           [VALUE IS INITIAL] &lt;/P&gt;&lt;P&gt;           [READ-ONLY]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Structures &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. DATA BEGIN OF struc [READ-ONLY]. &lt;/P&gt;&lt;P&gt;     ... &lt;/P&gt;&lt;P&gt;     {DATA comp ...} | {INCLUDE {TYPE|STRUCTURE} ...}. &lt;/P&gt;&lt;P&gt;     ... &lt;/P&gt;&lt;P&gt;  DATA END OF struc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Internal Tables &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. DATA itab { {TYPE tabkind OF [REF TO] type} &lt;/P&gt;&lt;P&gt;            | {LIKE tabkind OF dobj} } &lt;/P&gt;&lt;P&gt;            [WITH key] [INITIAL SIZE n] &lt;/P&gt;&lt;P&gt;            [WITH HEADER LINE] &lt;/P&gt;&lt;P&gt;            [VALUE IS INITIAL] &lt;/P&gt;&lt;P&gt;            [READ-ONLY]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ranges Table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. DATA rtab {TYPE RANGE OF type}|{LIKE RANGE OF dobj} &lt;/P&gt;&lt;P&gt;            [INITIAL SIZE n] &lt;/P&gt;&lt;P&gt;            [WITH HEADER LINE] &lt;/P&gt;&lt;P&gt;            [VALUE IS INITIAL] &lt;/P&gt;&lt;P&gt;            [READ-ONLY]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;The statement DATA declares a variable of any data type. The declared data object is visible within the current context as of this position. Within the declaration part of a class or an interface, DATA declares an instance attribute whose validity is bound to an instance of a class. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data type of arbitrary variables var, reference variables ref , and internal tables itab, rtab, is defined either using the TYPE addition and a type specification, or using the LIKE addition and the specification of a data object. There are different syntax variants for the definition of elementary data objects, reference variables, and internal tables. If neither TYPE nor LIKE is specified, a data object with the bound data type c of length 1 is created. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the definition of a structure struc, arbitrary data declarations are included by two DATA statements with the additions BEGIN OF and END OF. Here a struc structure is declared that contains the enclosed data objects comp as a struc-comp component. Structure definitions can be nested. &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;sravanthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2008 14:41:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/3236528#M772335</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-10T14:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/3236529#M772336</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;If it is not a flat structure, it can be a nested or deep structure. If the structure contains another stucture in it. it is called a nested stucture. If it contains a variable length components like internal table in it, it is called a deep structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can define and use a nested structure like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types: begin of s1,&lt;/P&gt;&lt;P&gt;f1 type char5,&lt;/P&gt;&lt;P&gt;f2 type c,&lt;/P&gt;&lt;P&gt;end of s1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types: begin of s2,&lt;/P&gt;&lt;P&gt;struct1 type s1,&lt;/P&gt;&lt;P&gt;end of s2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data wa type s2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move 'abc' to wa-struct1-f1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write wa-struct1-f1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the structure S2, if we use a internal table instead of the stucture s1, then it becomes a deep structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Award points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vidhya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 05:06:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/3236529#M772336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T05:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/3236530#M772337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 11:54:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/3236530#M772337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T11:54:49Z</dc:date>
    </item>
  </channel>
</rss>

