Skip to Content
author's profile photo
Former Member

Hyperlink on field in Basic list of ABAP Query

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Posted on Aug 21, 2007 at 12:44 AM

    Hi Ranu,

    I doubt if you can do that.

    YOu have to develop an abap report.

    Regards,

    Ravi

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Aug 21, 2007 at 12: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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • author's profile photo
    Former Member
    Posted on Aug 21, 2007 at 02: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

    Add comment
    10|10000 characters needed characters exceeded