<?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: include structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4053082#M968840</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;DATA: BEGIN OF struct,&lt;/P&gt;&lt;P&gt;              include structure struct1. &lt;/P&gt;&lt;P&gt;           End of struct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we can use this in internal tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jun 2008 09:38:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-30T09:38:39Z</dc:date>
    <item>
      <title>include structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4053080#M968838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;        Can anyone give any knowledge about these type of structures ? :&lt;/P&gt;&lt;P&gt;"include structure  *$a&amp;gt;"...generally found in old version of SAP.&lt;/P&gt;&lt;P&gt;Helpful answers would be promptly rewarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regrds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sudipta Das&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Durairaj Athavan Raja on Jun 30, 2008 12:24 PM to fix subject line&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2008 09:08:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4053080#M968838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-30T09:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: include structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4053081#M968839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I got what your asking right, &lt;/P&gt;&lt;P&gt;the include structure statement creates the same structure the object you are referring to in the variable you are declaring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: &lt;/P&gt;&lt;P&gt;Consider you have the following structure in your program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: BEGIN OF struct1,
             f1 TYPE c,
             f2 TYPE i,
             f3 TYPE d,
          END OF struct1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now let's imagine you needed another one, comprised of the very same f1, f2 and f3 fields above, plus two other fields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: BEGIN OF struct2,
             f1 TYPE c,
             f2 TYPE i,
             f3 TYPE d,
             f4 TYPE c,
             f5 TYPE c,
          END OF struct2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same would be accomplished if you coded&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: BEGIN OF struct2,
              include structure struct1. 
DATA:    f4 TYPE c,
             f5 type c,             
             END OF struct2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It applies to internal tables as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avraham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2008 09:30:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4053081#M968839</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-30T09:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: include structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4053082#M968840</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;DATA: BEGIN OF struct,&lt;/P&gt;&lt;P&gt;              include structure struct1. &lt;/P&gt;&lt;P&gt;           End of struct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we can use this in internal tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2008 09:38:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4053082#M968840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-30T09:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: include structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4053083#M968841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It includes fields of another structure in the dictionary structure, adding a suffix to the field names, in your example $A : MATNR becomes MATNR$A.&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 Jun 2008 09:44:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4053083#M968841</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2008-06-30T09:44:45Z</dc:date>
    </item>
  </channel>
</rss>

