Ansicht
Dokumentation

SAPBC402_RUND_EVENTS - Demonstration: Events in Report Transaction

SAPBC402_RUND_EVENTS - Demonstration: Events in Report Transaction

General Data in Customer Master   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Title

Two Selection Screens, Basic List, and Detail Lists

Purpose

Demonstration of program and list events

Integration

BC402 - "ABAP Runtime Environment" Unit (running a report transaction)

Prerequisites

None

Features

Selection

The screen shows the number of the selection screen.

The checkboxes show which events have been triggered. To ensure that this cannot be affected by manual entries, all of the selections must be removed before the basic list is displayed.

Standard Variants

Output

The messages also indicate which events have been triggered.

On the basic list, the output shows which list events have been triggered and how they relate to the page length (in this case, 10 lines).

On the detail lists, the index of the list is displayed.

To test the effect of the EXIT statement, remove the comment character '*' at the relevant point.

Activities

Special case:

If you choose Back from the basic list (F3), the program is restarted. However, the input fields on the standard selection screen are filled with the last set of values. This gives you the impression that the program is "running backwards".

Example






BAL_S_LOG - Application Log: Log header data   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 1482 Date: 20240531 Time: 080235     sap01-206 ( 25 ms )