2008 Mar 19 5:33 AM
2008 Mar 19 5:36 AM
Hi suresh,
Load of Program is the very First Event that Trigerred when Program is Compiled by ABAP Editor.
then Execution of that Program proceeds.
in other way u can say Loading of program from A..P. layer in to Presentation layer is done by this Event.
Hope it will you...
Pls reward if helpful......!!!
Regards,
Nitin
Hi suresh,
Load of Program is the very First Event that Trigerred when Program is Compiled by ABAP Editor.
then Execution of that Program proceeds.
in other way u can say Loading of program from A..P. layer in to Presentation layer is done by this Event.
Hope it will you...
Pls reward if helpful......!!!
Regards,
Nitin
2008 Mar 19 5:36 AM
Hi suresh,
Load of Program is the very First Event that Trigerred when Program is Compiled by ABAP Editor.
then Execution of that Program proceeds.
in other way u can say Loading of program from A..P. layer in to Presentation layer is done by this Event.
Hope it will you...
Pls reward if helpful......!!!
Regards,
Nitin
2008 Mar 19 5:40 AM
Load-of-program
Triggers the associated event in an internal session after loading a program of type 1, M, F, or S. Also runs the associated processing block once and once only for each program and internal session. The processing block LOAD-OF-PROGRAM has roughly the same function for an ABAP program of type 1, M, F or S as a constructor has for classes in ABAP Objects
Hope this helps you.
Reward points if found useful
2008 Mar 19 5:41 AM
hi,
« Sample program in REPORT.EVENTS IN ABAP »Events in an ABAP/4 Report Program
There is no mandatory event in a report program. Events are actually used to organize the statements and control the flow of the program. If the program contains no explicitly defined event blocks, all the statements in the program form the entire event block START-OF-SELECTION. ABAP runtime environment automatically introduces a START-OF-SELECTION at the first execution line.
ABAP/4 report programs are event driven programs. Following events are triggered in a report.
LOAD OF PROGRAM. - If propgram is of type 1, M, F, or S; then LOAD-OF-PROGRAM is trigerred first and then INITIALIZATION. The purpose of load of program is to load the program into system memory so that the program can be executed.
INITIALIZATION. - just once.
AT SELECTION-SCREEN OUTPUT. - when there is selection-screen
AT SELECTION-SCREEN. - when user interacts.
START-OF-SELECTION. - when F8.This is the default event in ABAP.
END-OF-SELECTION. - At the end
EVENTS IN A CLASSICAL REPORT:
1. INITIALIZATION: This is triggered when the report is loaded in memory.
2. AT SELECTION-SCREEN OUTPUT: This is triggered when the selection screen is loaded in memory before being displayed.
3. AT SELECTION-SCREEN/ : function key from F5 to F12 to perform interactive action on the list.
4. At user-command.
==================================================
Finally I want to include one point:
If you debug your report program from the Abap editor screen then it triggers from
1.Initialization,
2.At Selection-screen,
3.Start-of Selection,
4.End-of Selection,
5.Top-of-page,
6.End-of-page.
But if you debug from the selection-screen then it triggers from
1.At Selection-Screen,
2.Start-of-selection,
3.Top-of-page,
4.End-of-page.
Hope this helps, Do reward.
2008 Mar 19 5:44 AM
LOAD-OF-PROGRAM is triggered directly after the system has loaded a program with type 1, M, F, or S
into an internal session. The processing block is executed once only for each program in each internal
session.
Reward if useful..............
2008 Mar 19 5:45 AM
Hi,
Directly after an executable program, a module pool, a function group or a subroutine pool has been loaded, a special processing block can be executed exactly once. This processing block is defined as an event block using the event keyword LOAD-OF-PROGRAM. The processing block for LOAD-OF-PROGRAM has the same function for ABAP programs as a constructor has for classes.
Initialization is differ from load of program.
reward point if helpful
Regards
pankaj
2008 Mar 19 5:48 AM
2008 Mar 19 5:48 AM
Hi
LOAD-OF-PROGRAM.
Triggers the associated event in an internal session after loading a program of type 1, M, F, or S. Also runs the associated processing block once and once only for each program and internal session.
2008 Mar 19 5:56 AM
hai Reddy,
LOAD-OF-PROGRAM is the default EVENT that sap triggers internally.
Directly after an executable program, a module pool, a function group or a subroutine pool has been loaded, a special processing block can be executed exactly once. This processing block is defined as an event block using the event keyword LOAD-OF-PROGRAM. The processing block for LOAD-OF-PROGRAM has the same function for ABAP programs as a constructor has for classes.
Regards.
Eshwar.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |