‎2006 Jun 16 1:28 PM
Hi,
How to create a selection-screen in SE51. Becos whenever we try to create a selection-screen thro SE51 the radio button is disabled. Is it possible to create a selection screen in Se51? if yes how?
- Selvapandian Arunachalam
‎2006 Jun 16 1:32 PM
Refer this link:
http://help.sap.com/saphelp_erp2005/helpdata/en/9f/dba83d35c111d1829f0000e829fbfe/frameset.htm
Regards,
Ravi
‎2006 Jun 16 1:34 PM
I would not suggest creating a selection screen using SE51. If you need to have a selection screen define in your program, you can define it as a subscreen, then include it into a subscreen on the dynpro. Doing this brings all of the fucntionality of the SELECT-OPTIONS.
Here is a sample program.
report zrich_0006 .
tables: mara.
* Custom Selection Screen 1010
selection-screen begin of screen 1010 as subscreen.
selection-screen begin of block b1 with frame title text-001.
parameters: p_rad1 radiobutton group grp1 default 'X',
p_rad2 radiobutton group grp1,
p_rad3 radiobutton group grp1.
select-options: s_matnr for mara-matnr,
s_matkl for mara-matkl,
s_mtart for mara-mtart.
selection-screen end of block b1.
selection-screen end of screen 1010.
start-of-selection.
call screen 100.
*&---------------------------------------------------------------------*
*& Module STATUS_0100 OUTPUT
*&---------------------------------------------------------------------*
module status_0100 output.
* SET PF-STATUS 'xxxxxxxx'.
* SET TITLEBAR 'xxx'.
endmodule.
*&---------------------------------------------------------------------*
*& Module USER_COMMAND_0100 INPUT
*&---------------------------------------------------------------------*
module user_command_0100 input.
endmodule.
* Screen screen 100 with a subscreen area called "subscreen_1010"
* Screen Flow Logic follows
*process before output.
*
* module status_0100.
*
* call subscreen subscreen_1010 including sy-repid '1010'.
*
*process after input.
*
* call subscreen subscreen_1010 .
*
* module user_command_0100.
Regards,
Rich Heilman
‎2006 Jun 16 1:40 PM
HI,
There is no option of selection-Screen but there is option of creating layout.
Layout is used for creating selection screen.
Follow these steps
1) Create a program in se38 of type M
2) go to Se51 and enter the same prgram name and create
3) Let the option be flow logic
4) when go into the screen there button called layout.
click the button to create selection-screen.
Refer this link for further details
<b>DIALOG Programming ( Module Pool Programming )</b>
http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm
http://www.sapgenie.com/links/abap.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
http://help.sap.com/saphelp_47x200/helpdata/en/52/670ba2439b11d1896f0000e8322d00/frameset.htm
Regards