Skip to Content
Technical Articles

ABAP basic Information for Beginner

ABAP

ABAP is the programing language for SAP systems.

It is stands for “Allgemeiner Berichtsaufbereitungsprozessor”

Today, ABAP stands for “Advanced Business Application Programming.”

More Information:https://blogs.sap.com/2020/02/26/do-you-know-abap-as-a-programing-language/

 

Classic ABAP & Modern ABAP

Originally, ABAP is procedural language,after it became object-oriented language.

People often calls former as “Classic ABAP”, and later as “Modern ABAP”.

 

Classic ABAP

Classic ABAP is involved in Modern ABAP.

When you hear Classic ABAP, many people associate “Report Program”.

There are three types of report programs, and a typical one is an “executable program” for selecting and displaying information on a selection screen.

The program has following event;

INITIALIZATION : refreshing parameter etc.
START-OF-SELECTION: defining selection screen view or behavior etc.
GET node (obsolete, for logical databases only) : SQL logics etc

Nomaly,Output Process (Showing result for SQL Query,Tables,calculation etc ) is executed after those processes.

 

Modern ABAP

ABAP latest version is NW 7.5 which is a kind of ABAP for HANA.

More Information : https://blogs.sap.com/2015/11/27/abap-language-news-for-release-750/

Help Portal          : https://help.sap.com/viewer/product/SAP_NETWEAVER_750/7.5.17/en-US

Section : ABAP Programming Language

cf.) Help Portal for 7.4 : https://help.sap.com/doc/abapdocu_740_index_htm/7.40/en-US/index.htm

 

ABAP Program Types

(Quote from https://help.sap.com/doc/abapdocu_740_index_htm/7.40/en-US/index.htm  ABAP Keyword Documentation → ABAP – Reference → Program structure → ABAP Program Types)

Executable program : Statement SUBMIT or a dynpro or selection screen is called using a transaction code

Class pool : Call of a visible method or a call using a transaction code

Function group or function pool : A function module is called using CALL FUNCTION or a dynpro is called using a transaction code

Interface pool : A global interface from the class library

Module pool : A dynpro is called using a transaction code

Subroutine pool : External call of local procedures (subroutines or methods)

Type group or type pool : Statements TYPES and CONSTANTS

 

ABAP Syntax

ABAP statements contains Keyword,Additions,Operands,and period in one sentence.

Keyword decides the behavior,and Additions provides an additional explanation,and Operands is affection target or condition of the behavior.

 

Syntax also have Open SQL(or ABAP SQL). It is SQL statements that do not depend on database-specific SQL.

Reference:https://help.sap.com/doc/abapdocu_750_index_htm/7.50/en-US/abennews-750-open_sql.htm

 

Elements in ABAP

Reference : https://help.sap.com/doc/abapdocu_750_index_htm/7.50/en-US/abenddic_classical_objects.htm

Data types

  • Data elements:variable or value
  • Structures:conbination of Data elements
  • Table types : repeated aggregation of Structures

Database tables

pre-defined or user-defined table

Views

it is possible to change the way the table results are displayed as they are.

Lock objects

A lock object is used as a basis for SAP locks.

Search helps

A search help uses a combination of structure components, data elements, and check tables plus assigned data to find values without the user needing to enter the exact value in question.

 

I expect to update this document accordingly as new information and fixes are available. 

Thanks,RenaTakahashi

Be the first to leave a comment
You must be Logged on to comment or reply to a post.