2006 Jun 29 1:56 AM
Hey guys,
i have two questions on ALV grid. I am working on ERP2004.
1.How to make multiple selection in Alv grid.
i tried doing TW_LAYOUT-EDIT_MODE = 'A'.
and TW_LAYOUT-EDIT = 'X'.
but i could not find changes in screen.
Even i look for TW_LAYOUT-SEL_MODE = 'A'.
it says SEL_MODE is not available..
2.How to hide the field/Column in ALV grid.
Can we hide the field or column in alvgrid using
default Filter button in ALVgrid. or How to do this inside
the program. Please. explain.
Thanks.
ambichan,
Hey guys,
i have two questions on ALV grid. I am working on ERP2004.
1.How to make multiple selection in Alv grid.
i tried doing TW_LAYOUT-EDIT_MODE = 'A'.
and TW_LAYOUT-EDIT = 'X'.
but i could not find changes in screen.
Even i look for TW_LAYOUT-SEL_MODE = 'A'.
it says SEL_MODE is not available..
2.How to hide the field/Column in ALV grid.
Can we hide the field or column in alvgrid using
default Filter button in ALVgrid. or How to do this inside
the program. Please. explain.
Thanks.
ambichan,
2006 Jun 29 2:06 AM
2006 Jun 29 2:13 AM
Filter is to filter the rows specific to a condition and not the columns.
For columns, like Rich has given, you will have to use NO_OUT = 'X'. However, you need to be aware of the fact that when the user tries to change the layout, he can see all the fields including those you have hidden. For this the work around could be remove the authorization to change the layout, which can be done using the parameter I_SAVE.
For the layout issue, I guess Rich has already given the answer.
Regards,
Ravi
2006 Jun 29 5:18 AM
when building your field catalog you must set NO_OUT.
<b>
wa_fieldcat-no_out = 'X'.</b>
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |