Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

how to set selection-screen fields in input disable&enable mode

Hi All,

Can you please help me to know, how to set selection screen fields input enabled & input disable based some validations. I tried with screen-intensified. But its not working. Please help me to achieve this.

Thanks in advance.

Regards

Rajesh

Tags:
replied

Hi,

The following is the sample code.

PARAMETERS : p_barea TYPE ps0171-barea DEFAULT 'Z1' MODIF ID pb,

" Benefit Area

p_imfil TYPE rlgrap-filename, " Import file name

p_lock TYPE ztx_int-int_name

DEFAULT 'ZHBNT06A_METLIFE_INBOUND' MODIF ID pb, " Lock

  • p_test TYPE c AS CHECKBOX, " Test run

p_update type c as checkbox. " default 'X'

SELECTION-SCREEN END OF BLOCK selb01.

************************************************************************

  • AT SELECTION-SCREEN OUTPUT *

************************************************************************

AT SELECTION-SCREEN OUTPUT.

  • Benefit Area field made display only field

LOOP AT SCREEN.

IF screen-group1 EQ 'PB'.

CLEAR screen-input.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

Regards

Vick

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question