2009 Jan 03 6:06 AM
Hi friends,
Is it possible to hide a column in ALV when there is no value for that column
Thanks
Chandra
2009 Jan 03 6:22 AM
Yes by using the FM ALV_OPTIMIZE_OUTPUT you can acheive it
ALV_OPTIMIZE_OUTPUT : Suppress Blank Columns in ALV OutputExecute SE37 enter FM name
Check the Function Module Documentation for more details
Hi friends,
Is it possible to hide a column in ALV when there is no value for that column
Thanks
Chandra
2009 Jan 03 6:22 AM
when you are filling final internal table at that time check if there is no value in the column.
and fill the field catalog at same time and dont include that column if there is no value.
Loop at final it into wa.
if there is no value then dont include that field in field catalog.
endloop.
it will solve ur problem.
2009 Jan 03 6:22 AM
Yes by using the FM ALV_OPTIMIZE_OUTPUT you can acheive it
ALV_OPTIMIZE_OUTPUT : Suppress Blank Columns in ALV OutputExecute SE37 enter FM name
Check the Function Module Documentation for more details
2009 Jan 03 11:47 AM
2009 Jan 03 6:26 AM
Hi,
You can use filter option also for this. After displaying or before displaying.
Best Regards,
Surendar Reddy.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |