on 10-23-2008 8:00 AM
hi,
i m new in WD ABAP.
i have created a table UI element and also binded it with node, with columns of type input field. but it is not taking values at run time. table rows are in display mode only.
i need the complete table in edit mode, so that it can take the values from the user.
Thanks,
Pankaj Aggarwal
Hi,
Check the property of the READONLY and its value of the Table element.
For ex:
In the WDDOMODIFY view ->
if....
ls_flight-readonly = abap_false. " set the EDITABLE porperty fo the table
else.
ls_flight-readonly = abap_true. " set the EDITABLE porperty fo the table
endif.
check the standard component WDR_TEST_TABLE
Regards
Lekha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pankaj,
Try binding an initial internal table to your TABLE ui element. Give it a try as shown below:
METHOD wddoinit .
DATA: lt_sflight TYPE if_main=>elements_sflight,
wa_sflight TYPE if_main=>element_sflight,
lv TYPE REF TO if_wd_context_node.
DO 10 TIMES.
APPEND wa_sflight TO lt_sflight.
ENDDO.
lv = wd_context->get_child_node( name = 'SFLIGHT' ).
lv->bind_table( new_items = lt_sflight ).
ENDMETHOD.
Regards,
Uday
Hi Uday,
Pankaj is asking when he wanto to fill the table manually while executing the applicaiton.
even i am aslo facing the issue, when i fill the table with itab record it is workig...
but it is not coming in input mode why ???
it is appearing in only display mode, please let me know what are the properties are code we need to maintain...
read only is not checked and enable is checked.
i am using inputfields only in the table rows, not text view.
Thanks,
Mahesh.Gattu
HI,
u might have used textview for the fields while cerating table , use input field ui element.
Regards
Yash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.