on 10-30-2007 10:11 AM
hi all,
i am working on smartforms, i have a requirement like date format.
cureently date displayed in the layout as : DD.MM.YYYY
but i need to display as : YYYY.MM.DD
how can do this : is there any system varible or command or function module.
please reply me soon.
thanks
munvar basha.
Create program lines in your smartform and write the following code...
EX,
date = '01122007' . " DD.MM.YYYY
date10(4) = date4(4).
date14(2) = date2(2).
date16(2) = date0(2).
now date1 will have 20071201 "YYYY.MM.DD
clear date.
date = date1.
display date...
close the thread once your question is answered.
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,
Check
/: SET DATE MASK = 'date_mask'
http://help.sap.com/saphelp_erp2004/helpdata/en/d1/8031dd454211d189710000e8322d00/content.htm
Regards,
Omkar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Basha,
You can use this code ,
year = date+6(4).
month = date+3(2).
day = date+0(2).
concatenate year month day into date separated by '.'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.