Ver Mensaje Individual
  #3  
Viejo 25/06/08, 15:48:51
danny danny is offline
Member
 
Fecha de Ingreso: mar 2007
Mensajes: 36
Holas,

DATA: BEGIN OF T_tipo OCCURS 0,
tipo type xxxx,
mes type i,
END OF T_tipo.

loop at tabla.
CALL FUNCTION 'HR_AUPBS_MONTH_DAY'
EXPORTING
BEG_DA = fecini
END_DA = fecfin
IMPORTING
NO_MONTH = los_mths.
t_tipo-tipo = tabla-tipo.
t_tipo-mes = los_mths.
collect t_tipo.
endloop.

con esto tienes cuantos meses tienes acumulados x tipo de contrato.

Saludos;
Responder Con Cita