2007 May 17 11:46 AM
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
2007 May 17 11:49 AM
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
2007 May 17 11:49 AM
hi
use reuse_alv_popup_to_select function module
if helpful, reward
Sathish. R
2007 May 17 11:52 AM
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
2007 May 17 12:05 PM
i know that option . but i want to create the same thing in that option when we click on that line
2007 May 17 11:56 AM
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
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |