Skip to Content
0
Former Member
Sep 12, 2007 at 09:47 AM

Selection screen dynamic enable and disable

349 Views

HI all,

I have one requirement like

on selection of redio button my selection screen hould be enable and disable

Like if i select rediobutton tfile then my selection screen block B2 should enable and Block B3 hould be disable

If redio button selscr is selected then my block B3 should be enable and Block B2 should disable

my selection screen code is below

SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-005.

PARAMETERS: tfile RADIOBUTTON GROUP g1 DEFAULT 'X'.

PARAMETERS: selscr RADIOBUTTON GROUP g1.

SELECTION-SCREEN END OF BLOCK b1.

SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.

SELECT-OPTIONS : s_matnr FOR marc-matnr,

s_fkdat FOR vbrk-fkdat OBLIGATORY.

SELECTION-SCREEN END OF BLOCK b2.

SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-002.

PARAMETERS : filename TYPE rlgrap-filename.

SELECTION-SCREEN END OF BLOCK b3.

How to do that.

Help me here its urgent tnx in advance.