2007 Oct 03 10:38 AM
HI All,
I am displaying output using ALV grid method. On screen i am selecting multiple rows & based on selection i want process further. How can i determine whcih rows user has selected ?
Regards,
Rahul
2007 Oct 03 10:44 AM
Hi Rahul,
you can use the event " HANDLE_DATA_CHANGED".
In this you can fetch the selected fields form the ALV Grid.
Hope this helps.
Regards,
Chitra
HI All,
I am displaying output using ALV grid method. On screen i am selecting multiple rows & based on selection i want process further. How can i determine whcih rows user has selected ?
Regards,
Rahul
2007 Oct 03 10:44 AM
Hi Rahul,
you can use the event " HANDLE_DATA_CHANGED".
In this you can fetch the selected fields form the ALV Grid.
Hope this helps.
Regards,
Chitra
2007 Oct 03 10:44 AM
Hi,
In IT_FIELDCAT you can pass one field with attributes of check box.
for example.
Declare:
DATA: GT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
FIELDCAT_LN LIKE LINE OF GT_FIELDCAT.
Pass the below values.
FIELDCAT_LN-FIELDNAME = 'CHECK'.
FIELDCAT_LN-TABNAME = 'ITAB1'.
FIELDCAT_LN-KEY = ' '. "SUBTOTAL KEY
FIELDCAT_LN-NO_OUT = ' '.
FIELDCAT_LN-SELTEXT_L = 'Check Box'.
FIELDCAT_LN-CHECK-BOX = 'X'.
APPEND FIELDCAT_LN TO GT_FIELDCAT.
<b>rEWARD IF USEFULL</b>
2007 Oct 03 10:45 AM
Hi,
Use the Method <b>GET_SELECTED_ROWS_BASE</b> in Class <b>CL_GUI_ALV_GRID</b>.
Regards,
Padmam.
2007 Oct 03 11:04 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |