ABAP is a special programming language used by SAP only. The full form of ABAP is Advanced Business Application Programming. This language is created by the company SAP itself. It is used for the modification and other development works for the customization purposes as per the user requirements. Trained SAP ABAP professionals called ABAP developers or SAP Technical Consultants are doing this job. The major works with ABAP are for creating the customized reports than the standard reports included in SAP products.
Initially ABAP was the only programming language used for the things. But now they are supporting both ABAP and JAVA in latest Netweaver Platforms. The syntax of ABAP will almost look like COBOL programming language which is mainly used in Mainframes.
ABAP codes are not stored in different files like other languages. Instead of that they are stored in databases in two forms. One with ABAP source code which we can edit and other in ABAP generated code somewhat like a compiled source code in C++ or like Kava bytecode.
We can use a special name called Transaction Code (Tcode) for running an ABAP program instantly. For that a particular transaction code will be assigned to each ABAP programs to execute. For example we can use the transaction code VA01 for executing the ABAP program for Sales order Creation. Several standard transaction codes are there in SAP by default. We can enter the transaction code in command field of a SAP screen.
Executable and non-executable ABAP programs are there. Non-executables ABAP programs are for re-usability and calling in other executable ABAP programs. There are two types of executable programs, they are
- Report
- Module pools
In simple words we can explain this as reports are the basic ABAP program which displaying the data without any user interaction and Module pools are complex programs than reports and will display the data with user interaction.
The transaction code SE38 is used for opening the ABAP editor for our programming purposes. An ABAP program will look like as follows
REPORT TEST.
WRITE ‘This is my First Program’.
This program will simply display “This is my First program” in screen. REPORT statement means that it’s a Report type ABAP program. PROGRAM statement is using for module pool programs. The name of the program is followed after this statement. In this example TEST is the name of this program. Note a period symbol (.) at end of each line. Every ABAP statements should end with a period symbol.
ABAP Objects are the methodology used for Object Oriented programming in ABAP.There are many other things like internal tables, Dictionary Objects, ABAP keywords etc to get more details about ABAP. These things are described in detail in our other tutorials.
Part 1: ABAP Basic
- Statement parameters in ABAP
- Data statement and data types in ABAP
- Steps to create an ABAP program
- SAP Open SQL advantages
- ABAP Transaction codes list – Tcodes
Part 2 : ABAP DATA Dictionary
- SAP ABAP Dictionary
- Foreign Keys in ABAP tables
- Technical settings of ABAP table
- Step by steps to create a transparent table in SAP
- Data Elements and Domains
Part 3 : Document Formatting Tools
- SAPSCRIPT Tutorial
- SAPSCRIPT commands in programming
- SAP Smartforms Tutorial
- Transaction SFTRACE – SmartForm Trace
- Migrating SAPscript forms to Smart Forms
Part 4 : Data Uploading Tools
- SAP BDC Tutorial
- Transaction SHDB – Batch Input Recorder
- Difference between CALL TRANSACTION USING and batch Input Session methods
- SAP LSMW Tutorial with Steps to create
Part 5 : ABAP Syntax & Keywords
- SELECT-OPTIONS
- PERFORM
- MESSAGE
- SUM
- SORT
- SUBMIT Report
- OVERLAY
- NEW_PAGE
- NEW-LINE statement
- MODIFY statement
- LOOP Statement
- LEAVE screen, list and ABAP program
- INTERFACES in Objects
- INSERT into Table statement
- INITIALIZATION Event
- INCLUDE structure
- IMPORT & EXPORT from ABAP memory
- IF statement
- HIDE statement
- GET PARAMETER statement
- FREE statement – Release space in memory
- FIND statement
- EXIT in ABAP
- EXEC SQL
- EDITOR-CALL statement
- DO and WHILE loops
- DESCRIBE TABLE
- DELETE table statements
- Delete a file
- CREATE OBJECT
- CONVERT TEXT
- DATE and INVERTED-DATE Convert
- CONTINUE statement
- CONDENSE in ABAP for remove spaces in strings
- CONCATENATE strings
- COMMIT WORK and WAIT statement
- COLLECT
- OPEN CURSOR statement for open a database cursor
- OPEN DATASET statement for open a file
- CLEAR
- CLASS in ABAP Objects
- CHECK
- CATCH SYSTEM-EXCEPTIONS statement
- TRY CATCH control structure
- CASE statement
- CALL TRANSACTION statement
- CALL SCREEN & SELECTION-SCREEN
- CALL METHOD statement
- CALL DIALOG statement
- CALL function modules
- SAP BREAKPOINT & BREAK-POINT keyword
- BACK keyword
- AUTHORITY-CHECK
- AT & ENDAT Keywords
- ABAP ASSIGN component to a Field Symbol
- ADD, ADD-CORRESPONDING keyword