on 03-26-2014 3:48 AM
Hi Experts,
Iam displaying one alv grid in that am having 10 columns....I need to have hotspot
for 2nd column and 6th column.But when the user clicked 2nd column i need to do one functionality
and when user clicked on 6th column i need to do another functionality.How can we identify whether
user clicked on 2nd cell or 6th cell(already am hadling event for on_click for 2nd column)...Please let me know the solution is grately appreciated...
thanks in advance...
Regards,
kranthi
Use, Event parameter mapping to identify the cell in which the user has clicked.
Parameter Mapping (SAP Library - Web Dynpro for ABAP)
Regards,
Sharath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kranthi,
You need to set the cell as LINK TO ACTION for 2nd column and 6th column.
Onclick of these cells you can catch the event ONCLICK Of alv and you can identify the attribute name of column to make which column and also it gives you the value of selected cell.
Please refer the below link
How to implement Link to action in ABAP webdynpro ALV - ABAP Development - SCN Wiki
Hope this helps you.
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Ramakrishnappa n sharath,
As per ur ur above post am getting the user clicked cell value in r_param->value(here the user performing link_to_url action on sanction order no(kblp-kblnr))...I need to concatenate this r_param->value with one string like "Sanction order no.is....".
Here the problem is iam unable to convert the r_param->value to char.If i can able to convert it to char.then i caoncatenate this r_param->value to "Sanction oreder no.is..."
Please suggest me it is urgent...thanks in advance.
Regards,
kranthi
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.