Hola que tal,
te cuento que en la funcion no debes colocar nada sino que inculir esta subritina:
FORM handle_double_click USING
i_row TYPE lvc_s_row i_column TYPE lvc_s_col
is_row_no TYPE lvc_s_roid.
READ TABLE gt_list INDEX is_row_no-row_id .
IF sy-subrc = 0 AND i_column-fieldname = 'SEATSOCC' .
CALL SCREEN 200 . "Details about passenger-seat matching
ENDIF .
ENDFORM.
Esta rutina lo que hace es tomar la posicion del Registro y el nombre de la columna que se va a utilizar.
Aca esta la la explicacion de los parametros pero esta en ingles.
two parameters are “es_row_no” which is of type “LVC_S_ROID” and passes information about the row index at “es_row_no-row_id”, and “e_column_id” of type “LVC_S_COL” which returns the column fieldname at “e_column_id-fieldname”. Utilizing these parameters you know where the user clicked and trigger your action.
__________________
Krystian Parada
Consultor Tecnico ABAP
|