MUNDOSAP

MUNDOSAP (foro/index.php)
-   Programación ABAP IV (foro/forumdisplay.php?f=4)
-   -   fecha en formato juliano (foro/showthread.php?t=1387)

sergiobessoni 11/08/06 13:26:30

fecha en formato juliano
 
Deseo saber si alguien sabe como tratar una fecha en formato juliano, y convertirla a formato ddmmaaaa.
Gracias

Mauricio Hidalgo 11/08/06 14:52:20

Y tienes la fecha de referencia de ese formato?

sergiobessoni 11/08/06 15:09:57

Si tengo la fecha de referencia.

Mauricio Hidalgo 11/08/06 16:29:22

Mira por acá



saludos

adritobb 16/07/07 13:47:36

buenas!
alguien sabe como hacerlo al reves'
tniendo un sy-datun pasarlo a juliano.
Graciasssssss

JAC 18/07/07 06:00:20


vstarke 06/07/10 18:30:32

espero les sirva

CONCATENATE sy-datum(4) '0101' INTO v_tmp.

CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES'
EXPORTING
i_datum_bis = sy-datum
i_datum_von = v_tmp
* I_KZ_EXCL_VON = '0'
i_kz_incl_bis = '1'
* I_KZ_ULT_BIS = ' '
* I_KZ_ULT_VON = ' '
* I_STGMETH = '0'
i_szbmeth = '2'
IMPORTING
e_tage = v_fec_juliana.

mysmb2 07/07/10 17:44:41

existen varias formas pero la mas sencilla es

WRITE sy-datum TO l_fecha DDMMYYYY.


Saludos


hugogo_90 15/07/15 17:18:38

Conversion de SY-DATUM A Juliana
 


Rutina de Conversion de Fecha SY-DATUM a Juliana.

form change_date_juliana using pv_datum type sydatum
changing pv_djuli type char08.

convert date pv_datum into inverted-date pv_djuli.

endform. " CHANGE_DATE_JULIANA


Husos Horarios son GMT. La hora en este momento es 21:52:09.

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