Skip to Content
author's profile photo Former Member
Former Member

hyperlink for a table field leads to popup webdynpro abap

Hi All,

I have a problem in finding the solution for this.

I know we can drilldown on a field for further details in ALV webdynpro.

But here I have a situation where I need to drilldown on a field in a table(which is not ALV).

EG:

FOLLOWING IS THE THE TABLE I HAVE NOW ( its not an ALV )

EMP NO EMP NAME

912245 Ruise gill

923045 bernard chan

All the numbers should have an underline like a hyperlink and it should lead to a popup with further details.

For ALV you have on_click event like the below

  • Display link in column pernr

DATA: lr_link TYPE REF TO cl_salv_wd_uie_link_to_action.

lr_column = l_value->if_salv_wd_column_settings~get_column( 'PERNR' ).

CREATE OBJECT lr_link.

lr_link->set_text_fieldname( 'PERNR' ).

lr_column->set_cell_editor( lr_link ).

Can you please help is there any way to drilldown on a table field

Thanks in advance.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Oct 12, 2010 at 11:17 PM

    Um - surely you just want to use the classic link to action functionality and then in the action launch a new external window passing the employee number selected?

    The element selected is available in the action handler, and launching an external window with a parameter is fairly basic WDA stuff - what is the particular issue you're having?

    Add a comment
    10|10000 characters needed characters exceeded

    • hi, Amol Ghatuk.

      Just as Chris Paine said, from your description, the information what i can get is that:

      you want one column which plays like "Link to Action"(hyperlink). And when user presses the "Link to action",one pop-up will be displayed....

      And in addition, your given the coding example of ALV, is just for: in ALV, create "Link to action" UI element and then set it in ALV to make the column play like "Link to Action"(hyperlink).

      Now, in your Table(Not ALV), what you need to do is just "create one table column" in which you continually create one "Cell editor"(choose the "Link to action" UI element)...

      Oh, this is the basic of WD4A. I think you have already been very familiar with "Action handler" and "Open one Pop-up"...

      If any misunderstanding, pls point out. very glad to discuss with you.

      Best wishes.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.