on 04-22-2010 12:21 PM
hi ,
i am creating a one table . i set that table propartise are aditabule . but in runtime it will show normal table . i want editabule fields . how can i . what proparty i want to set .
Regards
venkat
Hi Pradeep,
You can use below code to set the table as editable.
*Appending Work Area to Internal table.
Do 8 times.
Append <work area> to <internal table>.
enddo.
"Binding the table
<Refere the context node > TYPE REF TO if_wd_context_node.
<Refere the context node > = wd_context->get_child_node( name = wd_this->wdctx_<contextname>)
<Refere the context node >->bind_table( new_items = <Internal table> set_initial_elements = abap_true ).
It will solve your issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use 'Input Field' or 'Text Edit' as the UI element inside the table. It will allow you to edit the text.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pradeep
1.Create Node with elements
2.GO to WDDOINIT()
data: node1 type ref to if_wd_context_node,
lt_testdrop type if_main=>elements_testdrop,
ls_testdrop type if_main=>element_testdrop.
node1 = wd_context->get_child_node( 'TESTDROP' ).
DO 20 TIMES.
APPEND ls_testdrop TO lt_testdrop.
ENDDO.
node1->bind_table( new_items = lt_testdrop
set_initial_elements = abap_true ).
Thanks and Regards
Tulasi Palnati
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
In the column the ui element should be input field and there should be records in the table then only there will be editable option.
and if you dont have a records in the table then populate empty records so that it till allow you to enter the values in the table.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
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.