Application Development 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: 

link in report

Former Member
0 Kudos

Hi everyone,

I was wondering if it is possible to 'write' a link to another screen/program in a report.

1 ACCEPTED SOLUTION

amit_khare
Active Contributor
0 Kudos

If its an ALV use HOTSPOT otherwise check this

Regards,

Amit

7 REPLIES 7

kostas_tsioubris
Contributor
0 Kudos

Hi,

you can use the hotspot statement for this.

Kostas

Former Member
0 Kudos

Hi..

Just make that field as <b>hotspot</b>.

<b>at line selection.</b>

write ur logic.

<b>EX:</b>

data:

w_char(10) type c value 'Click me'.

write: w_char hotspot on.

<b>at line-selection.</b>

call transaction 'SE38'.

amit_khare
Active Contributor
0 Kudos

If its an ALV use HOTSPOT otherwise check this

Regards,

Amit

Former Member
0 Kudos

Hi bjorn,

1. We can use HOTSPOT concept.

2. Just copy paste

It will display 2 lines.

On clicking 2nd line, it will open up SE11.

3.

report abc.

write 😕 'Hello'.

write 😕 'Click Here for SE11' hotspot on.

at line-selection.

call transaction 'SE11'.

regards,

amit m.

Former Member
0 Kudos

hi,

Yes you can have a link to another screen or program in report.you can use SUBMIT stament to call another program or CALL to call another screen.

Reward points if it is helpful.

Regards,

Sangeetha.A

Former Member
0 Kudos

Hi Bjorn,

There is a event called 'at line selection' in report for this purpose.

suppose u want to open a transaction mm03 by just click a material no that u r displaying in ur report.

AT LINE-SELECTION.

GET CURSOR FIELD d_field VALUE d_value.

CASE d_field.

when 'i_tab-matnr'

SET PARAMETER ID 'mat' FIELD d_field.

call transaction 'MM02' and skip first screen.

Reward points if helpful.

Regards,

Hemant

endcase.

Former Member
0 Kudos

thanks for the different solutions everyone !!