Skip to Content
avatar image
-1
Former Member

How to make a "selection-screen begin of block" invisible ?

Hi experts,

everything is in the question. ^^

thanks.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • May 22 at 01:21 PM

    You need to hide everything inside the box.

    Tip - use the MODIF ID: ABAP DOCU 752 - MODIF ID

    Add comment
    10|10000 characters needed characters exceeded

  • May 22 at 01:36 PM

    I don't know exactly what you want to do.

    But it can be done see below for a simple test.

    
    SELECTION-SCREEN BEGIN OF BLOCK b01 WITH FRAME.
    PARAMETERS: p_path TYPE localfile OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK b01.
    
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-group3 = 'BLK'.
          IF p_path IS NOT INITIAL.
            screen-invisible = 1.
            MODIFY SCREEN.
          ENDIF.
        ENDIF.
      ENDLOOP.
    

    Add comment
    10|10000 characters needed characters exceeded