How to hide selection-screen fields dynamically



Hiding fields on selection-screen dynamically

Screen 1

 1

Screen 2

 2

 

Codes:

 

report  zanil   .

* Selection-Screen Hiding Fields Dynamically

tablesmara.

parameterrb1 radiobutton group rb1

           default ‘X’ user-command comm.

parameterrb2 radiobutton group rb1 .

selectoptions:

s_matnr for maramatnr no intervals

                       modif id I1.

at selection-screen output.

  if rb1 eq ‘X’.

  loop at screen.

    case screengroup1.

      when ‘I1’.

        screenactive ‘1’.

        modify screen.

    endcase.

  endloop.

  else.

  loop at screen.

    case screengroup1.

      when ‘I1’.

        screenactive ‘0’.

        modify screen.

    endcase.

  endloop.

  endif.

Leave a comment

Your email address will not be published. Required fields are marked *