on 01-27-2012 10:39 AM
hello experts,
i have a requirement to make particular cell as mandatory(not complete column) in ALV .
could any body tel me how to acheive this functionality.
Thanks in adv!!
Thank You Very Much!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rakshar,
inside the loop write your condition and then call
CALL METHOD lr_column->set_cell_editor
EXPORTING
value = lr_input.
*Now loop the columns table and change the cell editor of a column
LOOP AT lt_columns INTO ls_columns.
lr_column = ls_columns-r_column.
lv_tabix = sy-tabix.
READ TABLE lt_name INTO ls_name INDEX lv_tabix.
CREATE OBJECT lr_input
EXPORTING
value_fieldname = ls_name-name.
CALL METHOD lr_column->set_cell_editor
EXPORTING
value = lr_input.
And go through the bellow link..
link : http://wiki.sdn.sap.com/wiki/display/WDABAP/HowtoeditconditionallyrowofaALVtableinWebDynprofor+ABAP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.