on 09-09-2009 5:32 PM
hi,
i have an abap webdynpro with a text edit. The ui element is bind with a table that have a string field. I have to value the text edit with more records. I have write this code but in web dynpro i see only last record:
DATA: o_node TYPE REF TO if_wd_context_node,
o_element TYPE REF TO if_wd_context_element.
DATA: t_testi TYPE table t002t.
DATA: v_testo type string.
LOOP AT t_testi INTO f_testi.
CONCATENATE f_testi-testo ' '
INTO v_testo SEPARATED BY cl_abap_char_utilities=>newline.
o_element = o_node->create_element( ).
o_element->set_attribute( name = 'EDIT'
value = v_testo ).
o_node->bind_element( new_item = o_element ).
ENDLOOP.
Where is the error !?!?!?!? Any one know the solution??
Thaks .
Laura.
I guess .... concatenate is wrong.. check this
CONCATENATE v_testo f_testi-testo ' '
INTO v_testo SEPARATED BY cl_abap_char_utilities=>newline.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
9 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.