modificar tabla interna
Garcais por responder NEO,
lo solucione asi:
READ TABLE t_resimp WITH KEY KEYCTO = TOPERA.
IF sy-subrc = 0.
if SUMRES = '+'.
WVALOR = t_resimp-IMPUESTO + t_detimp-VALOR.
t_resimp-IMPUESTO = WVALOR.
else.
WVALOR = t_resimp-RESTAIMP + t_detimp-VALOR.
t_resimp-RESTAIMP = WVALOR.
endif.
modify t_resimp INDEX sy-tabix.
else.
xxxx
endif.
Tambien aplique tu solución y funciona bien, cual de las 2 es mas eficiente?
|