<?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: Declaring  types does maen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/declaring-types-does-maen/m-p/2768170#M644822</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;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF structype          ... &lt;/P&gt;&lt;P&gt;       END   OF structype. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Defines the structured type structype, where all of the fields defined between " BEGIN OF structype" and "ENDOFstructype" are components of type structype. You can address individual components of the type using the prefix "structype-", &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A type name can be up to 30 characters long. The name may only consist of alphanumeric characters and the underscore character. It may not consist entirely of digits. Special characters such as German umlauts are not allowed. As well as these characters, certain special characters are used internall. However, these should not be used in application programs. SPACE is a reserved name, and cannot therefore be used. Furthermore, you should not use a field in a statement if it has the same name as one of the additions of the keyword (for example: PERFORM SUB USING CHANGING.). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Recommendations for Type Names: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Always start the name with a letter. &lt;/P&gt;&lt;P&gt;Use the underscore to separate compound names (for example, NEW_PRODUCT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;Defines a type with two components NAME und AGE: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF PERSON, &lt;/P&gt;&lt;P&gt;         NAME(20) TYPE C, &lt;/P&gt;&lt;P&gt;         AGE      TYPE I, &lt;/P&gt;&lt;P&gt;       END   OF PERSON. &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;LIJO JOHN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Sep 2007 11:03:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-05T11:03:21Z</dc:date>
    <item>
      <title>Declaring  types does maen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/declaring-types-does-maen/m-p/2768168#M644820</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;          i have declared types like this what does it mean ?&lt;/P&gt;&lt;P&gt;          it is working fine? how come . please can any one explain about this?&lt;/P&gt;&lt;P&gt;TYPES:&lt;/P&gt;&lt;P&gt;  BEGIN OF ty_Line,&lt;/P&gt;&lt;P&gt;    vbeln LIKE vbap-vbeln,&lt;/P&gt;&lt;P&gt;    posnr LIKE vbap-posnr,&lt;/P&gt;&lt;P&gt;  END OF ty_Line.&lt;/P&gt;&lt;P&gt;  TYPES: ty_Lines TYPE STANDARD TABLE of ty_Line WITH DEFAULT KEY.&lt;/P&gt;&lt;P&gt;thanks&amp;amp;regards&lt;/P&gt;&lt;P&gt;venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 10:53:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/declaring-types-does-maen/m-p/2768168#M644820</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-05T10:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Declaring  types does maen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/declaring-types-does-maen/m-p/2768169#M644821</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;BEGIN OF ty_Line,&lt;/P&gt;&lt;P&gt;vbeln LIKE vbap-vbeln,&lt;/P&gt;&lt;P&gt;posnr LIKE vbap-posnr,&lt;/P&gt;&lt;P&gt;END OF ty_Line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above part is nothing but you are declaring the types for that program, you can use this TY_LINE anywhere in the program, it is nothing but a Datatype creation locally&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: ty_Lines TYPE STANDARD TABLE of ty_Line WITH DEFAULT KEY&lt;/P&gt;&lt;P&gt;This statment is nothig but you are creating the work area for the Datatypes which you created earlier, so you can store the records in this table and use them&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; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 11:01:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/declaring-types-does-maen/m-p/2768169#M644821</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-05T11:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Declaring  types does maen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/declaring-types-does-maen/m-p/2768170#M644822</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;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF structype          ... &lt;/P&gt;&lt;P&gt;       END   OF structype. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Defines the structured type structype, where all of the fields defined between " BEGIN OF structype" and "ENDOFstructype" are components of type structype. You can address individual components of the type using the prefix "structype-", &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A type name can be up to 30 characters long. The name may only consist of alphanumeric characters and the underscore character. It may not consist entirely of digits. Special characters such as German umlauts are not allowed. As well as these characters, certain special characters are used internall. However, these should not be used in application programs. SPACE is a reserved name, and cannot therefore be used. Furthermore, you should not use a field in a statement if it has the same name as one of the additions of the keyword (for example: PERFORM SUB USING CHANGING.). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Recommendations for Type Names: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Always start the name with a letter. &lt;/P&gt;&lt;P&gt;Use the underscore to separate compound names (for example, NEW_PRODUCT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;Defines a type with two components NAME und AGE: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF PERSON, &lt;/P&gt;&lt;P&gt;         NAME(20) TYPE C, &lt;/P&gt;&lt;P&gt;         AGE      TYPE I, &lt;/P&gt;&lt;P&gt;       END   OF PERSON. &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;LIJO JOHN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 11:03:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/declaring-types-does-maen/m-p/2768170#M644822</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-05T11:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Declaring  types does maen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/declaring-types-does-maen/m-p/2768171#M644823</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 will work fine, since you are using the type that you created using TYPES statement, only in the program where you created it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot use this TYPE in any other program. using TYPES you can create user-defined types in the program. And they will be visible only with in the program they are defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 11:04:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/declaring-types-does-maen/m-p/2768171#M644823</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-09-05T11:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Declaring  types does maen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/declaring-types-does-maen/m-p/2768172#M644824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BEGIN OF ty_Line,&lt;/P&gt;&lt;P&gt;vbeln LIKE vbap-vbeln,&lt;/P&gt;&lt;P&gt;posnr LIKE vbap-posnr,&lt;/P&gt;&lt;P&gt;END OF ty_Line.&lt;/P&gt;&lt;P&gt;TYPES: ty_Lines TYPE STANDARD TABLE of ty_Line WITH DEFAULT KEY&lt;/P&gt;&lt;P&gt;wa_itab type ty_line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ifd you are declaring like this means that you are suing tables without header and you need to declare worak area for the same.&lt;/P&gt;&lt;P&gt;whenever you refer a field u shold refer like wa_itab-vbeln etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 11:04:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/declaring-types-does-maen/m-p/2768172#M644824</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-05T11:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: Declaring  types does maen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/declaring-types-does-maen/m-p/2768173#M644825</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;TYPES - keyword allows you to create a used defined structure which finally used to create internal table with required fields.&lt;/P&gt;&lt;P&gt;for ex u want have some fields pf mara , makt and ekko table in such cases we go for user defined structure  with all those fields. when we used TYPES keyword it indicates to the system that user is creating his own structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;note: when you creat a user-defined structure using TYPES keyword and while creating internal table for that structure you should use TYPE keyword and not LIKE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;Suresh Aluri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 11:06:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/declaring-types-does-maen/m-p/2768173#M644825</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-05T11:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Declaring  types does maen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/declaring-types-does-maen/m-p/2768174#M644826</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 any tell me what does it mean?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types truxs_t_text_data(4096) type c occurs 0.&lt;/P&gt;&lt;P&gt;venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2007 05:22:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/declaring-types-does-maen/m-p/2768174#M644826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-07T05:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Declaring  types does maen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/declaring-types-does-maen/m-p/2768175#M644827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that means that u are declaring that as a character with length 4096., so that u can sotre 4096 characters in that truxs_t_text_data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2007 05:38:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/declaring-types-does-maen/m-p/2768175#M644827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-07T05:38:15Z</dc:date>
    </item>
  </channel>
</rss>

