on 02-25-2009 6:41 PM
Hi,
my application uses an ALV table. I'm implementing Complex Filter that are used to hide some rows that match certain conditions, like the regular filter in ALV does. At the end, I want to save all rows, even the hidden ones. It would be simpler for me to keep all elements in my context, but just to set an attribute to hide the element. Is there a way to do it or I have to remove the element from context and put it aside in a temporary buffer?
Thanks
Davy
Hi ,
Get the column reference of the alv and loop the alv columns ...get the column which you want to hide and use the method
CALL METHOD lr_column->set_visible
EXPORTING
value = cl_wd_uielement=>e_visible-none.
Regards,
Shailaja Ainala.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shailaja,
you did not really answer to my question. I don't want to hide a column in ALV, I want to hide some of the elements displayed by the ALV. I know that I could remove these elements from the Context Node, but I was wondering if there is a way to set a property of element so it would not be displayed, even if it's still part of the context node.
Best Regards,
Davy
i dont think within ALV its possible to hide rows..by using the Visible/Invisible for few rows. i guess you will have to put all the data in a internal table when its first fectched without filter!!
Then depending on the logic either you read the ALV data ( filtered one ) or the entire data from the temp internal table.
Greetings
Prashant
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.