Basic ABAP knowledge

More about SAP ABAP ver 0.1

ABAP (Advanced Business Application  Programming ) is business oriented language. we need to program using database

Type this on Command line:
/O - Generate Session
/I - Kill a Session
/N - New Session
/NEX - Exit SAP

To create a new session with Tcode:
/NSE38 {/N(Tcode)}
To generate a session with Tcode:
/OSE38
To kill a session just type :
/I
To exit sap
/NEX
Now About ABAP data type:

Data Type Description Memory
I Integer 4 Bytes
P Packed 8 Bytes
F Float 8 Bytes
C Character 1 Bytes
N Numeric Text 1 Bytes
D Date 8 Bytes
T Time 6 Bytes

Few ABAP Statements:
Write is a statement which is used for list output.
Type is a keyword which will be associated with data type
Data is the keyword which is used to declare a variable object. 

Syntax of program for WRITE :
WRITE : '<TEXT>', <VALUE>.

Syntax of program for DATA :
DATA : <VARIABLE_NAME> TYPE <DATA_TYPE>.

If you use  * with make the coding died this can be used for  COMMENT 
Shortcut key for making for code died.
select the line (Ctrl + <) to add comment.
to uncomment (Ctrl + >)

/ stands to new line.

All this will be explain and make more sense when you will use it in program.
You will get more real time use in the program in next programing post.  



No comments:

Post a Comment