‎2007 Feb 05 5:36 AM
Hi,
I need to create Input field with Select Option(without interval) button on Custom(Z)dialog screen .
Is there any idea how can I create it on screen ?
Thanks
Sachin
‎2007 Feb 05 7:16 AM
Hi Sachin,
You can use this code for your selection options field so that it will disable your high option of the selection screen. So you can't enter range
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF SCREEN-NAME = 'S_Field-HIGH'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP
I hope this will help you.
If it helps you please reward points.
‎2007 Feb 05 7:23 AM
Hi,
See the below link
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba82335c111d1829f0000e829fbfe/content.htm
Regards
Sudheer
‎2007 Feb 05 9:02 AM
Hi ,
I am creating field on Screen Painter .
On dialog screen how can I add select option ?
Thanks,
Sachin
‎2007 Feb 05 9:05 AM
Hi sachin,
YOu have to create a selection screen and then use it as a sub screen in your dialog program.
Refer the program: demo_sel_screen_as_subscreen to know how to use a selection screen as a subscreen.
Regards,
Ravi
‎2007 Feb 07 9:50 AM
1. First you take 100 screen in place the subscreen
PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
CALL SUBSCREEN SUBSCREEN
INCLUDING 'Program name' '0120'.
PROCESS AFTER INPUT.
CALL SUBSCREEN SUBSCREEN.
MODULE USER_COMMAND_0101.
SELECTION-SCREEN BEGIN OF SCREEN 0120 AS SUBSCREEN.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 3(12) TEXT-004.
SELECTION-SCREEN POSITION 15.
SELECT-OPTIONS S_FCOUNT FOR YQU_FIBERTYPES-SNO NO INTERVALS.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF SCREEN 0120.
Than automatically code is generated in 120 subscreen