<?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 DEFINITIONS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/definitions/m-p/2527293#M572628</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NEED DEFINITIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOCAL CONSTANT,GLOBAL CONSTANT,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOCAL RANGES,GLOBAL RANGES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOCAL CLASS VARIABLE,GLOBAL CLASS VARIABLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOCAL CLASS INTERFACE,GLOBAL CLASS INTERFACE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jul 2007 09:35:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-12T09:35:25Z</dc:date>
    <item>
      <title>DEFINITIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/definitions/m-p/2527293#M572628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NEED DEFINITIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOCAL CONSTANT,GLOBAL CONSTANT,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOCAL RANGES,GLOBAL RANGES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOCAL CLASS VARIABLE,GLOBAL CLASS VARIABLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOCAL CLASS INTERFACE,GLOBAL CLASS INTERFACE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 09:35:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/definitions/m-p/2527293#M572628</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T09:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: DEFINITIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/definitions/m-p/2527294#M572629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;Constants&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;Constants are named data objects that you create statically using a declarative statement. They allow you to store data under a particular name within the memory area of a program. The value of a constant must be defined when you declare it. It cannot subsequently be changed. The value of a constant cannot be changed during the execution of the program. If you try to change the value of a constant, a syntax error or runtime error occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Locals are used in a program and global are defined in an include that you can use it into your program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Ranges:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RANGES tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the following variants of the TYPES and DATA statements to create internal tables of the same type as selection tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES|DATA &amp;lt;rangetab&amp;gt; TYPE RANGE OF &amp;lt;type&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES|DATA &amp;lt;rangetab&amp;gt; LIKE RANGE OF &amp;lt;obj&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This defines internal standard tables whose line type is a structure as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SIGN(1) TYPE C &lt;/P&gt;&lt;P&gt;OPTION(2) TYPE C &lt;/P&gt;&lt;P&gt;LOW TYPE &amp;lt;type&amp;gt; bzw. LIKE &amp;lt;obj&amp;gt; &lt;/P&gt;&lt;P&gt;HIGH TYPE &amp;lt;type&amp;gt; bzw. LIKE &amp;lt;obj&amp;gt;&lt;/P&gt;&lt;P&gt;You can also use the RANGES statement to create internal tables of the same type as selection tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Locals are used in a program and global are defined in an include that you can use it into your program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Class Variables:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;It is nothing but a data defined in a class,&lt;/P&gt;&lt;P&gt;Local data can be used by declaring it in PRIVATE SECTION.&lt;/P&gt;&lt;P&gt;and globally it can be used by inheriting class and declaring it&lt;/P&gt;&lt;P&gt;into PUBLIC SECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Interface&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Same as class variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 09:40:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/definitions/m-p/2527294#M572629</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T09:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: DEFINITIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/definitions/m-p/2527295#M572630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Constants Locate the document in its SAP Library structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Constants are named data objects that you create statically using a declarative statement. They allow you to store data under a particular name within the memory area of a program. The value of a constant must be defined when you declare it. It cannot subsequently be changed. The value of a constant cannot be changed during the execution of the program. If you try to change the value of a constant, a syntax error or runtime error occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You declare constants using the CONSTANTS statement. Within the program, you can also declare local variables within procedures using CONSTANTS. The same rules of visibility apply to constants as apply to the visibility of data types. Local constants in procedures obscure identically-named variables in the main program. Constants exist for as long as the context in which they are declared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The syntax of the CONSTANTS statement is exactly the same as that of the DATA statement, but with the following exceptions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        You must use the VALUE addition in the CONSTANTS statement. The start value specified in the VALUE addition cannot be changed during the execution of the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        You cannot define constants for XSTRINGS, references, internal tables, or structures containing internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INTERFACE I_COUNTER.&lt;/P&gt;&lt;P&gt;  METHODS: SET_COUNTER IMPORTING VALUE(SET_VALUE) TYPE I,&lt;/P&gt;&lt;P&gt;           INCREMENT_COUNTER,&lt;/P&gt;&lt;P&gt;           GET_COUNTER EXPORTING VALUE(GET_VALUE) TYPE I.&lt;/P&gt;&lt;P&gt;ENDINTERFACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS C_COUNTER1 DEFINITION.&lt;/P&gt;&lt;P&gt;  PUBLIC SECTION.&lt;/P&gt;&lt;P&gt;    INTERFACES I_COUNTER.&lt;/P&gt;&lt;P&gt;  PRIVATE SECTION.&lt;/P&gt;&lt;P&gt;    DATA COUNT TYPE I.&lt;/P&gt;&lt;P&gt;ENDCLASS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS C_COUNTER1 IMPLEMENTATION.&lt;/P&gt;&lt;P&gt;  METHOD I_COUNTER~SET_COUNTER.&lt;/P&gt;&lt;P&gt;    COUNT = SET_VALUE.&lt;/P&gt;&lt;P&gt;  ENDMETHOD.&lt;/P&gt;&lt;P&gt;  METHOD I_COUNTER~INCREMENT_COUNTER.&lt;/P&gt;&lt;P&gt;    ADD 1 TO COUNT.&lt;/P&gt;&lt;P&gt;  ENDMETHOD.&lt;/P&gt;&lt;P&gt;  METHOD I_COUNTER~GET_COUNTER.&lt;/P&gt;&lt;P&gt;    GET_VALUE = COUNT.&lt;/P&gt;&lt;P&gt;  ENDMETHOD.&lt;/P&gt;&lt;P&gt;ENDCLASS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS C_COUNTER2 DEFINITION.&lt;/P&gt;&lt;P&gt;  PUBLIC SECTION.&lt;/P&gt;&lt;P&gt;    INTERFACES I_COUNTER.&lt;/P&gt;&lt;P&gt;  PRIVATE SECTION.&lt;/P&gt;&lt;P&gt;    DATA COUNT TYPE I.&lt;/P&gt;&lt;P&gt;ENDCLASS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS C_COUNTER2 IMPLEMENTATION.&lt;/P&gt;&lt;P&gt;  METHOD I_COUNTER~SET_COUNTER.&lt;/P&gt;&lt;P&gt;    COUNT = ( SET_VALUE / 10) * 10.&lt;/P&gt;&lt;P&gt;  ENDMETHOD.&lt;/P&gt;&lt;P&gt;  METHOD I_COUNTER~INCREMENT_COUNTER.&lt;/P&gt;&lt;P&gt;    IF COUNT GE 100.&lt;/P&gt;&lt;P&gt;      MESSAGE I042(00).&lt;/P&gt;&lt;P&gt;      COUNT = 0.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      ADD 10 TO COUNT.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDMETHOD.&lt;/P&gt;&lt;P&gt;  METHOD I_COUNTER~GET_COUNTER.&lt;/P&gt;&lt;P&gt;    GET_VALUE = COUNT.&lt;/P&gt;&lt;P&gt;  ENDMETHOD.&lt;/P&gt;&lt;P&gt;ENDCLASS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The interface I_COUNTER contains three methods SET_COUNTER, INCREMENT_COUNTER, and GET_COUNTER. The classes C_COUNTER1 and C_COUNTER2 implement the interface in the public section. Both classes must implement the three interface methods in their implementation part. C_COUNTER1 is a class for counters that can have any starting value and are then increased by one. C_COUNTER2 is a class for counters that can only be increased in steps of 10. Both classes have an identical outward face. It is fully defined by the interface in both cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;Pavan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 09:47:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/definitions/m-p/2527295#M572630</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T09:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: DEFINITIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/definitions/m-p/2527296#M572631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NEED DEFINITIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOCAL CONSTANT,GLOBAL CONSTANT,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Local Constant is the constant that u defined in ur local program, Global Constant is the constant tht u define globally(TOP Include of Module Pool, OR globally in Function Module)&lt;/P&gt;&lt;P&gt;Constants means we cant able to chnge the value &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOCAL RANGES,GLOBAL RANGES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here also the concept is same&lt;/P&gt;&lt;P&gt;Ranges means internally it creates an internal table of fields SIGN, OPTION , LOW , HIGH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOCAL CLASS VARIABLE,GLOBAL CLASS VARIABLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here also the concept is same&lt;/P&gt;&lt;P&gt;Variable means we can value can change&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOCAL CLASS INTERFACE,GLOBAL CLASS INTERFACE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Local class interface means , we are defining the interface localy ( SE37)&lt;/P&gt;&lt;P&gt;Glabal means we define the interface in SE24&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 09:49:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/definitions/m-p/2527296#M572631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T09:49:15Z</dc:date>
    </item>
  </channel>
</rss>

