Tema: Mes anterior
Ver Mensaje Individual
  #2  
Viejo 19/02/15, 18:45:31
oskymoreok oskymoreok is offline
Junior Member
 
Fecha de Ingreso: jul 2014
Mensajes: 25
Encontre la solucion! dejo el codigo y el resultado

DATA: lv_fecha(8) TYPE d.

CALL FUNCTION 'OIL_GET_PREV_MONTH'
EXPORTING
i_date = sy-datum
IMPORTING
e_date = lv_fecha.


Resultado!
SY-DATUM 20150119
LV_FECHA 20141219
Responder Con Cita