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

link in report

Former Member
0 Likes
797

Hi everyone,

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

1 ACCEPTED SOLUTION
Read only

amit_khare
Active Contributor
0 Likes
769

If its an ALV use HOTSPOT otherwise check this

Regards,

Amit

7 REPLIES 7
Read only

kostas_tsioubris
Contributor
0 Likes
769

Hi,

you can use the hotspot statement for this.

Kostas

Read only

Former Member
0 Likes
769

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'.

Read only

amit_khare
Active Contributor
0 Likes
770

If its an ALV use HOTSPOT otherwise check this

Regards,

Amit

Read only

Former Member
0 Likes
769

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.

Read only

Former Member
0 Likes
769

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

Read only

Former Member
0 Likes
769

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.

Read only

Former Member
0 Likes
769

thanks for the different solutions everyone !!