Saturday, September 24, 2011

Introduction to ABAP

ABAP - Stands for Advanced Business Application Programming.

-> It is the programming language to develop applications for the R/3 System.
-> ABAP Language also known as ABAP/4 language.
Here 4 stands for 4th generation language.
-> The Latest version of ABAP is Called ABAP objects and it supports Object-Oriented Programming.

Data Types in ABAP Language:

Pre-Defined Data Types:
Integer Data Types:
4 Integer Data Types
-> Integer - I
-> Floating Point - F
-> Packed Decimal - P
-> Numeric - N

Character Data Types:
6 Character Data Types
-> Char - C
-> String - S
-> Date - DATS (YYYYMMDD)
-> Time - TIMS (HHMMSS)
-> XString - XS
-> Hexa Decimal - X

User Defined Data Types:
Syntax:
Types: Variable_Name type Variable_Type.
Ex:
Types: Eno type I.
Here Eno is Variable_Name
I is Variable_Type
Type is a Keyword to refer Data Types
Types is to make Statement as Data Type

Other way to define Data Types
Data: Eno type I
Data: Empno type Eno

Types means Data Types, Data means Data Objects
Data Types doesn't takes memory where as Data Objects can takes memory.

No comments:

Post a Comment

Application with Internal Table

Having screen painter with layout fields are vender, name, city operations. Select "SE80" -> Edit object Select program ->...