<?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: Difference B/W in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w/m-p/3333659#M798892</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;types: a user-defined type can be based on th edefination of a afield string . this is known as Structured type. using these types can reduce and make maintenance easier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:a field string defined using the data statement is a modifiable data object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;include statemnt is not part of the data statemnt. it is a separete statent.&lt;/P&gt;&lt;P&gt;therefore it cannot be chained to a data statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if its useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jan 2008 10:13:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-23T10:13:15Z</dc:date>
    <item>
      <title>Difference B/W</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w/m-p/3333655#M798888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) 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;&lt;/P&gt;&lt;P&gt;2) 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;Please let me know what is difference b/w there 2 decleartion  excep memory allocation .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 09:59:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w/m-p/3333655#M798888</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-23T09:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Difference B/W</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w/m-p/3333656#M798889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;type refers to the dataelement of field only where as in first declaration attributes are also copied of that field.so type is better for future enhancement of data elements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful plz........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 10:03:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w/m-p/3333656#M798889</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-23T10:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Difference B/W</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w/m-p/3333657#M798890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ajay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first syntax would create a Structure for you in which you can hold a collection of many fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second one shall allow you to create a local Structure Type which you can use further to define any structure. You cannot directly use this Structure Type to hold any values. You need to define one more structure based on this type.&lt;/P&gt;&lt;P&gt;For ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF YSTRU,&lt;/P&gt;&lt;P&gt;              MATNR TYPE MATNR,&lt;/P&gt;&lt;P&gt;              MATKX TYPE MATKX,&lt;/P&gt;&lt;P&gt;            END OF YSTRU.&lt;/P&gt;&lt;P&gt;DATA   STRU1 TYPE YSTRU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now STRU1 is a structure of type YSTRU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hence by using TYPES you shall have reusability of the local structure.. You need not define it multiple times for multiple structures with the same definition.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward points if this clarifies your doubt,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Kiran&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 10:03:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w/m-p/3333657#M798890</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-23T10:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Difference B/W</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w/m-p/3333658#M798891</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 are declaring any sturcture using types then no memory space is allocated for that. If you are using DATA statement then the memory space is allocated to that structure depends on size of all the fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Bujji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 10:08:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w/m-p/3333658#M798891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-23T10:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Difference B/W</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w/m-p/3333659#M798892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;types: a user-defined type can be based on th edefination of a afield string . this is known as Structured type. using these types can reduce and make maintenance easier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:a field string defined using the data statement is a modifiable data object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;include statemnt is not part of the data statemnt. it is a separete statent.&lt;/P&gt;&lt;P&gt;therefore it cannot be chained to a data statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if its useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 10:13:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w/m-p/3333659#M798892</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-23T10:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: Difference B/W</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w/m-p/3333660#M798893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ajay Pandey ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These 2 are different syntaxs of internal table declaration i.e &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first declaration is WITH HEADER LINE declaration. Here u can INCLUDE or APPEND  SAP standard or user-defined structure (set of fields) created by u in SE11. This is performance wise not good.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;The second declaration is WITHOUT HEADER LINE declaration i.e how many fields u want to use according to u'r requirement, those many fields u can declare in a structure by using TYPES:BEGIN OF ......END OF ........it is perfromance wise good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers!&lt;/P&gt;&lt;P&gt;gyanaraj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****Pls reward points if u find this helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 11:51:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w/m-p/3333660#M798893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-23T11:51:19Z</dc:date>
    </item>
  </channel>
</rss>

