Skip to Content

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

event handling in abap objects

hello friends,

i want to use the event RAISE_LINK_CLICK for single click.

but i dont want 2 use this event for alv table.

i am displaying vendor name in my top of page,if the user click of the vendor name a new window should pop-up displaying the vendor details.

my code for top of page is

DATA: lr_grid TYPE REF TO cl_salv_form_layout_grid,

lr_grid_1 TYPE REF TO cl_salv_form_layout_grid,

lr_flow TYPE REF TO cl_salv_form_layout_flow,

lr_label TYPE REF TO cl_salv_form_label,

lr_text TYPE REF TO cl_salv_form_text,

l_text TYPE string.


lr_grid_1 = lr_grid->create_grid( row = 1 column = 1 ).

lr_text = lr_grid_1->create_text( row = 1 column = 1 colspan = 2 text = <b>vendor_name</b> ).

lr_grid_1 = lr_grid->create_grid( row = 2 column = 1 ).

lr_flow = lr_grid_1->create_flow( row = 2 column = 1 ).

lr_text = lr_flow->create_text( text = 'Reconcillation Statement'(t02) tooltip = 'Reconcillation Statement'(t02) ).

alv->set_top_of_list( lr_grid ).

do uc the VENDOR NAME in bold,wen the user clicks on it the pop should appear.

so how to use the event RAISE_LINK_CLICK for this purpose,or is there another way through

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