MESSAGE:
first basic concept is INTERNAL TABLES. so i am going with INTERNAL TABLES, i will discuss DATA DICITIONARY LATER.
first basic concept is INTERNAL TABLES. so i am going with INTERNAL TABLES, i will discuss DATA DICITIONARY LATER.
STEPS TO CREATE THE PROGRAM(ADDITION):
>> Execute SE 38 [ABAP Editor] in the command prompt and click enter.
>> Provide the program name , it must starts with Y or Z.
ZDEMO_ADD.
>> Click on create.
>> Provide title [anything ex: adding two numbers].
>> Select the type is EXECUTABLE PROGRAM.[ because we can execute this program independently without depending on other program ].
>>Click on SAVE.
>> Click on LOCAL OBJECT.
NOTE:
click on local object means our program will be saved
on $TMP Package (default package).
>>Now you get new screen .
PROGRAM:
Data A TYPE I .
Data B TYPE I .
Data C TYPE I .
A = 10.
B = 20.
C = A + B.
WRITE C.
STEPS TO EXECUTE OR RUN THE PROGRAM:
>> Save the program CTRL+S (u can find on top of the abap editor in the above diagram.)
>> Check the program CTRL+F2 (U CAN FIND ON THE TOP)
>> Activate the program CTRL + F3.
>> ENTER
>>Test the program or DIRECT PROCESSING (F8).
>> Yo can see the output.
message: see next post for internal table tutorials very important.





Comments
Post a Comment