‎2007 Dec 12 10:55 AM
hi gurus !!!!!!!!
i am dealing with an inbound - outbound interface.
I have a date field that i am sending in to the outbound.
in the program its is the format YYYYMMDD.
But when i look for the resultant outbound message in transaction SXMB_MONI, the date is getting transformed to YYYY-MM-DD.
If I am sending a blank in this date field, then the result is - - ....
I get two hipens. This is undesireable. Can I remove this hipens if i dont send any date?
Need help on this.
regards,
Balaji
‎2007 Dec 12 11:11 AM
Hallo,
it seems like you´ll deal with a modification to the standard code. Probably your date field is being formated either per code or with another data element, which has the YYYY-MM-DD configuration.
Try to find enhancement points in the program´s code if you really need to change the date´s format.
‎2007 Dec 12 11:15 AM
Hi,
Use this FM to convert the date into current user format
CALL FUNCTION 'CY_CONVERT_DATE'
EXPORTING
date_string_imp = lv_lfdate
IMPORTING
date_string_exp = lv_fdate1
date_exp = lv_fdate2.
Regards,
Prashant