9/06/2012

ABAP -- Introduction

ABAP stands for – Advanced Business Application Programming.
It is a programming language for developing applications for the SAP R/3 system.
The latest version of ABAP is  called  ABAP Objects and supports object-oriented programming.
Data Types
Syntax to declare a varaible in ABAP - DATA Var_Name Type Var_Type.
Example: DATA employee_Id Type I.
Assigning Values:a=11.
Arithmetic Operations: compute p = p*10.
Control Statements:
Following control statements can be used - - If ... EndIf Loop
Case statement:
    Case variable.
    when value1.
    when value2.
    when value3.
    [ when others.
    .........]
    Endcase.
    Do.
While loop
    While <logical expression>.
    Endwhile.
- Do loop
    Do <n> times.
    Enddo.
Logical Operator:
A list of logical operators
GT  >,   LT  <,GE  >=,LE  <=, EQ  =, NE  <>.
ABAP/4 Editor
Finally , here is where you will spent most of your time as a developer creating / modifying programs. Transaction SE38