on 11-22-2012 7:20 AM
Hi All,
I am trying to make a field Editable dynamically and tried to set the property as mentioned in the link below:
http://scn.sap.com/message/13670845#13670845 as mentioned by Nikhil Prateek Kulkarni ..
i have a BOL Entity with me now..
lr_entity ?= gv_context_node->collection_wrapper->get_current( ).
how do i implement the below code here ..
lv_value = if_genil_obj_attr_properties=>changeable.
lv_attr_props->set_property_by_name(
iv_name = 'ZZMDC_COMMENTS' ""IV_NAME is your UI Field Name
iv_value = lv_value ). "" LV_VALUE is either
I have to perform the above steps based on a condiiton..
Can any one pls guide me how do i get the instance of LV_ATTR_PROPS from the LR_ENTITY.
Pls Help ASAP !!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Savaridasan,
Thanks for the input..
can u pls let me know is it that i have to implement in Genil Class only.
My scenario is i am unable to change the field of type TEXT AREA to Editable even i write the code in .HTM. Page.
I have to change the field 'X" of type TEXTAREA to editable based on Ztable Config. and so i have write the code to change for every other field.
Pls find the screen shot where i am getting DUMP ..
Can u pls let me know how do i set the field to Editable here..
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.