Skip to Content
0
Former Member
Oct 19, 2007 at 01:04 PM

Display popup with details when selecting a row in alv

1006 Views

Hi guys,

Currently i have a button "Display" with an ALV grid. I need to click on a row from the ALV records and then when i click the "Display" button, it will issue a popup box with the details of that same row with the relevant fields and values of each fields.

I am trying to use function POPUP_GET_VALUES at user command subroutine of the ALV grid. Something like:

When 'Display'.

IF rs_selfield-fieldname = 'DOC_NO'.

READ TABLE gt_table INDEX rs_selfield-tabindex.

<Code something here to populate the popup field values>

CALL FUNCTION 'POPUP_GET_VALUES'.

ENDIF.

Anyone can guide me in coding? Or is there a better way of doing this other than what i'm currently doing?

Thanks in advance.