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

Function module CONVERT_DATE_TO_INTERNAL

Former Member
0 Likes
5,756

Function module CONVERT_DATE_TO_INTERNAL is used to convert date to SAP internal format.Does it work if the flat file date is in "DD/MM/YYYY" format or "MM/DD/YYYY" format?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
3,813

Hi Arun,

          This FM CONVERT_DATE_TO_INTERNAL will only accept the date format which is in only dd.mm.yyyy . The other it will not accept. Once try this FM in SE37 .

Thanks,

S.Rajendranath

6 REPLIES 6
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
3,813

Why dont you try it in SE37

Read only

former_member212705
Active Participant
0 Likes
3,813

Hi Arun,

Sure it will work , but your flat file date format should be matched with user External format. say your file has format YYYY/MM/DD and your external format is same then it will work otherwise it fails.

Regards,

Ashish

Read only

Former Member
0 Likes
3,814

Hi Arun,

          This FM CONVERT_DATE_TO_INTERNAL will only accept the date format which is in only dd.mm.yyyy . The other it will not accept. Once try this FM in SE37 .

Thanks,

S.Rajendranath

Read only

0 Likes
3,813

No Sheshadri,

It accepts the format same as user external format set in transaction SU3. go to SU3 change your external format of date then Try. It works only if date format is same as external format set in SU3.

Read only

0 Likes
3,813

Thanks Ashish.

Read only

0 Likes
3,813

Hi Sheshadri,

               I tested in se37.As said by Ashish it works fine only if flat file date is in same format as date in SU3.