on 06-25-2008 1:02 AM
if the date is 01.01.08 I want it to display as 01 Jan 08..?and if is
02.02.08 I want it as 02 Feb 08..
How to resolve this in smart form field..?
let me know..
Thanks,
Hi,
Use this Function module:
CALL FUNCTION 'CONVERSION_EXIT_SDATE_OUTPUT'
EXPORTING
INPUT = V_VFDAT
IMPORTING
OUTPUT = F_VFDAT.
Regards,
Shiva Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You have to do it manually. First get month name from table T015M and concatenate it.
data: l_month type MONAM,
l_monum type MONUM,
l_old_date type text8 value '01.01.07',
l_new_date type text10.
l_monum = l_old_date+3(2).
SELECT SINGLE MONAM INTO l_month
FROM T015M
WHERE SPRAS EQ 'E'
AND MONUM EQ l_monum .
Concatenate l_old_date(2) l_month(3) l_old_date+6(2)
Into l_new_date separated by space.
You can add those code at initialization.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You should write code in order to obtain this,
If v_date is your date field.
In the porgram logic you check for v_date+4(2)
If g_date+4(2) = '01'.
concatenate g_date6(2) 'JAN' g_date0(2) into g_date.
elseif g_date_4(2) = '02'.
concatenate g_date6(2) 'FEB' g_date0(2) into g_date.
elseif...................
then display g_date.
Regards
Madhu G S
Reward Points if usefull
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.