2010 Dec 23 5:03 AM
Hi Friends ,
I have an ALV output . When I double click on one of the lines , soem columns of the line should pop-up like we have details screen for ALV( ALV Line->Right click-> Details) . I should be able to edit some of the fields in ALV also. Is there is any standard
function module for this kind of pop-up ? can anybody help me ?
Thanhks ,
Joby
2010 Dec 23 5:11 AM
Hi,
you can use the method double click of the alv to get the line which is clicked and use the FM "POPUP_WITH_TABLE_DISPLAY"
to display data in FM.
2010 Dec 23 5:11 AM
Hi,
you can use the method double click of the alv to get the line which is clicked and use the FM "POPUP_WITH_TABLE_DISPLAY"
to display data in FM.
2010 Dec 23 5:16 AM
2010 Dec 23 5:24 AM
Joby,
Functionality like double click in ALV can be achieved by handling User_command &IC1&. We have a wiki on that in SDN by Gu Chris.
[Double click in ALV|http://wiki.sdn.sap.com/wiki/display/Snippets/DoubleclickusedinALV]
To edit a column in ALV:
Use the below code in field catalog.
gwa_fieldcat-edit = gc_xTo get pop up detailed screen in ALV,
call function REUSE_ALV_POPUP_TO_SELECT
2010 Dec 23 6:45 AM
Just handle the user command event on first ALV.... I hope this u know...
and in that call next alv with function module Reuse ALV grid display bt remember to pass the parameters.....
I_SCREEN_START_COLUMN
I_SCREEN_START_LINE
I_SCREEN_END_COLUMN
I_SCREEN_END_LINE
2010 Dec 23 10:35 AM
*Put this in user command and don't forget the fielcatalog ;)
*Popup ALV
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = sy-repid
it_fieldcat = wa_fcat1[]
i_screen_start_column = 12
i_screen_start_line = 4
i_screen_end_column = 155
i_screen_end_line = 15
tables
t_outtab = itab1
exceptions
program_error = 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.
2011 Jan 02 12:11 PM
Hi,
The Function Module
Reuse_alv_popup_to_select : In the dialog box to choose one or more entries or it for display
Edited by: chandrasek on Jan 2, 2011 1:12 PM
2011 Mar 10 6:31 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |