Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Select option on custom screen

Former Member
0 Likes
796

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

5 REPLIES 5
Read only

Former Member
0 Likes
551

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.

Read only

Former Member
Read only

Former Member
0 Likes
551

Hi ,

I am creating field on Screen Painter .

On dialog screen how can I add select option ?

Thanks,

Sachin

Read only

0 Likes
551

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

Read only

Former Member
0 Likes
551

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