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

Load of program

Former Member
0 Likes
445

Wht is the use of Load of program in report?

Wht is the use of Load of program in report?

2 REPLIES 2
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
410

This is the very first event which is trigger in a report program. Really I have never needed a reason to use this. But I would assume that it can be used when you want to do something before the INITIALIZATION event.

Help says....

Program Constructor

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,

Rich Heilman

Read only

Former Member
0 Likes
410

Hi

Are you speaking about the event LOAD-OF-PROGRAM?

If it's so, it's like the method CONSTRUCTOR in OO, this event is triggered only once just after the program is loaded.

So this event is triggere before INITIALIZATION event too.

Max