MUNDOSAP

MUNDOSAP (foro/index.php)
-   Programación ABAP IV (foro/forumdisplay.php?f=4)
-   -   CheckBox (foro/showthread.php?t=44238)

hpicon 11/07/11 23:22:24

CheckBox
 
Tengo un problema con el checkbox de un catalogo, se como crearlo. Pero el inconveniente que tengo surge cuando deseo capturar los datos cuando marco un check y quiero obtener la lista de por ejemplo productos seleccionados.

jarabas 12/07/11 10:18:19

Hola, no te valdría con recorrer la tabla del ALV y comprobar la columna del check?

Saludos.

caralbgro 12/07/11 15:51:27

an ver si te ayuda
 
FORM F_SELECION_ROWS .
DATA tl_index TYPE lvc_t_row.
DATA pos TYPE i.


CALL METHOD ob_alvgrid->get_selected_rows
IMPORTING
et_index_rows = tl_index
* et_row_no =
.

REFRESH t_tabla_procesar.

LOOP AT tl_index INTO pos.
READ TABLE t_tabla INDEX pos.
t_tabla_procesar = t_tabla.
APPEND t_tabla_procesar.
ENDLOOP.
IF sy-subrc NE 0.
MESSAGE 'Selecione algun registro' TYPE 'E'.
ENDIF.
CLEAR tl_index.
ENDFORM.


Husos Horarios son GMT. La hora en este momento es 17:43:05.

www.mundosap.com 2006 - Spain
software crm, crm on demand, software call center, crm act, crm solutions, crm gratis, crm web