Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

alv popup

Former Member
0 Likes
666

Hi,

I have a hierarchial alv list which displays header and item details. When i double click on a particular sold to value, i want to get the corresponding customer details in a popup window.

May i know how to do this.

Thanks

Hi,

I have a hierarchial alv list which displays header and item details. When i double click on a particular sold to value, i want to get the corresponding customer details in a popup window.

May i know how to do this.

Thanks

4 REPLIES 4
Read only

FredericGirod
Active Contributor
0 Likes
628

you have to create the class event double-click, wrote the routine and call a popup ...

look in demo program of SAP

Read only

Former Member
0 Likes
628

Hi ,

Use the FM reuse_alv_popup_to_select

Regards,

Kumar

Read only

0 Likes
628

Can u give me the demo program name...

And how to capture the value of the sold to party number after double clicking?

If possible can u explain the parameters to be passed in the FM

Read only

0 Likes
628

Try example code

call function 'REUSE_ALV_POPUP_TO_SELECT'
        exporting
          i_title                 = 'Test Popup'
          i_selection             = ' '
          i_zebra                 = 'X'
          i_tabname               = '<Internal table name>'
          i_screen_start_column   = 05
          i_screen_start_line     = 08
          i_screen_end_column     = 140
          i_screen_end_line       = 20
          it_fieldcat             = <fieldcat for internal table>
          i_callback_program      = sy-cprog
          i_callback_user_command = 'USER_COMMAND_DATA'
        tables
          t_outtab                = <internal table>.

Regards

Vinod