Skip to Content
avatar image
Former Member

Current Index of table without lead selection

I have a table in webdynpro component. One of the column is input field. When the user inputs his value and hits the enter key, i need to pick the current line index(Without using lead selection). How can i do this?

Regards,

Sridhar M R

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 08, 2010 at 12:00 PM

    Refer this code :

    data: lr_element type ref to if_wd_context_element.
    DATA ls_cn_popin TYPE wd_this->element_cn_popin.
    data lv type I.
    lr_element = wdevent->get_context_element( 'CONTEXT_ELEMENT' ).
     lv = lr_element->GET_INDEX( ).

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 08, 2010 at 02:06 PM

    Thanks a lot Saurav.

    My issue is solved now.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Nizamudeen SM

      Hi ,

      Probably the associated type would be a structure containing all the attributes under the corresponding node as fields of the structure.

      Thanks,

      Aditya.