2007 Sep 25 2:24 PM
hi,
can any one exaplain to me what is the structure of the abap program.
thank®ards,
ramnaresh
2007 Sep 25 2:31 PM
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®ards,
ramnaresh
2007 Sep 25 2:30 PM
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.
2007 Sep 25 2:31 PM
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
2007 Sep 25 2:59 PM
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
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |