<?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: syntax for structure definition in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-structure-definition/m-p/9765248#M1775764</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use of '':' after a statement makes it a chain statement and is used to avoid writing the keyword repeatedly.&lt;/P&gt;&lt;P&gt;e.g :&lt;/P&gt;&lt;P&gt;Normal :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TYPES&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BEGIN OF ABC&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TYPES&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X TYPE Y&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TYPES&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; END OF ABC&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chain :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TYPES :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BEGIN OF ABC&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X TYPE Y&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; END OF ABC&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chain is just for programmers ease to avoid writing same keyword again and again. It is interpreted same as normal example given above by the compiler.&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notice the ',' and '.' used. A period '.' marks the end of a chain i.e you need to provide keywords (TYPES in this case ) after it for next statements.&lt;/P&gt;&lt;P&gt;A ',' comma indicates continuation of the chain and that the same keyword has to be used and thus its not needed to be written again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second TYPES used with END OF is not needed if the statement is a part of the TYPES chain. But if the previous statement is ended by a period "." then you need to specify the keyword (TYPES) to be used again.&lt;/P&gt;&lt;P&gt;e.g :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TYPES&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BEGIN OF ABC &lt;STRONG&gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INCLUDE STRUCTURE XYZ &lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; see the above statement is ended by a period so it ends the chain and you will have to use the keyword in next statement, which will make it as&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TYPES&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; END OF ABC&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ashish Rawat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Sep 2013 07:56:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-09-30T07:56:40Z</dc:date>
    <item>
      <title>syntax for structure definition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-structure-definition/m-p/9765242#M1775758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi expert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I can't understand following syntax for structure t_str_reservationx. why using period for each line of this structure definition? and why use the second 'TYPES' before 'END OF'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES:&lt;/P&gt;&lt;P&gt;BEGIN OF t_mark,&lt;/P&gt;&lt;P&gt;mark TYPE c,&lt;/P&gt;&lt;P&gt;END OF t_mark,&lt;/P&gt;&lt;P&gt;BEGIN OF t_str_reservationx.&lt;/P&gt;&lt;P&gt;INCLUDE STRUCTURE zptb00_hreservat.&lt;/P&gt;&lt;P&gt;INCLUDE TYPE t_mark.&lt;/P&gt;&lt;P&gt;TYPES:&lt;/P&gt;&lt;P&gt;END OF t_str_reservationx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 05:00:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-structure-definition/m-p/9765242#M1775758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-30T05:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: syntax for structure definition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-structure-definition/m-p/9765243#M1775759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bo Zhang.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The code snippet which you had put is shortened form of&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;TYPES&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;BEGIN OF &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;T_MARK&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MARK &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;TYPE C&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;TYPES&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;END OF &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;T_MARK&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;TYPES&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;BEGIN OF &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;T_STR_RESERVATIONX&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;INCLUDE STRUCTURE &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;CAUFV&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;INCLUDE TYPE &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;T_MARK&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;TYPES&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;END OF &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;T_STR_RESERVATIONX&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the &lt;STRONG&gt;PERIOD &lt;/STRONG&gt;part, it is standard ABAP syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 07:28:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-structure-definition/m-p/9765243#M1775759</guid>
      <dc:creator>Arun_Prabhu_K</dc:creator>
      <dc:date>2013-09-30T07:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: syntax for structure definition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-structure-definition/m-p/9765244#M1775760</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;normally you can define a type structure by&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF t1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; field1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; field2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fieldn,&lt;/P&gt;&lt;P&gt;END OF t1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you want to include a type or structure with INCLUDE TYPE or INCLUDE STRUCTURE the line before must be closed by a dot, and that is where 1st TYPES: is ending. The following fields or the end of type structure must complete the TYPES declaration:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF t1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; field1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; field2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fieldn."&amp;lt;= closing dot here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INCLUDE STRUCTURE s1.&amp;nbsp; "&amp;lt;= INCLUDE must also be closed by a dot.&lt;/P&gt;&lt;P&gt;TYPES:"&amp;lt;= needed for completion of TYPES structure&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; field m&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fieldz,&lt;/P&gt;&lt;P&gt;END OF t1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the TYPES declaration is completed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Klaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 07:39:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-structure-definition/m-p/9765244#M1775760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-30T07:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: syntax for structure definition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-structure-definition/m-p/9765245#M1775761</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;When you define a structure &lt;TT&gt;rec&lt;/TT&gt; (with &lt;A _jive_internal="true" href="https://answers.sap.com/34/8e72b66df74873e10000009b38f9b8/content.htm"&gt;&lt;STRONG style="text-decoration: underline;"&gt;DATA&lt;/STRONG&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt;or &lt;A _jive_internal="true" href="https://answers.sap.com/34/8e72b76df74873e10000009b38f9b8/content.htm"&gt;&lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;TYPES&lt;/SPAN&gt; &lt;BR /&gt;&lt;/STRONG&gt;&lt;/A&gt;), this statement copies the components of the structured data type &lt;/P&gt;&lt;P&gt;&lt;TT&gt;s&lt;/TT&gt; to the structure &lt;TT&gt;rec&lt;/TT&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since, as of Release 3.0, you &lt;/P&gt;&lt;P&gt;can define nested data structures (i.e. structures with sub-structures), INCLUDE &lt;/P&gt;&lt;P&gt;STRUCTURE should no longer be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A data definition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: BEGIN OF rec. INCLUDE STRUCTURE s. DATA: END OF rec.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is equivalent to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA rec LIKE s.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are recommended to use the second formulation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even if the &lt;BR /&gt;structure &lt;TT&gt;rec&lt;/TT&gt; to be defined contains additional components, instead &lt;BR /&gt;of&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: BEGIN OF rec, ... INCLUDE STRUCTURE s. DATA:&amp;nbsp;&amp;nbsp; ... END OF rec.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you should use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: BEGIN OF rec, ... rec LIKE s, ... END OF rec.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so that &lt;TT&gt;s&lt;/TT&gt; can be referenced as a sub-structure of &lt;BR /&gt;&lt;TT&gt;rec&lt;/TT&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;Note&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although "&lt;TT&gt;INCLUDE STRUCTURE subRec.&lt;/TT&gt;" breaks up the &lt;BR /&gt;sub-structure &lt;TT&gt;s&lt;/TT&gt; into its components, the &lt;SPAN style="text-decoration: underline;"&gt;alignment &lt;/SPAN&gt;of &lt;TT&gt;s&lt;/TT&gt; &lt;BR /&gt;is retained. This means that padding fields may be inserted before the first &lt;BR /&gt;and/or before the last component of &lt;TT&gt;s&lt;/TT&gt; in &lt;TT&gt;rec&lt;/TT&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 07:42:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-structure-definition/m-p/9765245#M1775761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-30T07:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: syntax for structure definition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-structure-definition/m-p/9765246#M1775762</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;H2&gt;&lt;SPAN style="color: #000080; font-size: 18pt; font-family: Arial;"&gt;INCLUDE &lt;BR /&gt;STRUCTURE&lt;/SPAN&gt;&lt;/H2&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;H3&gt;&lt;SPAN style="color: #000080; font-size: 14pt; font-family: Arial;"&gt;INCLUDE &lt;BR /&gt;STRUCTURE&lt;/SPAN&gt;&lt;/H3&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Arial; font-size: 10pt;"&gt;&lt;BR /&gt;Additions:&lt;BR /&gt;1. &lt;TT&gt;... AS name1&lt;/TT&gt;&lt;BR /&gt;2. &lt;BR /&gt;&lt;TT&gt;... AS name1 RENAMING WITH SUFFIX name2&lt;/TT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Arial; font-size: 10pt;"&gt;Effect&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Arial; font-size: 10pt;"&gt;&lt;SPAN style="font-family: Arial; font-size: 10pt;"&gt;You can use &lt;TT&gt;INCLUDE &lt;BR /&gt;STRUCTURE s.&lt;/TT&gt;" when you define a structure &lt;TT&gt;rec&lt;/TT&gt; (using &lt;A _jive_internal="true" href="https://answers.sap.com/SAPIrExtHelp/IWB_IMG.asp?_LOIO=348E72B66DF74873E10000009B38F9B8"&gt;/SAPIrExtHelp/IWB_IMG.asp?_LOIO=348E72B66DF74873E10000009B38F9B8&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Arial; font-size: 10pt;"&gt;&lt;DIV style="margin-left: 2em;"&gt;&lt;TT&gt;DATA&lt;/TT&gt; or &lt;A _jive_internal="true" href="https://answers.sap.com/SAPIrExtHelp/IWB_IMG.asp?_LOIO=348E72B76DF74873E10000009B38F9B8"&gt;/SAPIrExtHelp/IWB_IMG.asp?_LOIO=348E72B76DF74873E10000009B38F9B8&lt;/A&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;&lt;/LI&gt;&lt;LI&gt;&lt;TT&gt;TYPES&lt;/TT&gt; ) to include the componen of &lt;BR /&gt;the structured data object &lt;TT&gt;s&lt;/TT&gt; in the structure &lt;TT&gt;rec&lt;/TT&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Note&lt;BR /&gt;&lt;DIV&gt;Do not use the &lt;TT&gt;INCLUDE STRUCTURE&lt;/TT&gt; any more for defining &lt;BR /&gt;structures with reference to an existing structure. Instead, use one of the &lt;BR /&gt;constructions listed below. You should now only use &lt;TT&gt;INCLUDE STRUCTURE&lt;/TT&gt;&lt;BR /&gt;with the &lt;TT&gt;AS&lt;/TT&gt; additions to avoid using offset and length specifications &lt;BR /&gt;with structures.&lt;BR /&gt;&lt;BR /&gt;Instead of&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;&lt;CODE&gt; DATA: BEGIN OF rec. &lt;/CODE&gt;&lt;/PRE&gt;INCLUDE STRUCTURE s.&lt;BR /&gt;DATA: END OF rec. &lt;BR /&gt;&lt;DIV&gt;Use&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;&lt;CODE&gt; DATA rec LIKE s. &lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;DIV&gt;Even if the structure &lt;TT&gt;rec&lt;/TT&gt; that you want to define contains &lt;BR /&gt;extra components, do not use&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;&lt;CODE&gt; DATA: BEGIN OF rec, &lt;/CODE&gt;&lt;/PRE&gt;...&lt;BR /&gt;INCLUDE STRUCTURE s.&lt;BR /&gt;DATA: ...&lt;BR /&gt;END OF rec. &lt;BR /&gt;&lt;DIV&gt;Instead, use&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;&lt;CODE&gt; DATA: BEGIN OF rec, &lt;/CODE&gt;&lt;/PRE&gt;...&lt;BR /&gt;rec LIKE s,&lt;BR /&gt;...&lt;BR /&gt;END OF rec. &lt;BR /&gt;&lt;DIV&gt;You can then address &lt;TT&gt;s&lt;/TT&gt; as a substructure of &lt;BR /&gt;&lt;TT&gt;rec&lt;/TT&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;Note&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;Although "&lt;TT&gt;INCLUDE STRUCTURE s.&lt;/TT&gt;" expands the substructure &lt;BR /&gt;&lt;TT&gt;s&lt;/TT&gt; into its components, its &lt;BR /&gt;&lt;DIV style="margin-left: 2em;"&gt;alignment&lt;/DIV&gt;remains unchanged. This means that &lt;BR /&gt;there may be extra fields inserted as padding before the first component or &lt;BR /&gt;after the last component of &lt;TT&gt;s&lt;/TT&gt; within &lt;TT&gt;rec&lt;/TT&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;Effect&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;The components included using &lt;TT&gt;INCLUDE STRUCTURE&lt;/TT&gt; can be &lt;BR /&gt;addressed as a unit under the group name &lt;TT&gt;name1&lt;/TT&gt;. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;Group components are only visible if you address them explicitly by &lt;BR /&gt;name. This applies, for example, to the following situations and &lt;BR /&gt;statements:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;&lt;/LI&gt;&lt;LI&gt;Normal selection of components from a structure: &lt;BR /&gt;&lt;TT&gt;rec-name1&lt;/TT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;&lt;/LI&gt;&lt;LI&gt;&lt;TT&gt;ASSIGN (name) TO &amp;lt;fs&amp;gt;.&lt;/TT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;&lt;/LI&gt;&lt;LI&gt;&lt;TT&gt;ASSIGN COMPONENT name OF STRUCTURE rec TO &amp;lt;fs&amp;gt;.&lt;/TT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;BR /&gt;Group components nare not taken into account in the following &lt;BR /&gt;statements:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;&lt;/LI&gt;&lt;LI&gt;&lt;TT&gt;MOVE-CORRESPONDING rec1 TO rec2.&lt;/TT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;&lt;/LI&gt;&lt;LI&gt;&lt;TT&gt;ASSIGN COMPONENT index OF STRUCTURE rec TO &amp;lt;fs&amp;gt;.&lt;/TT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;&lt;/LI&gt;&lt;LI&gt;Notes &lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;BR /&gt;Group names for includes in the ABAP Dictionary are treated in the same &lt;BR /&gt;way as group names that you declare in programs using &lt;TT&gt;INCLUDE TYPE ... &lt;BR /&gt;AS&lt;/TT&gt; bzw. &lt;TT&gt;INCLUDE STRUCTURE ... AS&lt;/TT&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;&lt;/LI&gt;&lt;LI&gt;You should only use group names with includes in conjunction with &lt;BR /&gt;database tables to access a set of components symbolically as a substructure. In &lt;BR /&gt;all other cases, you should use nested structures instead of includes or group &lt;BR /&gt;names. &lt;/LI&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;&lt;BR /&gt;Effect&lt;BR /&gt;The components included using &lt;TT&gt;INCLUDE STRUCTURE&lt;/TT&gt; can be &lt;BR /&gt;addressed as a unit under the group name &lt;TT&gt;name1&lt;/TT&gt; . They behave in the &lt;BR /&gt;same way as described in addition 1. When you include the components of the &lt;BR /&gt;structure &lt;TT&gt;s&lt;/TT&gt; , the components are renamed by appending the name &lt;BR /&gt;&lt;TT&gt;name2&lt;/TT&gt;. This enables you to include the structure &lt;TT&gt;s&lt;/TT&gt; more than &lt;BR /&gt;once.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.sap.com/saphelp_banking463/helpdata/en/34/8e72b86df74873e10000009b38f9b8/frameset.htm"&gt;http://help.sap.com/saphelp_banking463/helpdata/en/34/8e72b86df74873e10000009b38f9b8/frameset.htm&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;with regards ,&lt;/P&gt;&lt;P&gt;Juneed K Manha&lt;/P&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 07:46:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-structure-definition/m-p/9765246#M1775762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-30T07:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: syntax for structure definition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-structure-definition/m-p/9765247#M1775763</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;In the above syntax you are actually including a structure inside a structure.&lt;BR /&gt;Its interesting why you need to know the definition.Its only a syntax to attach a structure to another structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alenlee MJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 07:55:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-structure-definition/m-p/9765247#M1775763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-30T07:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: syntax for structure definition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-structure-definition/m-p/9765248#M1775764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use of '':' after a statement makes it a chain statement and is used to avoid writing the keyword repeatedly.&lt;/P&gt;&lt;P&gt;e.g :&lt;/P&gt;&lt;P&gt;Normal :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TYPES&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BEGIN OF ABC&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TYPES&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X TYPE Y&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TYPES&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; END OF ABC&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chain :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TYPES :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BEGIN OF ABC&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X TYPE Y&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; END OF ABC&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chain is just for programmers ease to avoid writing same keyword again and again. It is interpreted same as normal example given above by the compiler.&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notice the ',' and '.' used. A period '.' marks the end of a chain i.e you need to provide keywords (TYPES in this case ) after it for next statements.&lt;/P&gt;&lt;P&gt;A ',' comma indicates continuation of the chain and that the same keyword has to be used and thus its not needed to be written again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second TYPES used with END OF is not needed if the statement is a part of the TYPES chain. But if the previous statement is ended by a period "." then you need to specify the keyword (TYPES) to be used again.&lt;/P&gt;&lt;P&gt;e.g :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TYPES&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BEGIN OF ABC &lt;STRONG&gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INCLUDE STRUCTURE XYZ &lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; see the above statement is ended by a period so it ends the chain and you will have to use the keyword in next statement, which will make it as&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TYPES&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; END OF ABC&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ashish Rawat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 07:56:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-structure-definition/m-p/9765248#M1775764</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-30T07:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: syntax for structure definition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-structure-definition/m-p/9765249#M1775765</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;Here there are two structures declared &lt;SPAN style="font-family: terminal,monaco;"&gt;t_mark &lt;/SPAN&gt;and &lt;SPAN style="font-family: terminal,monaco;"&gt;t_str_reservationx&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;The strucuture&amp;nbsp; &lt;SPAN style="font-family: terminal,monaco;"&gt;t_str_reservationx&lt;/SPAN&gt; contain&amp;nbsp; structure &lt;STRONG&gt;CAUFV&lt;/STRONG&gt;, is be a standard one.ie declared globally.&lt;/P&gt;&lt;P&gt;The statement &lt;SPAN style="font-family: terminal,monaco;"&gt;&lt;STRONG&gt;INCLUDE STRUCTURE CAUFV &lt;/STRONG&gt;&lt;/SPAN&gt;will include all the fields of the structure &lt;STRONG&gt;CAUFV &lt;/STRONG&gt;in to the structure &lt;SPAN style="font-family: terminal,monaco;"&gt;t_str_reservationx&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;&lt;STRONG&gt;INCLUDE STRUCTURE&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp; to include standard structure&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;&lt;STRONG&gt;INCLUDE TYPES&lt;/STRONG&gt;&lt;/SPAN&gt; to include the local structure.&lt;/P&gt;&lt;P&gt;Using this declaration the structure &lt;SPAN style="font-family: terminal,monaco;"&gt;t_str_reservationx&lt;/SPAN&gt; will contain all the fields of the structure &lt;STRONG&gt;CAUFV&lt;/STRONG&gt; and the field mark.&lt;/P&gt;&lt;P&gt;Double click on &lt;STRONG&gt;CAUFV&lt;/STRONG&gt; to view all the fields in that structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;TYPES: BEGIN OF ty.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INCLUDE STRUCTURE CAUFV.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;TYPES: date TYPE d,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; END OF ty.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;In the above example I have included a structure. We have to use period in the line above the INCLUDE statement and TYPES below the INCLUDE&amp;nbsp; this is how it is declared. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 08:02:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-structure-definition/m-p/9765249#M1775765</guid>
      <dc:creator>former_member220538</dc:creator>
      <dc:date>2013-09-30T08:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: syntax for structure definition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-structure-definition/m-p/9765250#M1775766</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;In your structure definition you are declaring two structure.&lt;/P&gt;&lt;P&gt;The first one is a normal one.&lt;/P&gt;&lt;P&gt;In the next structure definition&amp;nbsp; "t_str_reservationx"&amp;nbsp; you are including another structure( zptb00_hreservat) which is already defined using data(So using include structure).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you are including t_mark as include type as the structure is defined as (Types and not data, else you would have used Include structure here too.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The periods here represents that these structures have been included.It is merely a syntax only.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 08:02:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-structure-definition/m-p/9765250#M1775766</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-30T08:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: syntax for structure definition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-structure-definition/m-p/9765251#M1775767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Bo Zhang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has used "Types - Begin Of" statement and shows the definition of struct_type. It is used to create structure type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Syntax:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES Begin of&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;struct_type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Types component_1...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Types component_2 type struct_type Boxed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INCLUDE TYPE ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INCLUDE STRUCTURE...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES End of&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;struct_type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is showing a &lt;STRONG&gt;TYPES&lt;/STRONG&gt; statement with the addition of &lt;STRONG&gt;BEGIN OF&lt;/STRONG&gt; and must finish with a &lt;STRONG&gt;TYPES&lt;/STRONG&gt; statement with the addition &lt;STRONG&gt;END OF&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It can incorporate the following statements within this &lt;STRONG&gt;TYPES&lt;/STRONG&gt; statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Any&lt;STRONG&gt; TYPES&lt;/STRONG&gt; statement ( closed structure definition )&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Definition of staticboxes using &lt;STRONG&gt;BOXED&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;The statements I&lt;STRONG&gt;NCLUDE TYPE&lt;/STRONG&gt; and &lt;STRONG&gt;INCLUDE STRUCTURE&lt;/STRONG&gt; &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No structured types can be created that do not have at least one component.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN class="L0S52"&gt;TYPES&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt; &lt;SPAN class="L0S52"&gt;BEGIN &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;ty_standard&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;class&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;char20&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; rollno &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;char20&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt; &lt;SPAN class="L0S52"&gt;end &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;of&amp;nbsp; &lt;/SPAN&gt;ty_standard&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt; &lt;SPAN class="L0S52"&gt;TYPES &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;BEGIN &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;ty_std&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;INCLUDE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;STRUCTURE &lt;/SPAN&gt;Zname_118235&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;INCLUDE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;ty_standard&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt; &lt;SPAN class="L0S52"&gt;TYPES &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;END &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;ty_std&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;** &lt;/SPAN&gt;&lt;STRONG&gt;Zname_118235&lt;/STRONG&gt; is the ABAP data dictionary structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more details please see the link &lt;STRONG&gt;&lt;A href="http://help.sap.com/abapdocu_731/en/abaptypes_struc.htm"&gt;http://help.sap.com/abapdocu_731/en/abaptypes_struc.htm&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will give you some idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;KK&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 08:51:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-structure-definition/m-p/9765251#M1775767</guid>
      <dc:creator>former_member9607</dc:creator>
      <dc:date>2013-09-30T08:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: syntax for structure definition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-structure-definition/m-p/9765252#M1775768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi K.Arun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for structure t_mark, all statements are all ended with comma, but for structure t_str_reservationx, all statements are all ended with period. why there have such difference?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 14:01:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-structure-definition/m-p/9765252#M1775768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-30T14:01:17Z</dc:date>
    </item>
  </channel>
</rss>

