<?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: hi in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3851784#M925933</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;2. can i declare the data types anywhere in the report program? S t compulsary to declare them at the top of the report pgm?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u need to declare the data  types before u use it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 May 2008 07:18:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-19T07:18:01Z</dc:date>
    <item>
      <title>hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3851783#M925932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.what s the diff b/w following ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data: name(20) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   types:name(20) type c. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. can i declare the data types anywhere in the report program? S t compulsary to declare them at the top of the report pgm?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 07:14:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3851783#M925932</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T07:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3851784#M925933</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;2. can i declare the data types anywhere in the report program? S t compulsary to declare them at the top of the report pgm?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u need to declare the data  types before u use it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 07:18:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3851784#M925933</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T07:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3851785#M925934</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: name(20) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above one is the data object . so you can use that as a variable in your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types:name(20) type c. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above one is the user defined type object .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can not use that as a variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: v_name type name. --&amp;gt; name is the type of 20 chars.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can i declare the data types anywhere in the report program? S t compulsary to declare them at the top of the report pgm?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes you can declare any where. Best practice is declare on the top.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 07:18:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3851785#M925934</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T07:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3851786#M925935</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: name(20) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types:name(20) type c. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using data statement u create a variable.&lt;/P&gt;&lt;P&gt;Using types statement u create a data type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now u can use  this types:name(20) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : val type name.&lt;/P&gt;&lt;P&gt;val is variable with length 20 type Character.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types is used for user defined data types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. can i declare the data types anywhere in the report program? S t compulsary to declare them at the top of the report pgm?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can declare variable in anywhere of the program.&lt;/P&gt;&lt;P&gt;if u declere in top of the report that can be used globally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Narasimha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 07:20:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3851786#M925935</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T07:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3851787#M925936</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 u declare variables by useing DATA &lt;/P&gt;&lt;P&gt; memory get allocated to them  and they r data object &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and when u use TYPE u only define the defination  or an type no memory is allocated to it .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers &lt;/P&gt;&lt;P&gt;snehi chouhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 07:20:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3851787#M925936</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T07:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3851788#M925937</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;STRONG&gt;Data types&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;You can define data types either locally in the declaration part of a program using the TYPESstatement) or globally in the ABAP Dictionary. You can use your own data types to declare data objects or to check the types of parameters in generic operations. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data objects&lt;/STRONG&gt; are the physical units with which ABAP statements work at runtime. The contents of a data object occupy memory space in the program. ABAP statements access these contents by addressing the name of the data object and interpret them according to the data type.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[data type &amp;amp; data object|http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb3400358411d1829f0000e829fbfe/content.htm]&lt;/P&gt;&lt;P&gt;go throught this link u will find the difference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 07:22:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3851788#M925937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T07:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3851789#M925938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Selvakumar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First i like to explain you about LIKE, TYPE keywords.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LIKE is used to refer dataobjects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES is to refer data types i.e. char,int,numc etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And DATA is used to refer global variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the declarations u mention doesn't make any difference here. Just analyse to use them acc. to scenarios.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it helpful to you,&lt;/P&gt;&lt;P&gt;Reward me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Suren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 07:26:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3851789#M925938</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T07:26:15Z</dc:date>
    </item>
  </channel>
</rss>

