filmov
tv
Sap ABAP Structure. - Lesson 2 - Sap ABAP Programming (Beginners)
Показать описание
How an ABAP Program is Structured?
Declaration Section
This is where we define:
- data type
- structures
- tables,
- work area variables,
- individual fields that we want to use inside our programs.
When we create an abap program we not only declare global variables,
but we have option to declare variables that are only valid inside specific sections within our programs.
The Declaration part of our program is where we will define the parametres used for our section screens for our reports.
Once we have declared tables, global variables, and data types in the Declaration Seciton of our program we come to second part of an ABAP program. This is where we will write all the logic for our program.
This part of ABAP program is often split up into what we call Processing Blocks.
Let’s log on to our sap system and take a look at the ABAP WORKBENCH
Declaration Section
This is where we define:
- data type
- structures
- tables,
- work area variables,
- individual fields that we want to use inside our programs.
When we create an abap program we not only declare global variables,
but we have option to declare variables that are only valid inside specific sections within our programs.
The Declaration part of our program is where we will define the parametres used for our section screens for our reports.
Once we have declared tables, global variables, and data types in the Declaration Seciton of our program we come to second part of an ABAP program. This is where we will write all the logic for our program.
This part of ABAP program is often split up into what we call Processing Blocks.
Let’s log on to our sap system and take a look at the ABAP WORKBENCH