on 11-03-2013 2:58 AM
Hie peoples,
I created a normal table in display format. In that I want to create hotspot for one of my column , In that if anyone click on that column a view gets open by displaying detail information about that row. How can I do it.
Create a new column or replace any old one by Linktoaction UI element and then create a new view and some UI element according to your data which need to be shown in pop-up and one window, and bind new view in that window. and then read the row by using
In new view..
DATA lr_element TYPE REF TO if_wd_context_element.
DATA lv_index type i.
lr_element = wdevent->get_context_element( 'CONTEXT_ELEMENT' ).
lv_index = lr_element->get_index( ).
index will give you the row on which you have clicked.
Now in view, read the Itab and using index find the all data.
and now on LinkToaction call pop-up and pass the newly created window name,..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks All of u for your valuable support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can we show our data on link to action UI element in Table .
Thanks and Regards,
Mandar Gavkar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Change the UI Element for the required column from 'TextView' to 'LInkToAction' and in its OnAction write code for opening popup.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.