05-09-2007 12:13 PM
HI,
Which Function Module is used for converting the DATE Format in BDC for Uploading purpose please help me.
05-09-2007 12:15 PM
data : date like sy-datum.
data : odate(10) type c.
date = sy-datum. " in format YYYYMMDD
CALL FUNCTION 'CONVERSION_EXIT_PDATE_OUTPUT'
EXPORTING
input = date
IMPORTING
OUTPUT = odate .
write:/ odate. "in ur format '.
1.
In ur itab make a field for date as 10 characters and use this Fm to store the date .
2. Pass the date as the charcter field to the screen and now check .
05-09-2007 12:15 PM
05-09-2007 12:15 PM
Hi
Use the split and concatenate mechanism to get ur required date format.
Regards,
Sreeram
05-09-2007 12:15 PM
05-09-2007 12:15 PM
data : date like sy-datum.
data : odate(10) type c.
date = sy-datum. " in format YYYYMMDD
CALL FUNCTION 'CONVERSION_EXIT_PDATE_OUTPUT'
EXPORTING
input = date
IMPORTING
OUTPUT = odate .
write:/ odate. "in ur format '.
1.
In ur itab make a field for date as 10 characters and use this Fm to store the date .
2. Pass the date as the charcter field to the screen and now check .
12-23-2022 4:05 PM
05-09-2007 12:19 PM
use like this
data : var(10) value '31.03.2007'.
data : vdat type d.
CALL FUNCTION 'CONVERSION_EXIT_PDATE_INPUT'
EXPORTING
INPUT = var
IMPORTING
OUTPUT = var
.
vdat = var.
regards
shiba dutta