Skip to Content

Editable table in web dynpro ?

Dear Experts,

I have created table like shown below

Header 1 Header 2 Header 3 Header 4 Header 5 Header 6 Header 7 Header 8 Header 9 Header 10 EMPID EMPNAME EMPAGE EMPDOB EMPTYPE GOVTID GOVTID_NO MOBILENO EMAILID GENDER 54 KALYANI 26 17.06.2015 TEMPARARY VOTERID UDJJLSOI8 9493336080 KALYANI@GMAIL.COM M

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Jul 03, 2015 at 08:08 AM

    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

    Add comment
    10|10000 characters needed characters exceeded