Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

Hi experts,

everything is in the question. ^^

thanks.

1 ACCEPTED SOLUTION

Tomas_Buryanek
Active Contributor

You need to hide everything inside the box.

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

-- Tomas --
6 REPLIES 6

Tomas_Buryanek
Active Contributor

You need to hide everything inside the box.

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

-- Tomas --

ArthurParisius
Contributor

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.

0 Kudos

Thanks for the answer but what is 'BLK'?

0 Kudos

It's the value SAP assigns to the group3 field for blocks. Check the link from Tomas to get more information.

"I don't know exactly what you want to do. But it can be done"

This is mind-blowing... If you don't know what OP wants then how do you know it can be done? 🙂

LOL. Maybe I should have worded that differently and say I don't understand why she would want to just make the start of block invisible instead of the complete block.