Professional Documents
Culture Documents
Subscreens
Subscreens |
Dec-2008
Objectives
The participants will be able to:
Create a subscreen.
Create a subscreen area.
Call a subscreen onto a subscreen area.
Recognize a subscreens restrictions.
Subscreens |
Dec-2008
Subscreens
11
Customer
Address Information
Bank Information
11
Customer
Name
Tools International
Address Information
(Subscreen 9020)
Subscreen Area
(on Main Screen 9010)
Bank Information
(Subscreen 9030)
Subscreens |
Dec-2008
Main Screen
Main Screen
Screen Painter
Subscreen
Area #1
Subscreen
Subscreen
Area #2
Area #3
Subscreens |
Dec-2008
Subscreens |
Dec-2008
11
Tools International
Bank Information
Subscreen Area
(Subscreen)
SUB1
Address Information
(Subscreen)
Subscreens |
Dec-2008
11
Customer
Name
Tools International
To invoke the PAI event of the
actual subscreen, the
CALL SUBSCREEN statement
Address Information
(Subscreen 9020)
must be used in
the PAI event of the main screen.
Subscreens |
Dec-2008
Creating a Subscreen
Address Information
Bank Information
(Subscreen 9020)
(Subscreen 9030)
Screen
Screen Painter
Painter
Screen Attributes
Screen Type = Subscreen
Subscreens |
Dec-2008
Subscreen Restrictions
Subscreens |
Dec-2008
Demonstration
Creating an online program to display customer information on the main screen.
Creating two sub-screens : one for displaying address information and the other
for displaying bank information .
Showing that the appropriate sub-screen is displayed on clicking the appropriate
radio-button on the main screen.
10
Subscreens |
Dec-2008
Practice
Creating an online program to display customer information on the main screen.
Creating two sub-screens : one for displaying address information and the other
for displaying bank information .
Showing that the appropriate sub-screen is displayed on clicking the appropriate
radio-button on the main screen.
11
Subscreens |
Dec-2008
Summary
A subscreen is a screen that is displayed in a specified area of another screen
(the main screen). A subscreen cannot be displayed by itself.
To include a subscreen in a predefined area on the main screen, use the CALL
SUBSCREEN statement in the main screens PBO event.
If the subscreen contains any PAI code, use the CALL SUBSCREEN statement
in the PAI event of the main screen.
A subscreen is created just like any other screen of an online program. The only
difference is the screen type specified in the Screen Attributes section of the
Screen Painter. The screen type for a subscreen is appropriately called
Subscreen.
The following ABAP/4 statements cannot be used in a subscreens PBO or PAI
modules (instead, they must be used in the main screen): SET PF-STATUS,
SET TITLEBAR, SET SCREEN, LEAVE TO SCREEN,CALL SCREEN.
12
Subscreens |
Dec-2008
Questions
What is a sub-screen in the context of online programming ?
Can the CALL SUBSCREEN statement be used in the PBO event ?
13
Subscreens |
Dec-2008