Application Development 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: 

Date convertion

Former Member
0 Kudos
95

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

Former Member
0 Kudos
75

Hi,

use the following F.M.----

CONVERT_DATE_TO_ALPHA_NUMERIC (Converts internal date to DD Mon YY )

***do rewards if usefull

vijay

jaideeps
Product and Topic Expert
Product and Topic Expert
0 Kudos
75

hi,

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

thaks

jaideep

*if useful<reward points>

Former Member
0 Kudos
75

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

Former Member
0 Kudos
75

Hi,

Use FM:

CONVERT_DATE_TO_EXTERNAL.

Hope this helps.

reward if helpful.

Regards,

Sipra