on 12-11-2009 6:24 AM
Dear All,
I created two tables in a screen such that both the table fields are of Input fields type .I created first table which will
accept the inputs and below it I created another Table which is also of Input field type.But when I execute the component I am getting only first Table in Input mode and the other Table is in Disable mode.
What can be the problem??
Hi,
Compare two tables.
1.Since you are able to see the second table in disable mode check if the standard cell property is input field only.If its of text view you see it in disable mode.
2.did u bind to any attribute to enabled or read only property of the input field .
Priya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
other Table is in Disable mode.
check that u have unticked the READ ONLY property of ur UI
also check if u have binded the ENABLE property of ur table UI to WDY_BOOLEAN in some method
and u r setting it to 'X'
in the OnToggle event of ur Checkbox , set this attribute to 'X to make the checkbox ticked
in the OnToggle event of ur Checkbox , set this attribute to ' ' to make the checkbox un ticked
DATA lo_nd_cn_node TYPE REF TO if_wd_context_node.
DATA lo_el_cn_node TYPE REF TO if_wd_context_element.
DATA ls_cn_node TYPE wd_this->element_cn_node .
DATA lv_attr LIKE ls_city-ca_attr.
* navigate from <CONTEXT> to <CN_VISIBLE> via lead selection
lo_nd_node = wd_context->get_child_node( name = wd_this->wdctx_ca_attr).
* get element via lead selection
lo_el_cn_node = lo_nd_cn_node->get_element( ).
* set single attribute
lo_el_cn_node->set_attribute(
EXPORTING
name = `CA_ATTR`
value = ' ' ).
// set attribute CA_ATTR under CN_NODE to ' '
// this will make the table UI control disabled
// this is a code generated thru code wizard ( control +f7) , read context node/attribute
// use SET_ATTRIBUTE method
regards,
amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you cheked any read only property for other tables..
For teh 2nd table, Input fields are cell editors right....look into this property of table.
Or through programming are you setting this value for readonly...
Edited by: Lekha on Dec 11, 2009 12:00 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.