2007 May 22 12:42 PM
2007 May 22 1:03 PM
Hi
Use the Methods of class <b>cl_gui_alv_grid
SET_USER_COMMAND
SET_TOOLBAR_INTERACTIVE</b>
for the Interactive list of ALV.
Reward points if useful
Regards
Anji
2007 May 22 12:45 PM
2007 May 22 12:46 PM
2007 May 22 12:47 PM
Hi
You can find the useful methods related to all events in ALV in class
<b>cl_gui_alv_grid</b>.
Have a look on that.
Regards,
Sreeram
2007 May 22 12:48 PM
Hi Jagrut,
check these links at help.sap.com
http://help.sap.com/saphelp_nw2004s/helpdata/en/ee/c8e062d52611d2b468006094192fe3/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/22/a3f5f5d2fe11d2b467006094192fe3/frameset.htm
Hope that helps,
ok
2007 May 22 12:50 PM
Try the below link
https://www.sdn.sap.com/irj/sdn/forums
2-3 Sample codes below
https://www.sdn.sap.com/irj/sdn/forums
Hope it helps
Regards
Tushar Mundlik
2007 May 22 12:53 PM
Hi,
In the implementation for class cl_event_reciever
call method handle_double_click using the
parameters given in cl_gui_alv_grid.
2007 May 22 12:58 PM
Hi Jagrut,
If you are using CL_GUI_ALV_GRID class to display ALV report and want to add
double clicking functionality to ALV need to handle event DOUBLE_CLICK
in your local class.
See the below code how you define it.
*===============================================================
****************************************************************
* LOCAL CLASSES: Definition
****************************************************************
*===============================================================
CLASS LCL_EVENT_RECEIVER DEFINITION.
PUBLIC SECTION.
* § 2. Define a method for each print event you need.
METHODS:
TOP_OF_PAGE FOR EVENT TOP_OF_PAGE
OF CL_GUI_ALV_GRID
IMPORTING E_DYNDOC_ID,
DOUBLE_CLICK FOR EVENT DOUBLE_CLICK
OF CL_GUI_ALV_GRID
importing E_ROW.
PRIVATE SECTION.
ENDCLASS. "lcl_event_receiver DEFINITION
*===============================================================
****************************************************************
* LOCAL CLASSES: Implementation
****************************************************************
*===============================================================
* class c_event_receiver (Implementation)
CLASS LCL_EVENT_RECEIVER IMPLEMENTATION.
*-------------------------------------------
METHOD TOP_OF_PAGE.
* Top-of-page event
PERFORM EVENT_TOP_OF_PAGE USING G_DYNDOC_ID.
ENDMETHOD. "top_of_page
METHOD DOUBLE_CLICK.
* Top-of-page event
PERFORM list using e_row.
ENDMETHOD. "DOUBLE_CLICK
You also need to register the events.
And also check the program BCALV_GRID_VERIFY.
Hope this will help you.
Thanks&Regards,
Siri.
2007 May 22 1:03 PM
Hi
Use the Methods of class <b>cl_gui_alv_grid
SET_USER_COMMAND
SET_TOOLBAR_INTERACTIVE</b>
for the Interactive list of ALV.
Reward points if useful
Regards
Anji
2007 May 22 1:06 PM
2007 May 22 2:19 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |