on 06-02-2012 7:55 AM
My application has one button to add one row in a table, the table initial is in read only when user click the button it will open only one row then user will enter data.
I try to user the below code but not working.
DATA int_sndr_prop type TABLE OF WDR_CONTEXT_PROP_FOR_NODE ."WDR_CONTEXT_PROPERTIES_tab.
DATA wa_sndr_prop type WDR_CONTEXT_PROP_FOR_NODE."WDR_CONTEXT_PROPERTIES.
LOOP AT wd_comp_controller->int_sndr INTO wa_sndr .
IF sy-tabix eq wf_index.
wa_sndr_prop-READ_ONLY = space.
wa_sndr_prop-ELEMENT_INDEX = wf_index.
else.
wa_sndr_prop-READ_ONLY = 'X'.
wa_sndr_prop-ELEMENT_INDEX = sy-tabix.
ENDIF.
wa_sndr_prop-ATTRIBUTE_NAME = 'SNDR_READ_ONLY'.
APPEND wa_sndr_prop to int_sndr_prop.
call METHOD wd_comp_controller->z_sender_node_att->SET_ATTRIBUTE_PROPS_FOR_NODE(
EXPORTING
PROPERTIES = int_sndr_prop
KEEP_OTHERS = ABAP_TRUE ).
ENDLOOP.
call METHOD wd_this->z_sndr_read_only_att->SET_ATTRIBUTE_PROPS_FOR_ELEM(
EXPORTING
PROPERTIES = int_sndr_prop
KEEP_OTHERS = ABAP_FALSE
).
ANY SOLUTION OF THIS ISSUE
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1.In the table UI element ON LEADSELECT property create an event handler method.
2.On lead selection of the table this even handler method gets called.
2.Get the structure you want to show in the next view.And if this structure is binded to the fields in next view , it will get displayed.
3.Fire the plug for the view you want to call.
With regards,
Please move this to http://scn.sap.com/community/web-dynpro-abap
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.