cancel
Showing results for 
Search instead for 
Did you mean: 

hyperlink for a table field leads to popup webdynpro abap

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

ChrisPaine
Active Contributor
0 Kudos

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?

Former Member
0 Kudos

Hi Chris

You mean the on action under events for that table column.

I was thinking its for the whole column.

I want to drilldown on each field value of that column.

for eg: in emp no. table column I want to drilldown on their individual values as 9111064

Thanks for your suggestion

Former Member
0 Kudos

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.

Answers (0)