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: 

Alternative of Hide Statement in Interactive ALV

Former Member
0 Kudos

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?

Thanks

4 REPLIES 4

Sandra_Rossi
Active Contributor

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.

0 Kudos

Dear Sandra,

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

Jelena
Active Contributor
0 Kudos

Google -> interactive ALV site:sap.com