cancel
Showing results for 
Search instead for 
Did you mean: 

smartforms(urgent)

Former Member
0 Kudos

Hi Experts!!!

I need to get "31-jan-08" for this requirement i am using FM

CONVERSION_EXIT_SDATE_OUTPUT using this i am geting output as 31.jan.2008 ...

Could you please tell me how to display in given format ?? or atleast how to remove that dots.

Thanks ,

shaheen

Accepted Solutions (0)

Answers (4)

Answers (4)

mahaboob_pathan
Contributor
0 Kudos

hi,

after getting that date in one variable u need so do split.

Former Member
0 Kudos

Hi shaheen,

Use the offset to solve your probem.

See the below code. The particular offset has been done for

20080231(YYYYMMDD). I want to convert this into MM/DD/YY.

CONCATENATE p_caufvd-gstrs+4(2)'/'

p_caufvd-gstrs+6(2)'/'

p_caufvd-gstrs+2(2)

INTO v_ssdate.

I think this code will help you.

Reward points if useful.

Thanks,

karthik

Edited by: karthikeyan Thangavel on Feb 20, 2008 1:55 PM

Former Member
0 Kudos

Hi

It displays based on the user setting change the setting and try it

regards

Shiva

Former Member
0 Kudos

Hi Shaheen,

Please move the result into character type variable.

use replace statement .

Other way split statement.

Thanks

Phani