‎2009 Feb 16 11:39 AM
Hi,
If there are two screens, how to call the next screen by clicking the push button in the first screen which is also having some mandatory fields.
Thanks
Sridhar.
‎2009 Feb 16 11:42 AM
Hi,
use at user command.
at user-command .
case sy-ucomm.
when 'BUTTON'.
call screen 'SCRNO' starting at 5 10---->( U can use leave to screen 'SCRNO' )
ending at 10 10.
endcase.
‎2009 Feb 16 12:02 PM
Hi,
Create a Pushbutton on the screen.
In the PAI EVENT write:
module user_command_0100 input.
case sy-ucomm.
when 'PUSHBUTTON'.
leave to screen 110.
or call screen 110.
endcase.
endmodule. " MODULE USER_COMMAND_0100 INPUTRegards,
GP
‎2009 Feb 16 12:25 PM
Hi,
Its very simple, just write CALL SCREEN 'screen no'/LEAVE TO SCREEN 'screen no' in the PAI module of the first screen ,on the ocuurence of the Fcode of the button press.
Press F1 on both the command for better uderstanding or follow the below link
http://help.sap.com/saphelp_nw70/helpdata/en/9f/db9ce935c111d1829f0000e829fbfe/content.htm
Pooja
‎2009 Feb 16 12:38 PM
Hi sridhar,
In the ABAP Documentation and examples
refer this program : selection screens as subscreens.
In the command box : ABAPDOCU --> selection screens -->
subscreens and tabstrips --> selection screens as subscreens.
Regards,
Sravanthi
‎2009 Feb 17 4:32 AM
Hi Sridhar,
Screen1 Screen No 200
Screen2 Screen No 500
Use the Following Code
in the main program
call screen 500 ( starting at 5 ) optional.
( The Control is returned back to the calling program )
or
Submit Screen 500
( The Ctrl doesn't return to the calling program )
or
Leave to screen <scr no>
Regards
Ravi