Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Regarding structure of abap program

Former Member
0 Likes
662

hi,

can any one exaplain to me what is the structure of the abap program.

thank&regards,

ramnaresh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
637

Hi Ramnaresh,

ABAP is a structure driven program.

Internally it execute every staement in one event after another.

Events are:

INITIALIZATION

AT SELECTION-SCREEN

AT SELECTION-SCREEN ON..

AT SELECTION-SCREEN ON VALUE REQUEST

AT SELECTION-SCREEN OUTPUT

START-OF-SELECTION

END-OF-SELECTION

TOP-OF-PAGE

END-OF-PAGE

by default event is START-OF-SELECTION

Hope it will give some input to understand the scenario.

Regards

Krishnendu

hi,

can any one exaplain to me what is the structure of the abap program.

thank&regards,

ramnaresh

3 REPLIES 3
Read only

Former Member
0 Likes
637

Hi,

Any Abap Program contains

1) Attributes like Title,created by ,changed by,type ( means whether it is Module pool Program or Executable program ),Application (means Sales and distribution,FI,Co ,MM..)

2) Source code to be executed ( here application logic will be written with the help of Events like Initailization,selection -screen events,Start-of-selection,end-of-selection.)

3)any variants saved (suppose if we executed program with particular selection criteria and we want to save that selection criteria for next time with some name and next time we can easily execute by choosing relevant variant )

4) Text elements (suppose if we are running one particular langauge and it to be executed in many other langauges also then we will maintain text elemensts in those langauges also)

5) Documentation for the program so that next review or modification will be easy

Regards,

Padmam.

Read only

Former Member
0 Likes
638

Hi Ramnaresh,

ABAP is a structure driven program.

Internally it execute every staement in one event after another.

Events are:

INITIALIZATION

AT SELECTION-SCREEN

AT SELECTION-SCREEN ON..

AT SELECTION-SCREEN ON VALUE REQUEST

AT SELECTION-SCREEN OUTPUT

START-OF-SELECTION

END-OF-SELECTION

TOP-OF-PAGE

END-OF-PAGE

by default event is START-OF-SELECTION

Hope it will give some input to understand the scenario.

Regards

Krishnendu

Read only

varma_narayana
Active Contributor
0 Likes
637

Hi..

This is the Structure of ABAP program.

REPORT <NAME>.

**Global Data definitions

TYPES:

DATA:

**Selection Screen Definition

SELECT-OPTIONS

PARAMETERS

**Event Blocks

INITIALIZATION .

perform X.

START-OF-SELECTION.

perform Y.

****Form routines definition

FORM X.

ENDFORM.

FORM Y.

ENDFORM.

<b><REMOVED BY MODERATOR></b>

Message was edited by:

Alvaro Tejada Galindo