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-options..

Former Member
0 Likes
402

I want to disable the select options-high field once a checkbox is checked in the selection screen.How to do that?

4 REPLIES 4
Read only

Former Member
0 Likes
385

s_rvers FOR gs_t894-rvers NO INTERVALS .

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF p_checkbox = 'X'.

IF screen-NAME = 'S_RVERS-HIGH'.

screen-input = 0.

MODIFY SCREEN.

ENDIF.

ENDIF.

ENDLOOP.

Rewards if useful...........

Minal

Message was edited by:

Minal Nampalliwar

Read only

former_member404244
Active Contributor
0 Likes
385

Hi,

Try like this

select-options : s_matnr for mara-matnr.

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF p_checkbox = 'X'.

IF screen-name = s_matnr-high.

screen-input = 0.

MODIFY SCREEN.

ENDIF.

ENDIF.

ENDLOOP.

Regards,

nagaraj

Read only

Former Member
0 Likes
385

Refer below code...

SELECTION-SCREEN BEGIN OF BLOCK 8 WITH FRAME TITLE TEXT-008.

parameters:

p_nor radiobutton group rad1, "new posting

p_rep2 radiobutton group rad1. "report (flag '2')

select-options:

recno for zbacks_gipd-recno "record number

default '1' obligatory.

SELECTION-SCREEN END OF BLOCK 8.

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF SCREEN-NAME = 'P_REP2'.

<b>SCREEN-INPUT = 0.</b>

<b>MODIFY SCREEN.</b>

ENDIF.

IF SCREEN-NAME = 'RECNO'.

SCREEN-INPUT = 0.

<b>MODIFY SCREEN.</b>

ENDIF.

ENDLOOP.

Thanks & Regards

ilesh 24x7

Read only

Former Member
0 Likes
385

hi

it is not possible to just disable the high option