2009 Feb 06 5:08 AM
Hi Experts,
I have 3 module pool screen. First is 1000 a normal screen . In this screen i have created MENUBAR. In menubar 3 elements i prescribed. These r also a normal screen. When i clicked on first element(100 screen) the normal screen opened. In this screen i create a button. When i clicked on button the new
subscreen should be open. For this i define subarea SUB in 500 screen. It's attribute is subscreen.
and design screen 200 attribut is also subscreen.
I need when i clicked on button(100) screen the subscreen should be open(200). Plz help me what should i do? Plz tell me all the additional coding for that.
Thanks in advance.
Regards,
Swapnika
2009 Feb 06 5:12 AM
2009 Feb 06 5:27 AM
Hi Swapnika Panse,
The following link has the required information and sample code for the particular question on subscreens.
http://help.sap.com/saphelp_nw04/Helpdata/EN/9f/dbabfe35c111d1829f0000e829fbfe/content.htm
Thanks,
Neelima.
2009 Feb 06 5:28 AM
Hi,
PBO EVENT.
call subscreen: subscreen1 including sy-repid number1,
subscreen2 including sy-repid number2.
PAI EVENT.
module user_command_100 input.
case save_ok.
when 'PUSHBUTTON1'.
number1 = '0110'.
when 'PUSHBUTTON2'.
number1 = '0120'.
clear field1.
endcase.
Regards,
Gurpreet
2009 Feb 06 5:28 AM
2009 Feb 06 5:33 AM
in PBO of screen after whihc you want sub screen .
Case sy-ucomm .
when 'your push button fcode'.'
call screen (your screen number ).
endcase.
2009 Feb 06 5:33 AM
U have 3 module pool screen.
First is 1000 a normal screen .
When i clicked on first element(100 screen) the normal screen opened. In this screen i create a button.
When i clicked on button the new so u created Function code 'NEW' for that button
In screen 100 Under PAI module u cal like this..
MODULE user_command_0100 INPUT.
IF save_ok = 'NEW'.
number1 = '0500'.-----> subscreen number
ENDIF.