on 04-23-2007 6:33 AM
hello
i am rendering a tableview with the help of iterator. it is displaying the values correctly but now i want one column as the inputfied. i can have the same using p_replacement_bee.
but my problem is how to set the value of the inputfield of the column. i checked the parameters of method IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START where i found P_ROW_DATA_REF and i guess this would be having the column value.
i tried getting that value using
ASSIGN P_ROW_DATA_REF->* to <fs>.
lv_tmp = <fs>
while it compiles successfully it gives error at the runtime.
does anyone knows how to get this value or how to set the value of inputfield.
thanks in advance.
regards
tatvagna
IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START code
field-symbols: <fs> type any ,
<l_field> type any .
data: wf_text type string .
assign p_row_data_ref->* to <fs>.
case p_column_key.
when 'DESIREDCOLUMNNAME' .
ASSIGN COMPONENT p_column_key OF STRUCTURE <fs> TO <l_field>.
if <l_field> is assigned .
wf_text = <l_field> .
endif .
p_replacement_bee = cl_htmlb_inputfield=>factory(
id = p_cell_id
value = wf_text ).
Raja
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 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.