on 11-21-2007 9:31 AM
Hi to all!
I would like to change the format of date fields in a smart form. How may I do this?
Thanks,
Istvan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
By default Smartforms will format the date for the recipient country of the form, based on the address. If you want to change this or use for example the month name rather than number you will need to declare a global variable for your formatted field and populate this in an ABAP node. There you can use regular ABAP to reformat the date.
Regards,
Nick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
using edit mask or write to statments
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
store ur date into one varible of type charecter whoose width equal to ur date width i.e 10 char .and format ur date as ur wish using offset and length.
data dat(10) type c value '22:11:2007'.
data day(2) type c .
data mon(2) type c.
data yea(4)type
day = +0(2)dat.
mon = +4(2)dat .
yea = +7(4)dat .
concatenate mon ':' day ':' year into dat .
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.