Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

hyperlink

Former Member
0 Likes
865

hi!

i am working on an alv report.

instead of using the double double technique i would like to use a hyperlink.

how do i do it?

regards

yifat

10 REPLIES 10
Read only

Former Member
0 Likes
839

Hot SPOT is Hyperlink in ALV.

SPecify in fieldcatalog of that field HOTSPOT = 'X'.

that will work like a link..

x_fieldcat-fieldname...

x_fieldcat-hotspot = 'X'.

regards

vijay

Read only

Former Member
0 Likes
839

hi,

in the fieldcatalog , one option is there

it_fldcat-fldname-hotspot = 'X'.

this will make the hyperlin instead of double clicking

pls reward points if useful

Read only

Former Member
0 Likes
839

u have to use the double technique to go to next screen. Even if u use HOTSPOT it just shows a hand cursor on that particular field. When u press the field with the hand cursor then it will go to the next screen. This is one way of double technique.

Hope, U have to either way use this technique.

Pl. award appropriate points if helpful.

Read only

Former Member
0 Likes
839

hi!

i did it and got line under the field, but how do i get it to transaction iw53 for example?

regards

yifat

Read only

0 Likes
839

AT LINE SELECTION.

call transaction 'iw53'

Read only

0 Likes
839

Hi,

You can use event hotspot_click.

in evenhandler .

Call Transaction IW53.

Read only

0 Likes
839

Hi Underline you will get in some GUI settings and you may not in some settings..

but it will work like as a hyperlink..

Read only

Former Member
0 Likes
839

Hi Yifat,

Using Hotspot is a single Click only ..it acts like a Link..

Check it, please reward for helpful answers..

vijay

Read only

Former Member
0 Likes
839

Hi

As others have mentioned , use hotspot = 'X' in fieldcatalogue.

Then you will have to handle it in the perform that you write for user command . This perform name should be passed to the CALLBACK USERCOMMAND parameter of you ALV fm. :

for user_command using p_ucomm type sy-ucomm

p_Selfld tyle slis_selfield.

CASE p_ucomm.

WHEN '&IC1'. "Double click

IF p_selfld-fieldname = 'Your fieldname'

w_pmnoteno = p_selfld-value.

Call transaction 'IW23' and skip first screen

endif.

ENDCASE.

endform.

-Kalidas

Read only

0 Likes
839

What method are you using, object oriented ALV or function module?

Srinivas