Professional Documents
Culture Documents
Chapter 20.02 - Tabstrip Control
Chapter 20.02 - Tabstrip Control
Tabstrip Control
March-2005
Objectives
The participants will be able to:
Create tabstrips in the graphical screen painter. Create subscreens for use with tabstrips. Integrate tabstrips in a module pool program:
With the application server. Without the application server.
March-2005
SAP R/3
1991 1991
PIC
FEM
MAL
Year
Year
1991
I. Define your tabstrip in the top include. II. Use the Graphical Screen Painter to create the tabstrip.
A. Creates new tabs & pushbuttons. B. Creates tabstrips.
A Subscreen Area B
C
5 Tabstrip Control | 6.20.02 March-2005 2005 IBM Corporation
Subscreens: A Review
Use the Screen Attributes to specify the screen type. Tabstrips can only display subscreens.
6 Tabstrip Control | 6.20.02 March-2005 2005 IBM Corporation
Screen fields are populated as different tabs are selected. Without application server
INFO HOME
Screen fields for all tabs are populated before screen is displayed.
7 Tabstrip Control | 6.20.02 March-2005
WORK
All tabs must use the same subscreen area. Coding Steps
SUB1
1. Determine tabs function code. 2. Set active tab field to the fcode. 3. Set a variable to subscreen #. 4. Call subscreen area. 5. Include program name and subscreen #.
8 Tabstrip Control | 6.20.02 March-2005 2005 IBM Corporation
March-2005
TAB1
TAB2
TAB3
1. All tabs must use different subscreen areas. 2. Define function code type as P. 3. All subscreens must be called before the screen is displayed.
10
March-2005
11
March-2005
Demonstration
Creating a module pool program with tab-strip controls.
12
March-2005
Practice
Creating a module pool program with tab-strip controls.
13
March-2005
Summary
Tabstrips allow the user to navigate between different subscreens. Tabstrips are defined in the top include by using the CONTROL statement. CONTROLS: <tabstrip name> TYPE TABSTRIP. Subscreens are essential when creating tabstrips. Subscreens can be assigned statically or dynamically in a tabstrip control.
14
March-2005
Questions
What are the advantages of using tab-strip controls ? Are using sub-screens mandatory for using tab-strip controls ?
15
March-2005