<?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/4960554#M1156478</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;The purpose of the Include structure is to include all the fileds of the respective table (BKPF) to the custom data type which you are declaring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is not used then it is too tedious to include all the fields of the table into this data type manually by declaration.&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;Radhika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Jan 2009 08:59:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-05T08:59:51Z</dc:date>
    <item>
      <title>Include structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4960542#M1156466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TYPES: BEGIN OF t_bkpf,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; include structure bkpf.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  bukrs LIKE bkpf-bukrs,&lt;/P&gt;&lt;P&gt;  belnr LIKE bkpf-belnr,&lt;/P&gt;&lt;P&gt;  gjahr LIKE bkpf-gjahr,&lt;/P&gt;&lt;P&gt;  bldat LIKE bkpf-bldat,&lt;/P&gt;&lt;P&gt;  monat LIKE bkpf-monat,&lt;/P&gt;&lt;P&gt;  budat LIKE bkpf-budat,&lt;/P&gt;&lt;P&gt;  xblnr LIKE bkpf-xblnr,&lt;/P&gt;&lt;P&gt;  awtyp LIKE bkpf-awtyp,&lt;/P&gt;&lt;P&gt;  awkey LIKE bkpf-awkey,&lt;/P&gt;&lt;P&gt; END OF t_bkpf.&lt;/P&gt;&lt;P&gt;Here in this declaration what is the usage of include structure bkpf. where it  will and why it will use?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;chalapathi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2008 09:26:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4960542#M1156466</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-29T09:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Include structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4960543#M1156467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using 'include structure &amp;lt;structure name&amp;gt;' in your local structure declaration of the program you are actually getting all the fields defined in the same structure in DDIC in your program too and with in you case you took the fields defined in the structure + the fields that you have defined in the local declaration of the structure. So the new structure will now contains the DDIC structure fields + the fields that you have declared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I am clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jayant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2008 09:30:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4960543#M1156467</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-29T09:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Include structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4960544#M1156468</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 you have the following code,&lt;/P&gt;&lt;P&gt;   " include structure bkpf ." &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then all fields in the structure(database) bkpf are included in the local structure you are defining for programing purpose.you need to mention every field especially.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Veeresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2008 09:33:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4960544#M1156468</guid>
      <dc:creator>former_member673464</dc:creator>
      <dc:date>2008-12-29T09:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: Include structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4960545#M1156469</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;It is not allowed to enter both the structure as include and then the field name of structure in the types. Syntax error will come.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2008 09:35:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4960545#M1156469</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2008-12-29T09:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Include structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4960546#M1156470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use F1 first and then search in sdn u'll get a lot of information regarding the question u have asked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: kartik tarla on Dec 29, 2008 3:06 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2008 09:35:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4960546#M1156470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-29T09:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Include structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4960547#M1156471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;then if we use only include structure what is the usage of using this?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2008 09:39:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4960547#M1156471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-29T09:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Include structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4960548#M1156472</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;go to transaction &lt;STRONG&gt;ABAPHELP&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and write &lt;STRONG&gt;include structure&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will give you information .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2008 09:44:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4960548#M1156472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-29T09:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Include structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4960549#M1156473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; Total Questions:  137 (105 unresolved)  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Often one of the symtoms of easily searchable questions, is that they remain unresolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please use the search first, then ask questions later.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2008 09:58:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4960549#M1156473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-29T09:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Include structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4960550#M1156474</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 rec (with DATA or TYPES ), this statement copies the components of the structured data type subRec to the structure rec . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you can define nested data structures (i.e. structures with sub-structures) starting from Release 3.0, you should use INCLUDE STRUCTURE only if you want to introduce types in a program first and nested structures in a later step. &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;P&gt;DATA: BEGIN OF rec.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE subRec.&lt;/P&gt;&lt;P&gt;DATA: END OF rec.&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;DATA rec LIKE subRec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even if the structure rec to be defined contains additional components, instead of &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF rec,&lt;/P&gt;&lt;P&gt;        ...&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE subRec.&lt;/P&gt;&lt;P&gt;DATA:   ...&lt;/P&gt;&lt;P&gt;      END OF rec.&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;DATA: BEGIN OF rec,&lt;/P&gt;&lt;P&gt;        ...&lt;/P&gt;&lt;P&gt;        rec LIKE subRec,&lt;/P&gt;&lt;P&gt;        ...&lt;/P&gt;&lt;P&gt;      END OF rec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so that subRec can be referenced as a sub-structure of rec . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2008 10:51:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4960550#M1156474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-29T10:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Include structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4960551#M1156475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Include structure &amp;lt;Structure Name&amp;gt; declarationin in local structure means defined as all fields  in BKPF same as DDIC. But in your case your are declared and also you included structure. Please follow any one type of declaration based on requrement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Md.MahaboobKhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2008 05:07:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4960551#M1156475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-30T05:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Include structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4960552#M1156476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;here is ur code.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BEGIN OF t_bkpf,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;include structure bkpf.&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;U&gt;bukrs LIKE bkpf-bukrs,&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;belnr LIKE bkpf-belnr,&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;gjahr LIKE bkpf-gjahr,&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;bldat LIKE bkpf-bldat,&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;monat LIKE bkpf-monat,&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;budat LIKE bkpf-budat,&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;xblnr LIKE bkpf-xblnr,&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;awtyp LIKE bkpf-awtyp,&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;awkey LIKE bkpf-awkey,&lt;/U&gt;&lt;/P&gt;&lt;P&gt;END OF t_bkpf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this way u r declaring the same fields two times one as i make them bold and other that i make underline.&lt;/P&gt;&lt;P&gt;i think now u can understand the use of include (i.e. we can declare the fields in one go)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: adesh kumar on Dec 30, 2008 12:53 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2008 11:53:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4960552#M1156476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-30T11:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Include structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4960553#M1156477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It mean your are creating a struture which contains all the fields of BKPF plus some additional fileds.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jan 2009 03:51:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4960553#M1156477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-02T03:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Include structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4960554#M1156478</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;The purpose of the Include structure is to include all the fileds of the respective table (BKPF) to the custom data type which you are declaring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is not used then it is too tedious to include all the fields of the table into this data type manually by declaration.&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;Radhika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 08:59:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4960554#M1156478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-05T08:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Include structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4960555#M1156479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;jj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 05:03:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4960555#M1156479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T05:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Include structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4960556#M1156480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; jj&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Yep, that together with "asdf" is another symptom.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 07:18:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/include-structure/m-p/4960556#M1156480</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T07:18:44Z</dc:date>
    </item>
  </channel>
</rss>

