Proper arithmetic operators

Hi, all!
When using the following calculation, expecting to get a percentage, I get 100 as the result for surferHappyRatio over and over. Am I missing something stupid here? The size of the 'badNeighbors' array is 1 up to 8, with null space filling out the array so that there's always 8 spaces around a Surfer.
          totalBadNeighbors = badNeighbors.size();
          float r = totalBadNeighbors / 8;
          float f = r*100;
          int surferHappyRatio = 100-((int)f);
          System.out.println("==> happyRatio successfully calculated at " + surferHappyRatio);
          

Learn to do some basic debugging:
totalBadNeighbors = badNeighbors.size();
System.out.println( totalBadNeighbors );
float r = totalBadNeighbors / 8;
System.out.println( r );
float f = r*100;
System.out.println( f );
int surferHappyRatio = 100-((int)f);
System.out.println("==> happyRatio successfully
calculated at " + surferHappyRatio);What good does it do to only print out the final
value if you don't know what the indermediate results
are?I deserved that--I should have told you all that I already tried some debugging and just didn't show you that. Here's the problem (I'm channeling Adrian Monk): the answer to System.out.println( totalBadNeighbors ) was 3 in the test case. Obviously, I should get 0.375 as the answer to System.out.println( f ), but I'm not. I believe I've properly cast the variables--what in heaven's name am I missing? float/float = float, right?

Similar Messages

  • Doubt in Basic Arithmetic Operators' behavior

    Hi all,
    The Java Language Spec says that, the arithmetic operators +(Binary additive) and ++(increment) both return a integer value.
    So, while using a code like this,
    byte a=5;
    byte b = a+1;
    The compiler throws an error which is perfectly valid. But the same should happen when we use
    a = ++a;
    But the compiler does not throw any error.
    Can anybody explain about this?
    Thanks in advance!
    Dinesh.V

    byte a=5; // No error. 5 is an int, but compiler knows that 5 fits into a byte.
    byte b = a+1; // Error. Compiler doesn't know if a + 1 will fit into a byte.
    a = ++a; // No error. Type of ++a is byte because a is a byte.b = ++a; // No error. Type of ++a is a byte because a is a byte.

  • Arithmetic operators

    Hi experts,
    I need this : I have my variable num_pack = 0,04 type i.
                       I need my variable becomes 1.
                       Which operator do I need ( if exists ) ?
    Thanks in advance.
    Marco

    you have to call a function module to round always up.
    I dont remeber the exact name
    go SE37 and search for it by entering  round and hit F4.

  • Arithmetic Operators Help

    I've just started my Java programming class, and my book is not in from Amazon yet. So, please let me know if I recall these correctly from a previous Introduction to Java class from a fews years ago.
    The value of 5/2: 2
    The value of 5.0/2: 2.5
    The value of 5%2: 1
    The value of 2%5: 2
    Thanks for your help!

    You don't need a book or our help here. Just download the java compiler, read the first few tutorials to get it up and running and run a small program to see if your expectations match your findings. This is the best way to discover programming.

  • Arithmetic Operators Problem!

    int a,b;
    long c,d;
    a=12345;
    b=234567;
    c=a*b/b;
    d=(long)a*b/b;
    the Result:
    c= -5965
    d= 12345
    why ?

    Please see the expression broken into smaller expressions
    int a,b;
    long c,d;
    a=12345;
    b=234567;
    c=a*b/b;
    int temp1 = a*b; // here we can expect lossed values in temp1
    int temp2 = temp1 / b; // temp1 already corrupted
    c = temp2 ;
    // So instead do casting here
    c = (long)a*b/b; // Good luck
    d=(long)a*b/b;
    the Result:
    c= -5965
    d= 12345
    why ?

  • Cannot view arithmetic operators in Preview

    I can't seem to view this math related document correctly:
    "http://www.stewartcalculus.com/data/default/upfiles/LiesCalcAndCompTold.pdf".
    Message was edited by: Pleasehelp05

    I don't know why it does not work in Leopard, when it worked OK in Tiger.
    For the Adobe Reader issue with installation, you may want to run +Repair Disk Permissions+ in Disk Utility if you have not done that recently. Then, try it again.

  • Not showing error in dual while using it as arithmetic expression

    Hi,
    I have a requirement to throw error if two consecutive numbers or two consecutive operators are given. For this I would like to use dual table.
    It is throwing error if two numbers are given, but not throwing error if it has two operators.
    Error thrown for -> select 2 4 - 7 from dual;
    Error not thrown for -> select 2 + - 7 from dual;
    or
    select 2 - + 7 from dual;
    I am expecting an error in later case too. Can we do any changes to the query to throw the error?
    Thanks!

    Hi,
    If str is a string, then this expression
    REGEXP_LIKE ( str
             , '(\d\s+\d)'     || -- digits, separated by 1 or more whitespace characters
               '|'          || -- or
               '([+*/-]\s*[+*/-]'   -- operators, separated by 0 or more whitespace characters
             )will return TRUE if (and only if) str contains either two consecutive digits (separated by at least 1 space character) or str contains two consectuive arithmetic operators (not necessaily separated by space characters).
    You can include other operator symbols, by including them in both of the lists enclosed in square brackets. The hyphen ('-') must be the very first character or the very last character in the list; aside from that, the order of the symbols makes no difference.
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using.
    See the forum FAQ {message:id=9360002}

  • Add spaces in arithmetic expressions

    Hi experts,
    i have to insert spaces in arithmetical expressions written by users.
    For example:
    INPUT (by USERS): A+B-SQRT(C)/(D**2)
    OUTPUT (by Program): A + B - SQRT( C ) / ( D ** 2 )
    Possible arithmetic operators are:
    +; - ; *; /; **; SQRT()
    Any hints will be rewarded.
    Thanks in advance.
    Fabio.

    Thanks to all guys!
    the right code is a mixt of yours hints:
      l_len = STRLEN( tb_mzcatc-/bic/zformatc ).
      DO.
        l_char = input+n(1).
        CASE l_char.
          WHEN 'Q' OR
               'R'.
            CONCATENATE formula l_char INTO formula.
          WHEN 'T'.
            l_char = input+n(2).
            CONCATENATE formula l_char INTO formula.
            n = n + 1.
          WHEN '*'.
            IF input+n(2) = '**'.
              l_char = input+n(2).
              CONCATENATE formula l_char INTO formula SEPARATED BY ' '.
              n = n + 1.
            ELSE.
              CONCATENATE formula l_char INTO formula SEPARATED BY ' '.
            ENDIF.
          WHEN OTHERS.
            CONCATENATE formula l_char INTO formula SEPARATED BY ' '.
        ENDCASE.
        n = n + 1.
        IF n GT l_len.
          EXIT.
        ENDIF.
      ENDDO.
    Message was edited by:
            Fabio Cappabianca

  • Find the arithmetic operator

    Hi,
    My Document lot of mathematical equations. So i have applied the character style arithmetic operators but can't find the "+"
    app.findGrepPreferences.findWhat = "+";
    And also i tried this method i got that result("−") but i cant find the ("+")
    var test = String.fromCharCode(8722);
    app.findGrepPreferences.findWhat = test ;
    Any one help me
    Regards,
    Balaji B.

    Simplest is instead of using
    findGrepPreferences.findWhat
    use
    findTextPreferences.findWhat
    The point is that + is a GREP symbol (meaning one or more times).
    So if you really must use GREP, you have to escape it with a backslash
    (and that backslash has to be escaped as well if you're scripting it):
    findGrepPreferences.findWhat = "\\+";
    But again, just use textPreferences unless you have to use the extra
    power of GREP

  • Perform multiplication, division n get remainder without using arithmetic o

    hello,
    perform multiplication, division n get remainder without using arithmetic operators
    thanks in advance
    manasi

    ram.manasi wrote:
    i can program myself however i am new to programming and have no clue how to perform arithmmetic operations without using arithmetic operators n would like to know how to go about itwell, we're not your private code-monkeys nor are we tutors. We are usually best at answering specific questions but many of us get our hackles up when someone simply demands an answer. I suggest that you find out what your teacher is expecting of you here. I would guess that this involves some recursion, but it is up to you to find out. Do some work. Then if you have a specific question, please feel free to come back and ask for help. nicely.

  • Arithmetic operator

    Can't you use all Arithmetic operators with characters?

    What would the value be of doing this, evenassuming
    you can?it's easy:
    2 * '.' == ':'
    't' - '-' == l
    '~' + 'o' == � (that's õ in
    html)
    'p' ^ -1 == 'd'
    sqrt('A') == 'a'
    and so on...And if code were written like that, it would be time to get a rope to have a hangin' for the coder...

  • What am I doing wrong. I have problem with operators

    I have problem with following code. I am trying to use the operators in the array but I can't make it work.
    The result of the program commes up:
    58
    60
    57
    The correct result should be:
    15
    -5
    50
    What am I doing wrong?
    class Operators{
         public void operators (){              
              char [] operator = {'+','-','*'};
              int a = 5;
              int b = 10;
              for (int i=0; i<3;i++){              
                   int c = a+operator[i]+b;
                   System.out.println(c);          
         public static void main (String[] args){
    Operators op = new Operators();
    op.operators();

    Sorry to confuse you. When I have posted the first message I tried to simplify the problem. By doing this thought that I could figure out the rest of the problem by myself. But instead of getting answers I got more confused. What I am trying to do am:
    To take six or more numbers and put operators between numbers and display the result. I need to display the results for all possible operator combinations between the numbers.
    For example if I take six numbers 10,20,30,40,50,60 and I put the arithmetic operators in between the numbers I would like to create all possible results operator combinations and what the result would be.
    10+20+30+40+50+60 = 210
    10+20+30+40+50-60 = 90
    10+20+30+40+50*60 = 3150

  • Scja exam preparation 1.0 beta

    hi,
    I have done course in Java and Advance Java. I am planning to give SCJA
    beta 1.0.
    I have to give it before 15 July. I do not know what to refer. Please
    provide me guidance.
    Please suggest me books, sites, Links, documents any source of
    information.
    Please reply as soon as possible.
    Please gentlemen I rely on you heavily.
    I am unable to find more info. if you know any resource or anyone who can give me info pls. tell me.
    Objectives of exam are
    Section 1: Fundamental Object-Oriented Concepts
    � 1.1 Describe, compare, and contrast primitives (integer, floating
    point, boolean, and character), enumeration types, and objects.
    � 1.2Describe, compare, and contrast concrete classes, abstract classes,
    and interfaces, and how inheritance applies to them.
    � 1.3 Describe, compare, and contrast class compositions, and
    associations (including multiplicity: (one-to-one, one-to-many, and
    many-to-many), and association navigation.
    � 1.4 Describe information hiding (using private attributes and
    methods), encapsulation, and exposing object functionality using public
    methods; and describe the JavaBeans conventions for setter and getter
    methods.
    � 1.5 Describe polymorphism as it applies to classes and interfaces, and
    describe and apply the "program to an interface" principle.
    Section 2: UML Representation of Object-Oriented Concepts
    � 2.1 Recognize the UML representation of classes, (including attributes
    and operations, abstract classes, and interfaces), the UML
    representation of inheritance (both implementation and interface), and
    the UML representation of class member visibility modifiers (-/private
    and +/public).
    � 2.2 Recognize the UML representation of class associations,
    compositions, association multiplicity indicators, and association
    navigation indicators.
    Section 3: Java Implementation of Object-Oriented Concepts Notes: code
    examples may use the 'new' operator.
    � 3.1 Develop code that uses primitives, enumeration types, and object
    references, and recognize literals of these types.
    � 3.2 Develop code that declares concrete classes, abstract classes, and
    interfaces, code that supports implementation and interface inheritance,
    code that declares instance attributes and methods, and code that uses
    the Java access modifiers: private and public.
    � 3.3 Develop code that implements simple class associations, code that
    implements multiplicity using arrays, and recognize code that implements
    compositions as opposed to simple associations, and code that correctly
    implements association navigation.
    � 3.4 Develop code that uses polymorphism for both classes and
    interfaces, and recognize code that uses the "program to an interface"
    principle.
    Section 4: Algorithm Design and Implementation
    � 4.1 Describe, compare, and contrast these three fundamental types of
    statements: assignment, conditional, and iteration, and given a
    description of an algorithm, select the appropriate type of statement to
    design the algorithm.
    � 4.2 Given an algorithm as pseudo-code, determine the correct scope for
    a variable used in the algorithm, and develop code to declare variables
    in any of the following scopes: instance variable, method parameter, and
    local variable.
    � 4.3 Given an algorithm as pseudo-code, develop method code that
    implements the algorithm using conditional statements (if and switch),
    iteration statements (for, for-each, while, and do-while), assignment
    statements, and break and continue statements to control the flow within
    switch and iteration statements.
    � 4.4 Given an algorithm with multiple inputs and an output, develop
    method code that implements the algorithm using method parameters, a
    return type, and the return statement, and recognize the effects when
    object references and primitives are passed into methods that modify
    them.
    � 4.5 Given an algorithm as pseudo-code, develop code that correctly
    applies the appropriate operators including assignment operators
    (limited to: =, +=, -=), arithmetic operators (limited to: +, -, *, /,
    %, ++, --), relational operators (limited to: <, <=, >, >=, ==, !=),
    logical operators (limited to: !, &&, ||) to produce a desired result.
    Also, write code that determines the equality of two objects or two
    primitives.
    � 4.6 Develop code that uses the concatenation operator (+), and the
    following methods from class String: charAt, indexOf, trim, substring,
    replace, length, startsWith, and endsWith.

    Section 5: Java Development Fundamentals
    � 5.1 Describe the purpose of packages in the Java language, and
    recognize the proper use of import and package statements.
    � 5.2 Demonstrate the proper use of the "javac" command (including the
    command-line options: -d and -classpath), and demonstrate the proper use
    of the "java" command (including the command-line options: -classpath,
    -D and -version).
    � 5.3 Describe the purpose and types of classes for the following Java
    packages: java.awt, javax.swing, java.io, java.net, java.util.

    Section 6: Java Platforms and Integration Technologies
    � 6.1 Distinguish the basic characteristics of the three Java platforms:
    J2SE, J2ME, and J2EE, and given a high-level architectural goal, select
    the appropriate Java platform or platforms.
    � 6.2 Describe at a high level the benefits and basic characteristics of
    RMI and threading.
    � 6.3 Describe at a high level the benefits and basic characteristics of
    JDBC, SQL, and RDBMS technologies.
    � 6.4 Describe at a high level the benefits and basic characteristics of
    JNDI, messaging, and JMS technologies.

    Section 7: Client Technologies
    � 7.1 Describe at a high level the basic characteristics, benefits and
    drawbacks of creating thin-clients using HTML and JavaScript and the
    related deployment issues and solutions.
    � 7.2 Describe at a high level the basic characteristics, benefits,
    drawbacks, and deployment issues related to creating clients using J2ME
    midlets.
    � 7.3 Describe at a high level the basic characteristics, benefits,
    drawbacks, and deployment issues related to creating fat-clients using
    Applets.
    � 7.4 Describe at a high level the basic characteristics, benefits,
    drawbacks, and deployment issues related to creating fat-clients using
    Swing.

    Section 8: Server Technologies
    � 8.1 Describe at a high level the basic characteristics of: EJB,
    servlets, JSP, JMS, JNDI, SMTP, JAX-RPC, Web Services (including SOAP,
    UDDI, WSDL, and XML), and JavaMail.
    � 8.2 Describe at a high level the basic characteristics of servlet and
    JSP support for HTML thin-clients.
    � 8.3 Describe at a high level the use and basic characteristics of EJB
    session, entity and message-driven beans.
    � 8.4 Describe at a high level the fundamental benefits and drawbacks of
    using J2EE server-side technologies, and describe and compare the basic
    characteristics of the web-tier, business-tier, and EIS tier.

    hi,
    I have done course in Java and Advance Java. I am planning to give SCJA
    beta 1.0.
    I have to give it before 15 July. I do not know what to refer. Please
    provide me guidance.
    Please suggest me books, sites, Links, documents any source of
    information.
    Please reply as soon as possible.
    Please gentlemen I rely on you heavily.
    I am unable to find more info. if you know any resource or anyone who can give me info pls. tell me.
    Objectives of exam are
    Section 1: Fundamental Object-Oriented Concepts
    � 1.1 Describe, compare, and contrast primitives (integer, floating
    point, boolean, and character), enumeration types, and objects.
    � 1.2Describe, compare, and contrast concrete classes, abstract classes,
    and interfaces, and how inheritance applies to them.
    � 1.3 Describe, compare, and contrast class compositions, and
    associations (including multiplicity: (one-to-one, one-to-many, and
    many-to-many), and association navigation.
    � 1.4 Describe information hiding (using private attributes and
    methods), encapsulation, and exposing object functionality using public
    methods; and describe the JavaBeans conventions for setter and getter
    methods.
    � 1.5 Describe polymorphism as it applies to classes and interfaces, and
    describe and apply the "program to an interface" principle.
    Section 2: UML Representation of Object-Oriented Concepts
    � 2.1 Recognize the UML representation of classes, (including attributes
    and operations, abstract classes, and interfaces), the UML
    representation of inheritance (both implementation and interface), and
    the UML representation of class member visibility modifiers (-/private
    and +/public).
    � 2.2 Recognize the UML representation of class associations,
    compositions, association multiplicity indicators, and association
    navigation indicators.
    Section 3: Java Implementation of Object-Oriented Concepts Notes: code
    examples may use the 'new' operator.
    � 3.1 Develop code that uses primitives, enumeration types, and object
    references, and recognize literals of these types.
    � 3.2 Develop code that declares concrete classes, abstract classes, and
    interfaces, code that supports implementation and interface inheritance,
    code that declares instance attributes and methods, and code that uses
    the Java access modifiers: private and public.
    � 3.3 Develop code that implements simple class associations, code that
    implements multiplicity using arrays, and recognize code that implements
    compositions as opposed to simple associations, and code that correctly
    implements association navigation.
    � 3.4 Develop code that uses polymorphism for both classes and
    interfaces, and recognize code that uses the "program to an interface"
    principle.
    Section 4: Algorithm Design and Implementation
    � 4.1 Describe, compare, and contrast these three fundamental types of
    statements: assignment, conditional, and iteration, and given a
    description of an algorithm, select the appropriate type of statement to
    design the algorithm.
    � 4.2 Given an algorithm as pseudo-code, determine the correct scope for
    a variable used in the algorithm, and develop code to declare variables
    in any of the following scopes: instance variable, method parameter, and
    local variable.
    � 4.3 Given an algorithm as pseudo-code, develop method code that
    implements the algorithm using conditional statements (if and switch),
    iteration statements (for, for-each, while, and do-while), assignment
    statements, and break and continue statements to control the flow within
    switch and iteration statements.
    � 4.4 Given an algorithm with multiple inputs and an output, develop
    method code that implements the algorithm using method parameters, a
    return type, and the return statement, and recognize the effects when
    object references and primitives are passed into methods that modify
    them.
    � 4.5 Given an algorithm as pseudo-code, develop code that correctly
    applies the appropriate operators including assignment operators
    (limited to: =, +=, -=), arithmetic operators (limited to: +, -, *, /,
    %, ++, --), relational operators (limited to: <, <=, >, >=, ==, !=),
    logical operators (limited to: !, &&, ||) to produce a desired result.
    Also, write code that determines the equality of two objects or two
    primitives.
    � 4.6 Develop code that uses the concatenation operator (+), and the
    following methods from class String: charAt, indexOf, trim, substring,
    replace, length, startsWith, and endsWith.

    Section 5: Java Development Fundamentals
    � 5.1 Describe the purpose of packages in the Java language, and
    recognize the proper use of import and package statements.
    � 5.2 Demonstrate the proper use of the "javac" command (including the
    command-line options: -d and -classpath), and demonstrate the proper use
    of the "java" command (including the command-line options: -classpath,
    -D and -version).
    � 5.3 Describe the purpose and types of classes for the following Java
    packages: java.awt, javax.swing, java.io, java.net, java.util.

    Section 6: Java Platforms and Integration Technologies
    � 6.1 Distinguish the basic characteristics of the three Java platforms:
    J2SE, J2ME, and J2EE, and given a high-level architectural goal, select
    the appropriate Java platform or platforms.
    � 6.2 Describe at a high level the benefits and basic characteristics of
    RMI and threading.
    � 6.3 Describe at a high level the benefits and basic characteristics of
    JDBC, SQL, and RDBMS technologies.
    � 6.4 Describe at a high level the benefits and basic characteristics of
    JNDI, messaging, and JMS technologies.

    Section 7: Client Technologies
    � 7.1 Describe at a high level the basic characteristics, benefits and
    drawbacks of creating thin-clients using HTML and JavaScript and the
    related deployment issues and solutions.
    � 7.2 Describe at a high level the basic characteristics, benefits,
    drawbacks, and deployment issues related to creating clients using J2ME
    midlets.
    � 7.3 Describe at a high level the basic characteristics, benefits,
    drawbacks, and deployment issues related to creating fat-clients using
    Applets.
    � 7.4 Describe at a high level the basic characteristics, benefits,
    drawbacks, and deployment issues related to creating fat-clients using
    Swing.

    Section 8: Server Technologies
    � 8.1 Describe at a high level the basic characteristics of: EJB,
    servlets, JSP, JMS, JNDI, SMTP, JAX-RPC, Web Services (including SOAP,
    UDDI, WSDL, and XML), and JavaMail.
    � 8.2 Describe at a high level the basic characteristics of servlet and
    JSP support for HTML thin-clients.
    � 8.3 Describe at a high level the use and basic characteristics of EJB
    session, entity and message-driven beans.
    � 8.4 Describe at a high level the fundamental benefits and drawbacks of
    using J2EE server-side technologies, and describe and compare the basic
    characteristics of the web-tier, business-tier, and EIS tier.

  • Is there a way to have autogenerated columns in SSRS Report without declaring the column defination at design time.

    I just have a procedure in which i do have a dynamic query.It has certain parameter on the basis of which different set of columns will be returned in the result set. Now I want a SSRS report which can automatically pick up the columns from the Procedure
    result.without declaring column Names at Design Time(As i don't know which columns will come in the result set)
    PS:- I can't make separate matrix/table with their respective column names and show/hide them as I don't know which columns will come from procedure.
    Thanks
    Kanwar

    Can you please give a reference.I want a matrix or table to display the result set as is returned from the procedure.(Lets just say you keep the columns fixed).How without writing the column Names in table/matrix it automatically generates
    the columns similar to resultset.
    A bit of background for Understanding scenario:
    We want to give users the column names, arithmetic operators,etc.(From UI) and then send the query to SSRS. This query will be sent to SQL procedure(which is being used in RDL).What after that ??? . SSRS is not changing the result set dynamically.So as the
    result set is not definite i want table/matrix to populate the data returned from procedure automatically (without defining columns at design - time).
    Thanks
    Kanwar

  • ABAP/4 Keywords for all SAP R/3 Versions

    Hello Experts,
          Is there any DB Table available in Data Dictionary where all these ABAP/4 Keywords available; if yes do please let me know if not available then do please provide me with all ABAP/4 Keywords of all versions of SAP R/3 if possible
    points will be awarded if helpful.
    Thanks in Advance

    Hello Arif,
    There no particular table to check all the key words in ABAP.
    To check system fields Go for
    Se11-- SYST.
    TO get the key words go to ABAPDOCU- type ur required key word in the search given in the last section.
    The best option would be to debug ABAPDOCU, when you do a click on Keywords
    Or Check the Pooled table : TSE05
    As you must be knowing ABAPDOCU is in SABAPDOCU Package.....!!
    There are a number of tables used; like ABTREE,etc !
    Explore and find whether you can get some clue!
    Find the keywords here...
    Keywords     Description
    , [, ], {, }     Syntax conventions, Syntax notation
    *, "     Comments
    **     Arithm. Operator: Exponentiation (COMPUTE)
    +, -, *, /     Arithmetical operators (COMPUTE)
    ->, =>, ->>, ~, ?=     Operators in ABAP Objects
    ABS     Mathematical function: Absolute amount COMPUTE)
    ACOS     Mathematical function: Cosine arc (COMPUTE)
    ADD     Add
    ADD-CORRESPONDING     Field string addition
    ADJACENT DUPLICATES     Delete duplicates from internal table (DELETE)
    AND     Comparison operator: and
    ANY TABLE     Generic table type for internal tables
    APPEND     Append line to internaltable
    ASIN     Mathematical function: Sine arc (COMPUTE)
    ASSIGN     Assign field symbol
    AT     Event, control break, field group determination
    ATAN     Mathematical function: Tangent  arc
    AUTHORITY-CHECK     Check authorization
    AVG     Aggregate expression: Average (SELECT)
    BACK     Positioning in list
    BETWEEN     Relational operator: Between
    BINARY SEARCH     Binary read of internaltable (READ TABLE)
      BIT-NOT     Bit calculation operator: NOT (COMPUTE)
      BIT-AND     Bit calculation operator: AND (COMPUTE)
      BIT-OR     Bit calculation operator: OR (COMPUTE)
      BIT-XOR     Bit calculation operator: AND/OR (COMPUTE)
      SET BIT     Set bit of an X field
      GET BIT     Read bit of an X field
    BLANK LINES     Switch on blank lines in list
    BREAK-POINT     Stop processing in debug mode
    C     Data type for fixed-length character string
    CA     Contains any characters -Relational operator forstring comparison
    CALL     Call external component
    CASE     Begin case distinction
    CATCH     Exception handling (catch runtime errors)
    CEIL     Mathematical function: Smallest whole value
    CENTERED     Output format: Centered(WRITE)
    CHECK     Check condition
    CHECKBOX      Display as checkbox
      PARAMETERS ... AS CHECKBOX     on the selection screen
      WRITE ... AS CHECKBOX     in a list
    CLASS     Definition of a class
    CLASS-DATA     Static attributes in classes
    CLASS-METHODS     Static methods in classes
    CLASS-EVENTS     Static events in classes
    CLASS-POOL     Introduction for type Kprograms
    CLEAR     Initialize data object
    CLIENT       Client handling when
      DELETE ... CLIENT SPECIFIED     deleting from a database
      EXPORT ... TO DATABASE ... CLIENT     Storing a data cluster
      IMPORT ... FROM DATABASE ... CLIENT     Reading a data cluster
      EXPORT ... TO SHARED BUFFER ... CLIENT     Storing a data cluster
      IMPORT ... FROM SHARED BUFFER ... CLIENT     Reading a data cluster
      INSERT ... CLIENT SPECIFIED     inserting into a database
      MODIFY ... CLIENT SPECIFIED     Insert/Modify in database(s)
      SELECT ... CLIENT SPECIFIED     reading from a database
      UPDATE ... CLIENT SPECIFIED     updating a database
    CLOSE     Close file/cursor
    CN     Contains Not Only - Relational operator for character comparison:
    CNT     Field groups: Number ofdifferent values
    CO     Contains Only - Relational operator for character comparison:
    CODE PAGE              Character set
      TRANSLATE ... FROM/TOCODE PAGE     Translate character codes
    COLLECT     Internal table: Add entries
    COLOR     Output format: Color (FORMAT)
    COMMENT                  Comment on selection screen
      SELECTION-SCREEN COMMENT     Generate comment
    COMMIT     Close processing unit
    COMMUNICATION     Data exchange
    COMPUTE     Perform calculations
    CONCATENATE     Concatenate character fields
    CONDENSE     Condense character fields
    CONSTANTS     Defing constants
    CONTEXTS     Communicate contexts
    CONTINUE     Exit current loop pass
    CONTROLS     Define controls for visualization
    CONVERT     Convert fields
    COS     Mathematical function: Cosine (COMPUTE)
    COSH     Mathematical function: Hyperbola cosine (COMPUTE)
    COUNT     Aggregate expression: Count (SELECT)
    COUNTRY     Set country ID (SET)
    CP     Relational operator forcharacter comparison:
    DATABASE                Contains Pattern
    CREATE     Generate an object or data object
    CS     Contains character - Relational operator forcharacter comparison
    CURRENCY     Output format: Correct format for currency (WRITE)
    CURSOR                   Cursor
      CLOSE                Close database cursor
      FETCH NEXT CURSOR     Read lines with a database cursor
      GET CURSOR FIELD        Get field name
      OPEN CURSOR            Open database cursor
      SET CURSOR            Position cursor
    CUSTOMER-FUNCTION      Call customer enhancement
    DATA     Define data
    DATABASE               Data cluster
      DELETE FROM DATABASE        Delete from a database table
      EXPORT ... TO DATABASE        Store in a databasetable
      IMPORT ... FROM DATABASE     Read from a database table
    DATASET                 Sequential file
      CLOSE DATASET          Close file
      DELETE DATASET        Delete file
      EXPORT ... TO DATASET        Store data cluster in file
      IMPORT ... FROM DATASET       Read data cluster from file
      OPEN DATASET    Open file     Open file
      READ DATASET        Read from a file
      TRANSFER       Output to a file
    DECIMALS     Output format: Places after the decimal point - (WRITE)
    DEFINE     Define macro
    DELETE     Delete from tables or from objects
    DEMAND     Request information from a context
    DESCRIBE     Determine attributes ofdata objects
    DIALOG     Call a dialog module (CALL)
    DISTINCT            Duplicates
      SELECT DISTINCT          Selection set without duplicates
      AVG( DISTINCT ... )        Average without duplicates (SELECT)
      COUNT( DISTINCT ... )        Sequential file
      MAX( DISTINCT ... )      Maximum without duplicates (SELECT)
      MIN( DISTINCT ... )      Minimum without duplicates (SELECT)
      SUM( DISTINCT ... )     Sum without duplicates (SELECT)
    DIV     Arithmetic operator: Whole number division
    DIVIDE     Divide
    DIVIDE-CORRESPONDINGField string division     Field string division
    DO     Loop
    DYNPRO               Screen      Screen
      DELETE DYNPRO    Delete     Delete
      EXPORT DYNPRO    Export     Export
      GENERATE DYNPRO    Generate     Generate
      IMPORT DYNPRO    Import      Import
      SYNTAX-CHECK FOR DYNPRO   Check     Check
    EDITOR-CALL     Call editor
    ELSE     Query
    ELSEIF     Query
    END-OF-DEFINITION     End of a macro definition
    END-OF-PAGE     Event: End of page handling in lists
    END-OF-SELECTION     Event: After processingof all records in a LDB
    ENDAT     End of an event introduced by AT
    ENDCASE     End of case distinction
    ENDCATCH     End of exception handling
    ENDDO     End of a DO loop
    ENDEXEC     End of a Native SQL statement
    ENDFORM     End of a subroutine
    ENDFUNCTION     End of a function module
    ENDIF     End of a query
    ENDINTERFACE     End of an interface definition
    ENDLOOP     End of a LOOP
    ENDMODULE     End of a module definition
    ENDON     End of a conditional statement
    ENDPROVIDE     End of a PROVIDE loop
    ENDSELECT     End of a SELECT loop
    ENDWHILE     End of a WHILE loop
    EQ     Relational operator: Equals
    EXEC SQL     Native SQL statement
    EXIT     Exit loop or terminate processing
    EXP     Mathematical function: Exponential function
    EXPONENT     Output format: Exponentdisplay (WRITE)
    EXPORT     Export data
    EXTENDED CHECK     Switch extended syntax check on/off (SET)
    EXTRACT     Generate extract dataset
    FETCH     Read line from a database table
    FIELD-GROUPS     Define field groups
    FIELD-SYMBOLS     Define field symbols
    FLOOR     Mathematical function:Largest whole value
    FORM     Define subroutine
    FORMAT     Output format for lists
    FOR UPDATE     Read database table with lock (SELECT)
    FRAC     Mathematical function: Fraction (COMPUTE)
    FREE     Release resources no longer needed
    FUNCTION     Define function module
      CALL FUNCTION     Call function module
    FUNCTION-POOL     Introduction for type Fprograms
    GE     Relational operator: Greater than or equal
    GENERATE     Generate a program or screen
    GET     Event, read settings
    GT     Relational operator: Greater than
    HASHED TABLE     Table type for internalhashed tables
    HEADER LINE     Define an internal table with header line (DATA)
    HELP-ID                Help ID for F1 help
      DESCRIBE FIELD ... HELP-ID      Determine help ID
    HELP-REQUEST              Self-programmed help (F1)
      PARAMETERS ... HELP-REQUEST          for parameters
      SELECT-OPTIONS ... HELP-REQUEST      for selection options
    HIDE     Store line information
    HOTSPOT     Output format: Hotspot,interaction by simple - mouse click (FORMAT)
    ICON     Icons in lists
    IF     Query
    IMPORT     Import data or a screen
    IN     Relational operator: Selection criterion
    INCLUDE     Include program components
    INDEX                    Line index in an internal table
    INDEX TABLE     
      DELETE ... INDEX     Delete line
      INSERT ... INDEX     Insert line
      MODIFY ... INDEX     Modify line
      READ TABLE ... INDEX     Read line
    INFOTYPES     Declare HR info type
    INITIAL     Relational operator: Initial value
    INITIAL SIZE     Define an internal table type (TYPES)
    INITIALIZATION     Event: Before display of the selection screen
    INPUT     Output format: Ready for input (FORMAT)
    INSERT     Insert into tables or objects
    INTENSIFIED     Output format: Intensified (FORMAT)
    INTERFACE     Definition of an interface
    INTERFACES     Class component interface
    INTERFACE-POOL     Introduction fortype J programs
    INVERSE     Output format: Inverse (FORMAT)
    IS                 Relational operator
      IS ASSIGNED      Relational operator: Is the field symbol assigned?
      IS INITIAL             Relational operator: Initial value
      IS REQUESTED          Relational operator: Existence of a formal
    parameter     
    JOIN     Join (SELECT)
    LANGUAGE     Set language for text elements (SET)
    LE     Relational operator: Less than or equal
    LEAVE     Leave processing
    LEFT-JUSTIFIED     Output format: Left-justified (WRITE)
    LIKE                     Use an existing field as areference
      TYPES ... LIKE     Create a type
      DATA ... LIKE     Create a field
    LINE                      Line in a list
      MODIFY LINE     Modify line
      READ LINE             Read line
    LINE-COUNT     Number of lines per page (NEW-PAGE)
    LINE-SIZE     Line size (NEW-PAGE)
    LIST-PROCESSING          List processing (LEAVE)
    LOAD     Load program componentsin internal table
    LOAD-OF-PROGRAM          Execution at load time
    LOCAL     Rescue actual parameters of a subroutine
    LOCAL COPY     Assign local copy to a field symbol
    LOCALE     Set text environment (SET)
       SET LOCALE     Set text environment
       GET LOCALE     Determine text environment
    LOG     Mathematical function: Natural logarithm (COMPUTE)
    Logical condition     
      SELECT ... WHERE         when reading database tables
      UPDATE ... WHERE         when changing database tables
      DELETE ... WHERE         when deleting fromdatabase tables
      SELECT ... FROM ... ON        when reading usinga join
    LOG10     Mathematical function: Base 10 logarithm (COMPUTE)
    LOOP     Loop
    LT     Relational operator: Less than
    M     Relational operator: Byte contains zeros and ones
    MARGIN     List output: Distance from edge (SET)
    MATCHCODE            Matchcode handling
    PARAMETERS ... MATCHCODE          for parameters
      SELECT-OPTIONS ... MATCHCODE      for selection options
    MAX     Aggregate expression: Maximum (SELECT)
    MEMORY                    ABAP/4 memory
      EXPORT ... TO MEMORY      Roll out data to memory
      IMPORT ... FROM MEMORY     Restore data from memory
    MESSAGE     Output message
    MESSAGE-ID     Specify message class (REPORT)
    METHOD     Definition of a method
    METHODS     Class component method
    MIN     Aggregate expression: Minimum (SELECT)
    MOD     Arithmetic operator: Remainder after division
         (COMPUTE)
    MODIFY     Modify tables or objects
    MODULE     Flow logic: Module
    MOVE     Assignment
    MOVE-CORRESPONDING       Component-by-component assignment
    MULTIPLY     Multiply
    MULTIPLY-CORRESPONDING     Field string multiplication
    NA     Relational operator forcharacter comparison:
         Contains not any characters
    NE     Relational operator: Not equal
    NEW-LINE     List processing: New line
    NEW-PAGE     List processing: New page
    NODES     Interface work area forlogical databases
    NO-GAP     Output format: Leave nogaps (WRITE)
    NO-HEADING     Display no column headers (NEW-PAGE)
    NO-SCROLLING     Do not scroll line (NEW-LINE)
    NO-SIGN     Output format: No preceding signs (WRITE)
    NO-TITLE     Do not display standardpage header (NEW-PAGE)
    NO-ZERO     Output format: No leading zeros (WRITE)
    NON-UNIQUE               Defines an
      TYPES     internal table type
      DATA                   internal table object
    NP     Relational operator forcharacter comparison:
         Does not contain pattern
    NS     Relational operator forcharacter comparison:
         Does not contain character
    O     Relational operator: Byte positions occupied by1
    OBJECT                External object
      CREATE OBJECT     Generate
      FREE OBJECT       Release
    OCCURS       Defines an
      TYPES     internal table type
      DATA                   internal table object
    ON CHANGE     Control break
    OPEN     Open file/cursor
    OR     Relational operator: OR
    ORDER BY     Sort table rows (SELECT)
    OVERLAY     Overlay character fields
    PACK     Conversion
    PARAMETER                Parameter in global SAP memory
      GET     Read parameter
      SET     Set parameter
    PARAMETERS     Define report parameters
    PERFORM     Execute subroutine
    PF-STATUS     Set GUI status
    POSITION     List processing: Defineoutput position
    PRINT     Print formatting (NEW-PAGE)
    PRINT-CONTROL     Define print format
    PRIVATE     Class area not visible from outside
    PROGRAM     Introduction for type Mand S programs
      LEAVE PROGRAM     Leave program
    PROPERTY                 Object property
      GET PROPERTY     Get property
      SET PROPERTY     Set property
    PROVIDE     Internal tables: Interval-related processing
    PUT     Trigger event
    RADIOBUTTON     Radio button (PARAMETERS)
    RAISE     Raise exceptions and events
    RAISING     Raise error message in function module
    RANGES     Define internal table for selection criterion
    READ     Read tables or objects
    RECEIVE     Receive results (RFC)
    REFRESH     Delete internal table
    REFRESH CONTROL     Initialize control
    REJECT     Do not process current database line further
    REPLACE     Replace characters
    REPORT     Introduction for type 1programs
      DELETE REPORT         Delete program
      EDITOR-CALL FOR REPORT        Call ABAP program editor
      INSERT REPORT        Insert program in library
      READ REPORT        Read program
    RESERVE     List processing: Conditional new page
    RESET     Output format: Reset all formats (FORMAT)
    RIGHT-JUSTIFIED     Output format: Right justified (WRITE)
    ROLLBACK     Roll back database changes
    ROUND     Output format: Scaled (WRITE)
    RTTI     Runtime type identification
    RUN TIME ANALYZER     Activate/Deactivate runtime analysis (SET)
    SCAN     Analyze ABAP/4 source code
    SCREEN            Screen
      CALL SCREEN     Call screen
      SET SCREEN     Set next screen
      LEAVE SCREEN     Leave screen
      LEAVE TO SCREEN     Branch to a screen
      LOOP AT SCREEN     Loop through screen fields
      MODIFY SCREEN     Modify screen fields
    SCROLL     List processing: Scroll
    SCROLL-BOUNDARY          List processing: Fix lead columns (SET)
    SEARCH     Find character
    SELECT     Read database table
    SELECT-OPTIONS           Define selection criterion
    SELECTION-SCREEN     Design selection screen
      AT SELECTION-SCREENEvent:     After editing ofselection screen
    SHARED BUFFER           Cross-transaction application buffer
      DELETE FROM SHARED BUFFER         delete from application buffer
      EXPORT ... TO SHARED BUFFER       Store data in application buffer
      IMPORT ... FROM SHARED BUFFER     Read data from application buffer
    SELECTION-TABLE     Selection table (SUBMIT)
    SET     Set different processing parameters
    SHIFT     Move character
    SIGN     Mathematical function: Sign (COMPUTE)
    SIN     Mathematical function: Sine (COMPUTE)
    SINGLE     Select single record (SELECT)
    SINH     Mathematical function: Hyperbola  sine (COMPUTE)
    SKIP     List processing: Outputblank line
    SORT     Sort internal table or extract dataset
    SORTED TABLE     Table type for internaltables that are always kept
    SPLIT     Split character fields
    SQRT     Mathematical function: Square  root (COMPUTE)
    STANDARD TABLE     Table type for standardinternal tables
    START-OF-SELECTION     Event: Before first access to LDB
    STATICS     Define static data
    STOP     Stop data selection (LDB)
    STRING     Data type for variable-length character sequence
    STRLEN     Character function: Current length (COMPUTE)
    STRUCTURE         Data structure
      INCLUDE STRUCTURE     Use structure
    SUBMIT     Program call
    SUBTRACT     Subtract
    SUBTRACT-CORRESPONDING     Field string subtraction
    SUM     Calculate control total
      SELECT ... SUM     Aggregate expression: Total
    SUPPLY     Supply context key fields
    SUPPRESS DIALOG     Suppress dialog
    SYMBOL     Output as symbol (WRITE)
    SYNTAX-CHECK     Syntax check for programs and screens
    SYNTAX-TRACE     Syntax check log
    SYSTEM-CALL     Call to various system services
    SYSTEM-EXCEPTIONS        Catch runtime errors (CATCH)
    TABLE LINE               Unstructured lines in internal tables
    TABLE_LINE               Unstructured lines in internal tables
    TABLES     Declare database table
    TABLE                    Set or array operations for database tables
      DELETE ... FROM TABLE     Delete block of lines
      INSERT ... FROM TABLE     Insert block of lines
      MODIFY ... FROM TABLE     Insert/update block of lines
      UPDATE ... FROM TABLE     Update block of lines
      SELECT ... INTO TABLE     Copy block of lines to internal table
    TAN     Mathematical function: Tangent (COMPUTE)
    TANH     Mathematical function: Hyperbola tangent (COMPUTE)
    TEXT      Locale-specific
      CONVERT TEXT     Set format
      SORT itab AS TEXT     Sort an internal table
      SORT AS TEXT     Sort an extract dataset
    TEXTPOOL                 Text elements
      DELETE TEXTPOOL     Delete
      INSERT TEXTPOOL     Insert
      READ TEXTPOOL     Read
    TIME                     Time measurement
      GET RUN TIME     Get runtime
      GET TIME     Get time
      SET RUN TIME ANALYZER     Switch runtime analysison/off
    TIME STAMP               Time stamp
      GET TIME STAMP     Get time stamp
      CONVERT TIME STAMP     Convert time stamps to date/time
      WRITE f TIME ZONE     Output of time stamps to lists
    TITLEBAR     Set screen title (SET)
    TOP-OF-PAGE     Event: Top of page handling in lists
    TRANSACTION              SAP transaction
      CALL TRANSACTION     Call
      LEAVE TO TRANSACTION     Leave to
    TRANSFER     Output to file
    TRANSLATE     Character conversion incharacter fields
    TRANSPORTING       Selective field transport
      MODIFY ... TRANSPORTING     Modify lines of an internal table
      READ   ... TRANSPORTING     Read lines of an internal table
      LOOP   ... TRANSPORTING     Loop through an internal table
    TRUNC     Mathematical function: Whole  number part (COMPUTE)
    TYPE                     Define a type
      TYPES ... TYPE     Define a type
      DATA ... TYPE     Define a field
    TYPE-POOL     Introduction for type Tprograms
    TYPE-POOLS     Include type group
    TYPES     Define types
    ULINE     List processing: Underscore
    UNDER     Output format: One under the other (WRITE)
    UNIQUE           Define an
      TYPES     internal table type
    DATA                   internal table object
    UNIT     Output format: Unit (WRITE)
    UNPACK     Conversion
    UPDATE     Update database table
    USER-COMMAND     List processing: Execute command immediately (SET)
    USING                    Use parameter or format
      USING                  Parameter of a subroutine
      USING EDIT MASK     Output format: Use template (WRITE)
    VALUE-REQUEST            Self-programmed value help(F4)
      PARAMETERS ... VALUE-REQUEST          for parameters
      SELECT-OPTIONS ... VALUE-REQUEST      for selection options
    WHEN     Case distinction
      SELECT ... WHERE      when reading from databasetables
      UPDATE ... WHERE       when changing database tables
      DELETE ... WHERE      when deleting database tables
      LOOP AT ... WHERE     when looping at internal tables
      DELETE ... WHERE       when deleting from internal tables
    WHILE     Loop
    WINDOW     List processing: Outputin window
    WITH-TITLE     Output standard page header (NEW-PAGE)
    WORK                     Processing unit
      COMMIT WORK     Close unit
      ROLLBACK WORK     Close unit, but undo changes
    WRITE     List processing: Output
    WRITE TO     Correct type output in a variable
    X     Data type for fixed-length byte sequence
    XSTRING     Data type for variable-length byte sequence
    Z     Relational bit operator: Bit positions occupiedby
    Regards
    Sasidhar Reddy Matli.

Maybe you are looking for