Skip to Content
0
Aug 17, 2023 at 08:16 AM

Loop At screen - Simple syntax but not working

44 Views

Hi ABAPERs,

In my program, I am using 2 radio buttons. Based on that I wnated to hide the parameter. I am writing the validation in the event "AT SELECTION-SCREEN ON RADIOBUTTON GROUP g1." Kindly find the below syntax it's not working.

  LOOP AT SCREEN.
    IF rb_upd = abap_true.
      IF screen-name = 'PA_FILE' OR screen-name = '%_PA_FILE_%_APP_%-TEXT'.
        screen-active = 0.
        screen-invisible = '1'.
        MODIFY SCREEN.
      ENDIF.
    ENDIF.
  ENDLOOP.

Thanks with regards,

Vallamuthu M.