cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the selected value in two level horizontal contextual panel

Former Member
0 Kudos

Dear All,

I'm using to 2-level Horizontal Contextual panel. On selection of any of the components, either on the first / second level of the Horizontal Contextual panel, I'm unable to capture the value selected.

I went through the horizontal contextual panel in the wdr_test_events,

but I find that it is using boldon_element_event( wdevent ).bold

As a result, the value is getting dynamically getting populated in a Transparent container.

Can anybody advise some alternative way of doing this.

Please help. Any help will be highly appreciated.

Regds,

Srinivasan

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I've solved it myself. I used the the following code to get the path of the user click an then read the respective table indexes to arrive at the value clicked.

lr_element = wdevent->get_context_element( 'CONTEXT_ELEMENT' ).

lv_column_name = lr_element->get_path( withoutcontroller = abap_true ).

Hope this will be helpful to somebody.

Regds,

Srinivasan.