Skip to Content
0
Jan 04, 2023 at 03:13 PM

How to make select option field in subscreen non editable?

277 Views

Hi guys,

My requirement is to make a select-options field in module pool non editable on some conditons,
I created the subscreen subscr in main screen of 200 and for creation of select options in subscreen I just wrote a logic like below without creation of select options on screen manually.
call subscreen subscr including sy-repid '9004',
and in top i declare select options like this.
SELECTION-SCREEN BEGIN OF SCREEN 9004 AS SUBSCREEN .
SELECT-OPTIONS : s_ebelp FOR eban-bnfpo MATCHCODE OBJECT ZPTP_EBELPTESTMP MODIF ID SO1.
SELECTION-SCREEN END OF SCREEN 9004.
so by this the screen 9004 is generated which is non editable. Now in screen 200 there is a checkbox ,if it is clicked then i have to make select-options field grey-out. But I won't able to capture the modify id(screen-group1) of selection screen in pbo of 200,Hence not able to modify screen. So is there any way to achieve this?

thanks in advance.