cancel
Showing results for 
Search instead for 
Did you mean: 

Editable table in web dynpro ?

Former Member
0 Kudos

Dear Experts,

                     I have created table like shown below

Header 1Header 2Header 3Header 4Header 5Header 6Header 7Header 8Header 9Header 10
EMPIDEMPNAMEEMPAGEEMPDOBEMPTYPEGOVTIDGOVTID_NOMOBILENOEMAILIDGENDER
54KALYANI2617.06.2015TEMPARARYVOTERIDUDJJLSOI89493336080KALYANI@GMAIL.COMM

and i have button at button on clicking that button i want the selected row be editable because initially it is grayed out.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182915
Active Contributor
0 Kudos

Hi,

The process is bit lengthy basically you have to write code in button action

1st identify which record are selected then make a loop on instance and change attribute property of selected row with value  'if_wd_context_element=>e_property-read_only'.

set_attribute_property(

          EXPORTING

            attribute_name = lv_attr_name

            property       = if_wd_context_element=>e_property-read_only

            value          = lv_lock

Best fit example for your case

http://scn.sap.com/docs/DOC-52863