2006 Oct 06 8:25 AM
Does it exists a function module that converts a date
05-JUL-06 into 20060705. I know how to do it in abap but i'd like a Standard function module
thanks in advance.
2006 Oct 06 8:34 AM
HI,
use the following FM
<b>CONVERSION_EXIT_SDATE_INPUT</b>
pass the date in '05.jul.06' format and it will return in
'20060705' format you required
Regards,
2006 Oct 06 8:37 AM
use this fm
CONVERSION_EXIT_SDATE_INPUT
simply pass the value - 25OCT2006 u will get 20061025
Regards
-
Sachin
2006 Oct 06 8:37 AM
25-jul-06.. separator here should be in ur own system format
CONVERSION_EXIT_SDATE_INPUT
2006 Oct 06 8:40 AM
2006 Oct 06 9:04 AM
Check the following
CONVERSION_EXIT_PDATE_INPUT Conversion Exit for Domain GBDAT: DD/MM/YYYY -> YYYYMMDD
CONVERSION_EXIT_PDATE_OUTPUT Conversion Exit for Domain GBDAT: YYYYMMDD -> DD/MM/YYYY
SCA1 Date: Conversion
CONVERSION_EXIT_IDATE_INPUT External date INPUT conversion exit (e.g. 01JAN1994)
CONVERSION_EXIT_IDATE_OUTPUT External date OUTPUT conversion exit (e.g. 01JAN1994)
CONVERSION_EXIT_LDATE_OUTPUT Internal date OUTPUT conversion exit (e.g. YYYYMMDD)
CONVERSION_EXIT_SDATE_INPUT External date (e.g. 01.JAN.1994) INPUT conversion exit
CONVERSION_EXIT_SDATE_OUTPUT Internal date OUTPUT conversion exit (e.g. YYYYMMDD)
TB01_ADDON
CONVERSION_EXIT_DATEX_INPUT
CONVERSION_EXIT_DATEX_OUTPUT
2006 Oct 06 9:28 AM
hi,
chk this.
CALL FUNCTION 'CONVERSION_EXIT_IDATE_INPUT'
EXPORTING
INPUT = lcdate
IMPORTING
OUTPUT = out_date.
rgds
anver
pls mark hlpful asnwers