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

Floating point number / date

Former Member
0 Likes
967

I am getting the "required by" date for a network order from table AUSP (AUSP-ATFLV). It is stored as a floating point number. 2.007120100000000E+07 = 01.12.2007. Is there a function module which will do the conversion for me?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
898

Hi,

This function CTCV_CONVERT_FLOAT_TO_DATE makes that

Best regards

Jaime

I am getting the "required by" date for a network order from table AUSP (AUSP-ATFLV). It is stored as a floating point number. 2.007120100000000E+07 = 01.12.2007. Is there a function module which will do the conversion for me?

3 REPLIES 3
Read only

Former Member
0 Likes
899

Hi,

This function CTCV_CONVERT_FLOAT_TO_DATE makes that

Best regards

Jaime

Read only

Former Member
0 Likes
898

If you want the opposite, you can use CTCV_CONVERT_DATE_TO_FLOAT but you must write the date in SAP format without dots (ex 20071201).

Best regards

Read only

Former Member
0 Likes
898

Thanks Jaime,

Problem solved.

Regards

Kevin