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: 

Hyperlink on field in Basic list of ABAP Query

Former Member
0 Kudos

Dear All,

Could somebody tell me, if its possible to have a hyperlink on a field in the Basic list of ABAP Query (SQ01,SQ02).

Example :- There is a basic list which has the field MARA-MATNR displayed.There should be a hyperlink on this field, such that when the user clicks on it , the transaction MM03 is called.

Thanking You.

Ranu

4 REPLIES 4

former_member181962
Active Contributor
0 Kudos

Hi Ranu,

I doubt if you can do that.

YOu have to develop an abap report.

Regards,

Ravi

Former Member
0 Kudos

Hi,

Loop at itab.

write:/ itab-matnr hotspot,

itab-maktx.

hide: itab-matnr.

endloop.

data: c_field(16).

----


at line-selection.

----


get cursor field c_field.

if c_field = 'ITAB-MATNR'.

check not itab-matnr is initial.

set parameter id 'MAT' field itab-matnr.

call transaction 'MM03' and skip first screen.

endif.

This is one example to call the transaction.

If this helps you award points.

Thanks,

Deepak.

0 Kudos

Dear Deepak,

what you have given is to be written in ABAP report. I am talking of ABAP Query, where the event 'at line-selection' is not available.

Regards,

Ranu

Former Member
0 Kudos

HI

To make hyperlink on field use <b>HOTSPOT ON</b> with write statement. IF u want to call mm02 transaction then u should pass selected matnr to MM03. To do this use Set Parameter.

Reward me if its helpful.

Ravi