Skip to Content

Alternative of Hide Statement in Interactive ALV

May 16, 2017 at 07:31 PM


avatar image

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?


10 |10000 characters needed characters left characters exceeded

Google -> interactive ALV

* Please Login or Register to Answer, Follow or Comment.

1 Answer

Sandra Rossi 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.

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Dear Sandra,

Thanks for your reply. Can you please provide any link or sample code for this please.