on 01-09-2008 9:41 AM
Hi,
I have a requirement to dispaly the date in a smartform in the format: ex: feb 28, 2008.
For this i have used the following code in a text node, But the smartform is not showing the correct format in the Preview, even in the printout. it is showing like 02/28/2008.....
AD Order No:,,&G_W_VBAK-VBELN&
/: SET DATE MASK = 'MMM DD, YYYY'
AD Order Date:,,&G_W_VBAK-ERDAT&
AD Delivery Date:,,&G_W_VBAK-VDATU&
could anybody guide me..
Thanks,
Sekhar.J
Hi,
Create a Program lines node and define a global variable of type sy-datum and the set the date format in ABAP.
bye
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
SET DATE MASK is a SAPscript command and so won't work in Smartfroms. What you will need to do is create an ABAP node with a global variable for your new date field and use ABAP to format the date (the function module in the earlier answer may be useful).
Regards,
Nick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
i think it is giving correct only.... for u r code
try to use this function module
MONTH_NAMES_GET---it will return month name
may be it is useful.
Thanks,
usha
reward points if useful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.