08-21-2007 1:29 AM
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
08-21-2007 1:44 AM
Hi Ranu,
I doubt if you can do that.
YOu have to develop an abap report.
Regards,
Ravi
08-21-2007 1:55 AM
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.
08-21-2007 2:32 AM
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
08-21-2007 3:20 AM
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