on 09-27-2007 1:27 PM
hi all,
i want to display date in mm/dd/yyyy format.how to convert from dd/mm/yyyy to my required format.
if anyone knows answer kindly help me.
thanks inadvance.
Create program lines, and modify the date to your required format.
Ex:
Date = '27092007'
Date10(2) = date2(2).
Date12(2) = date0(2).
date14(4) = date4(4).
****Display date1.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi..
In case of SAP Scripts:
use the command
/: SET DATE MASK 'MM/DD/YYYY'
Then display the Date field.
<b>reward if Helpful.</b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kavitha,
define 3 variables : date(2) , month(2), year(4).
concatenate date '/'
month '/'
year into one variable of type sy-datum.
hope this may be useful or else just try to use this FM 'HRGPBS_HESA_DATE_FORMAT'
please reward,
regards,
Prashant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.