Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

LOAD-OF-PROGRAM IS EXECUTED AT EVERY PBO

Dear All:

I'm working with a ECC6 system, which was upgraded from a 4.6C.

Concerning to LOAD-OF-PROGRAM: When an ABAP program is loaded in an internal session, the runtime environment triggers the LOAD-OF-PROGRAM event, and the corresponding event block is executed.

This means that LOAD-OF-PROGRAM should be executed only once.

But I have different behaviour. In my system is executed at every PBO.

I have this test code:

REPORT  ztest .

PARAMETERS: p_gjahr TYPE gjahr.

LOAD-OF-PROGRAM.
  BREAK-POINT.

START-OF-SELECTION.
  WRITE:/ 'Hello'.

When I run this program, the break-point is triggered. This is correct.

After that, I press F8, to skip the break-point, and F8 to launch the report.

The system shows 'Hello'.

But when I press back, the break-point located in load-of-program is triggered again, which is incorrect.

Has someone faced the same problem?

Thanks in advance.

Tags:

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question