on 11-30-2006 9:38 AM
how to create subscreens and call those subscreens for particular tabstrips after
assigning subscreen areas for tabstrips.plz help me in this
Hi Lavanya
Very clear info is here, do spend sometime and try to understand the concept. It has been explained even step by step.
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbabfe35c111d1829f0000e829fbfe/frameset.htm
Regards
Surya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1.First create a screen (2000) in module pool program.
2.in layout option select tabstrip and give a name.
3.select the subscreen and paste it in any one tab for dynamic call , name the subscreen.
4.now create two screens(2100 ,2200) , with screen type as subscreen.
5. in 2100 layout and 2200 layout place ur requirements and continue
Example code.
in PBO of 2000 write this code.
PROCESS BEFORE OUTPUT.
MODULE STATUS_2000.
CALL SUBSCREEN SUB INCLUDING SY-REPID DNR.
*
PROCESS AFTER INPUT.
CALL SUBSCREEN SUB.
MODULE USER_COMMAND_2000.
main prgram
ROGRAM ZSCREENSAMPLE .
CONTROLS MYTAB TYPE TABSTRIP. "tabstrip name
DATA : EXIT1, EXIT2.
DATA : DNR TYPE SY-DYNNR.
MYTAB-ACTIVETAB = 'TAB1'.
DNR = '2100'.
CALL SCREEN 2000.
MODULE USER_COMMAND_2000 INPUT.
CASE SY-UCOMM.
WHEN 'TAB1'.
MYTAB-ACTIVETAB = 'TAB1'.
DNR = '2100'.
WHEN 'TAB2'.
MYTAB-ACTIVETAB = 'TAB2'.
DNR = '2200'.
ENDCASE.
ENDMODULE.
&----
*& Module USER_COMMAND_2100 INPUT
&----
text
----
MODULE USER_COMMAND_2100 INPUT.
CASE SY-UCOMM.
WHEN 'EXIT1'.
LEAVE PROGRAM.
ENDCASE.
ENDMODULE. " USER_COMMAND_2100 INPUT
&----
*& Module USER_COMMAND_2200 INPUT
&----
text
----
MODULE USER_COMMAND_2200 INPUT.
CASE SY-UCOMM.
WHEN 'EXIT2'.
LEAVE PROGRAM.
ENDCASE.
ENDMODULE. " USER_COMMAND_2200 INPUT
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Lavanya,
create a new screen and set the property as subscreen by selecting the radio button in the properties.
then use the statement
PBO.
CALL SUBSCREEN screen USING program screen no.
PAI
CALL SUBSCREEN screen.
Thanks
srini
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.