‎2007 Oct 30 8:01 AM
Hi all,
I'am sending mail thru a Function module .the mail message contains time and date also. but the date and time is not in required format ie dd/mm/yyyy and time in 12:01:14 format.they are just yyyymmdd and 120114 .how can i get the required format in hte message thru mail.
Thanks,
Mahesh
‎2007 Oct 30 8:09 AM
What is the function module you are using?
If you are directly using the Internal Table data for sending the mail, populate the internal table values of the date and time with the values of the required format..
Reward the points if it is useful.
‎2007 Oct 30 8:36 AM
hi,
How can i format and pass the value into the internal table.Presently i'am passing into a internal table. please recommend.
Thanks and regards,
mahesh
‎2007 Oct 30 8:43 AM
Hi,
Use function module "CY_CONVERT_DATE" . It will convert the date into current user format.
Regards,
Prashant
‎2007 Oct 30 9:05 AM
Hi
Change your date and time format before passing to FM..
Using EDIT MASK 'YYYY/MM/DD' and 'HH:MM:SS'
And then call FM..
Hope this helps .
regards,
Praveen
‎2007 Oct 30 9:44 AM
Hi mahesh
just try by using EDIT MASK opting in write statement.
reward,if it it useful