Ver Mensaje Individual
  #6  
Viejo 19/08/08, 14:24:31
Mike Mike is offline
Senior Member
 
Fecha de Ingreso: mar 2006
Localización: Venezuela
Mensajes: 144
Prueba lo siguiente, haz un select a la EKPO y te traes todas las posiciones y pruebas la formula que te coloco a continuacion

LOOP AT IT_EKPO INTO WA_EKPO.
MONTO = MONTO + ( ( ( WA_EKPO-MENGE / WA_EKPO-PEINH ) * WA_EKPO-NETPR ) / ( WA_EKPO-BPUMZ / WA_EKPO-BPUMN ) ).
ENDLOOP.


Espero te sirva
Responder Con Cita