2013 Jun 01 10:35 AM
Dear all,
I m creating module pool in which on main screen there are 3 radio buttons..On selecting each radio button the respective subscreen have to come otherwise the screen will contain only radio buttons..I grouped that 3 radio button ..here is the simple scenario..
If i select Signin the following text n textbox have to come.
If i select Signup and Forget ID the screens signup page and password recovery page have to come respectively . i tried to call using call subscreen but its not working..
please suggest.
2013 Jun 01 4:55 PM
Hi .
Do you need sub screens in the same main screen or in the separate screen .
If you need 3 sub screens on the same screen .You can use Tab strips on the screens which has 3 tabs instead of 3 radio buttons .
2013 Jun 02 5:51 AM
Hi Pooja,
We need three screens screens. Lets say
100 - Sign in screen (with User name and password input fields)
200 - Sign up page
300 - Forget ID Page
In the main program.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETER : r_signin RADIOBUTTON GROUP rad1 USER-COMMAND fc,
r_signup RADIOBUTTON GROUP rad1,
r_recvr RADIOBUTTON GROUP rad1.
SELECTION-SCREEN END OF BLOCK b1.
AT SELECTION-SCREEN OUTPUT.
if r_signin = 'X'.
call screen 100 STARTING AT 30 10.
elseif r_signup = 'X'.
call screen 200 STARTING AT 10 5.
elseif r_recvr = 'X'.
call screen 300 starting at 20 10.
endif.
Create three screens by double clicking on the screen nos.
Design corresponding layouts and the write the required code in PBO and PAI modules for each screen.
P.S - Some points to note.
1. Set attribute of password screen field to Invisible, it will display only asterisk)
2. And in the PBO of each screen.
SET PF-STATUS 'GUI'.
In the Menu painter GUI, Dont forget to add a button in the Application tool bar for eg 'OK' and the corresponding code in PAI to exit from the subscreen.
Do revert in case of any doubts.