Skip to Content
avatar image
Former Member

Alternative of Hide Statement in Interactive ALV

Dear Friends,

I am converting a 5 step classical interactive report into ALV interactive. In classical report, HIDE statement is being used in AT LINE SELECTION event. But when i try to ise this code in ALV interactive, it does not work. In debugging, i checked that HIDE statement is not working in ALV Code. Can anybody tell how can i use HIDE statement in ALV interactive? Is there any alternative keyword for HIDE in Interactive ALV?


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 16, 2017 at 08:28 PM

    Define an additional column in the ALV, which you'll define to not be displayed via the field catalog, using the "technical" property; a "technical" field is not displayed, and also the user won't see it in the list of hidden columns. For instance, if your "interactive ALV" is SALV technology, then you'll have to get an instance of this additional column and execute the method SET_TECHNICAL( 'X' ).

    PS: what you call "classical interactive" is a UI technology named "ABAP list" or "list". There are many ABAP list statements, and even system fields, which are dedicated to ABAP lists (HIDE, READ LINE, sy-lsind, etc.) You'll have to replace all of them.

    Add comment
    10|10000 characters needed characters exceeded