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
798

can anybody tell me how to create popup window for alv

eg when i press one entry it should show all the details of that row in a popup window

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
756

hi

use reuse_alv_popup_to_select function module

if helpful, reward

Sathish. R

can anybody tell me how to create popup window for alv

eg when i press one entry it should show all the details of that row in a popup window

4 REPLIES 4
Read only

Former Member
0 Likes
757

hi

use reuse_alv_popup_to_select function module

if helpful, reward

Sathish. R

Read only

santhosh_patil
Contributor
0 Likes
756

Hi,

In ALV there is an option in the toolbar which gives the details of the entire row

Check for CHOOSE ( cntrl +shift _F3) button in the toolbar.

-


Patil

Read only

0 Likes
756

i know that option . but i want to create the same thing in that option when we click on that line

Read only

Former Member
0 Likes
756

Hi Sooraj,

Use USER-COMMAND event of ALV.

Refer this code :

CALL FUNCTION 'REUSE_ALV_EVENTS_GET'

EXPORTING

I_LIST_TYPE = 0

IMPORTING

ET_EVENTS = P_I_EVENTCAT

EXCEPTIONS

LIST_TYPE_WRONG = 1

OTHERS = 2

.

IF sy-subrc <> 0.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

CLEAR L_EVENT.

READ TABLE P_I_EVENTCAT WITH KEY NAME = SLIS_EV_USER_COMMAND INTO L_EVENT.

IF SY-SUBRC = 0.

MOVE 'Z8_USER_COMMAND' TO L_EVENT-FORM.

APPEND L_EVENT TO P_I_EVENTCAT.

ENDIF.

endform. " Z8_EVENTCAT

form z8_user_command using p_ucomm type sy-ucomm

p_selfield type slis_selfield.

case p_ucomm.

WHEN '&IC1'. "&IC1 is Fcode for double click.

write:/ 'This is second level of report'.

write:/ p_selfield-value. "It will print the doubl clicked value.

endcase

U can print this data in other ALV also.

Reward points if helpful.

Regards,

Hemant