‎2008 Mar 13 4:28 AM
hi all,
i just wanted to know how tabstrip works.
what is tab in tab strip.
what is steps to creat tabstrip.
how to relate subarea under tab with subscreen.
give me eample.
‎2008 Mar 13 4:30 AM
Chk this link.
http://help.sap.com/saphelp_nw70/helpdata/en/04/10f2469e0811d1b4700000e8a52bed/content.htm
Tabstrip controls
http://help.sap.com/saphelp_nw70/helpdata/en/17/5bf1b52ba211d2954f0000e8353423/content.htm
Edited by: Mahalakshmi Padmanaban on Mar 13, 2008 5:31 AM
‎2008 Mar 13 4:30 AM
Hi,
TABSTRIP CONTROLS:
-
Using normal screen, we can add only 40 components to the screen. To add more than 40 components, make use of tabstrip control. You can specify any number of tab fields for a tabstrip control and create subscreen for each tab field created.
Navigations to create tabstrip control:
-
Create an MPP program -> Create a screen -> Drag and drop tabstrip control from toolbar -> Specify name for the tabstrip created (KARTHIK) -> Specify required number of tab fields (2) -> Drag and drop subscreen area for each tab field -> Name the subscreen areas (SUB1, SUB2) -> Specify attributes for each tab field (NAME, TEXT, FCTCODE, REF_FIELD) -> Create two pushbuttons (DISPLAY, EXIT) Save the screen painter -> Click on Flow logic editor.
Now create two subscreens (10, 20) for each tab field subscreen areas. Create required screen components for each subscreen (input fields namely IO1, IO2, IO3, IO4) -> Save -> Come back to Flow logic editor.
In TOP INCLUDE FILE, specify following code:
DATA : IO1(10), IO2(10), IO3(10), IO4(10).
CONTROLS KARTHIK TYPE TABSTRIP.
DATA SCREEN LIKE SY-DYNNR .
CONTROLS statement is used to create a memory for tabstrip component in AS.
SY-DYNNR is a system variable to hold screen number.
Save -> Activate.
In the FLOW LOGIC EDITOR, Specify following code for PBO and PAI modules:
PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
CALL SUBSCREEN SUB2 INCLUDING 'SAPMYONCEMORE' '20'.
CALL SUBSCREEN SUB1 INCLUDING 'SAPMYONCEMORE' '10'.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0100.
CALL SUBSCREEN SUB1.
CALL SUBSCREEN SUB2.
Save -> Activate.
Specify following code in PAI event between module-endmodule statements:
CASE SY-UCOMM.
WHEN 'DISPLAY'.
LEAVE TO LIST-PROCESSING.
WRITE 😕 IO1, IO2, IO3, IO4, IO5.
WHEN 'EXIT'.
LEAVE PROGRAM.
WHEN 'TAB1'.
SCREEN = '10'.
KARTHIK-ACTIVETAB = 'TAB1'.
WHEN 'TAB2'.
SCREEN = '20'.
KARTHIK-ACTIVETAB = 'TAB2'.
ENDCASE.
Create Tcode -> Activate all components -> Execute the program.
Regards,
Priya.
‎2008 Mar 13 4:33 AM
Hi,
see this link.here u can see the full information about the tabstrip and an example.
http://help.sap.com/saphelp_nw70/helpdata/en/17/5bf1b52ba211d2954f0000e8353423/content.htm
rgds,
bharat.
‎2008 Mar 13 4:33 AM
Hi,
TabStrip is used in Dialog Programming,WebDynpro etc.
To Know more about topic refer to below link.
[TabStrip|http://help.sap.com/saphelp_nw04/helpdata/en/04/10f2469e0811d1b4700000e8a52bed/frameset.htm]
HTH
Regards,
Dhruv Shah
‎2008 Mar 13 4:47 AM