PARAMETER:
Parameter is keyword ,which accepts the single value at run time.
syntax :
parameter <name> TYPE datatype.
eg: parameter A Type I.
parameter B Type I.
note:
DEFAULT is the keyword to provide the default value to the input field.
syntax:
parameter < name> Type <datatype>default<value>
ex: parameter A Type I default 10.
note:
OBLIGATORY is the keyword ,to provide input field as mandatory or compulsary.
syntax: parameter <name> Type I obligatory.
eg: parameter A Type I obligatory.
note:
The name of the parameter should not exceed 8 character length .
eg: parameter janardhan Type I.
incorrect name
note:
Parameter cannot accept FLOAT DATATYPE. Only it accepts packed decimal [P].
eg: parameter A Type F[incorrect].
NOTE:
By default a variable is the character data type and its length is one.
DATA A . here data type of A is char and length is 1.
INTRODUCING PROGRAMING:
In C language Addition of two numbers are written as:
C ABAP
int a ,b ,c ; Data A Type I.
a = 10; Data B Type I.
b = 20; Data C Type I.
c = a + b ; A = 10.
printf (" %d ", c); B = 20.
C = A + B.
Write C.
NOTE:
1. Between each variable or operand we must provide space.
2. In ABAP each statement end with period ' . ' .
3. Write is the key operational keyword to display the output in ABAP.
4. If more than one variable having the same keyword , instead of maintaing the same keyword everytime we use chain operator [ : ] ,and variable are seperated by comma and statement end with period[ . ]
format [ : , , , .]
ex:
Data A Type I.
Data B Type I.
Data C Type I.
We write above lines with chain keyword.
Data : A Type I,
B Type I,
C Type I.
Technical Requirements to create the program:
1. Name of the the program
In ABAP the name of the program must starts with ' y ' or ' z ' because A to X are Reserved for SAP.
2. Provide the place / folder ,where we save the program the place or folder is called as development class up to 4.6C version.
now it is called as package .
>> The latest version is ECC 6 .0 [Enterprise Central Component] .
>> note:
$TMP is the default package which is provided by SAP.
MINIMUM REQUIRMENT TO INSTALL SAP ABAP IS
320 GB HARD DISK
2 GB RAM .
message: In the next post i will discuss steps to login to SAP and programming.



Comments
Post a Comment