Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Date convertion

Former Member
0 Likes
724

Hi,

I am getting date as mm/dd/yyyy to internal table. how to convert it to user formate.

Thanks in advance,

Sudheer.A

4 REPLIES 4
Read only

Former Member
0 Likes
704

Hi,

use the following F.M.----

CONVERT_DATE_TO_ALPHA_NUMERIC (Converts internal date to DD Mon YY )

***do rewards if usefull

vijay

Read only

jaideeps
Product and Topic Expert
Product and Topic Expert
0 Likes
704

hi,

for ur reference ..https://www.sdn.sap.com/irj/sdn/advancedsearch?query=date%20conversion&cat=sdn_all

thaks

jaideep

*if useful<reward points>

Read only

Former Member
0 Likes
704

First change it to intetnal format (YYYYMMDD ) type d.

then use write to statement.

WRITE <yyyymmdd> TO <user_format>.

to convert to internal format use FM

regards

Prax

Read only

Former Member
0 Likes
704

Hi,

Use FM:

CONVERT_DATE_TO_EXTERNAL.

Hope this helps.

reward if helpful.

Regards,

Sipra