Ansicht
Dokumentation

ABENSEL_SCREEN_WITH_SUBSCR_ABEXA - SEL SCREEN WITH SUBSCR ABEXA

ABENSEL_SCREEN_WITH_SUBSCR_ABEXA - SEL SCREEN WITH SUBSCR ABEXA

CL_GUI_FRONTEND_SERVICES - Frontend Services   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

-Subscreens

This example demonstrates how to include subscreens in selection screens.

Source Code

Execute

Description

Displaying subscreens in subscreen areas on selection screens is a special case of tabstrips on selection screens. Defining a subscreen area is similar to defining a tabstrip area without a tab title. Before the selection screen is sent, a subscreen must be assigned to the subscreen area sub. This is done using the components prog and dynnr of the identically named structure sub, which itself is created automatically by the statement above. The component prog must be assigned to the program name of the subscreen, and the component dynnr must be assigned to the dynpro number of the subscreen.

This program defines three subscreen selection screens: 100, 200, and 300. It also defines a subscreen area sub on the standard selection screen. There are two pushbuttons in the application toolbar.

In the INITIALIZATION event, the subscreen selection screen 100 is assigned to the subscreen area. In the AT SELECTION-SCREEN event, the function keys are evaluated and assigned to one of the other subscreens accordingly.






ABAP Short Reference   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 1393 Date: 20240420 Time: 053659     sap01-206 ( 37 ms )