Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ALV_Object Model HYPERLINK

Hello

I have done an ALV_OM using

GR_ALV TYPE REF TO CL_SALV_TABLE, 
CALL METHOD CL_SALV_TABLE=>FACTORY 
EXPORTING 
LIST_DISPLAY = IF_SALV_C_BOOL_SAP=>FALSE 
IMPORTING 
R_SALV_TABLE = GR_ALV 
CHANGING 
T_TABLE = IT_BOOK.

And now I would like when the user click on IT_BOOK-CARRID link to web-page.

Now I only can link to C:\Documents and Settings\SapWorkDir (This link is displayed by defect when you press IT_BOOK-CARRID)

and I would like change this link for "http://www.airberlin.com".

LR_COLUMNS->GET_HYPERLINK_ENTRY_COLUMN( ). 
LR_COLUMNS->SET_HYPERLINK_ENTRY_COLUMN( VALUE = 'IT_HYPERLINK' ).

I know that I can add a hyperlink but I am not clear how I have to use that.

CALL METHOD LR_HYPERLINKS->ADD_HYPERLINK 
* EXPORTING 
* HANDLE = LR_HANDLE 
* HYPERLINK = 'http://www.airberlin.com' 
* RECEIVING 
* VALUE = LR_HYPERLINK.

If somebody can help me.:)

THANKS

Former Member
Not what you were looking for? View more on this topic or Ask a question