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: 

Replacement for FM CONVERT_DATE_INPUT

Former Member
0 Kudos

Hi,

I Need the repalcement for the FM convert_date_input in ECC 6.0 version.

kishore

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hai Kishore

use 'CONVERT_DATE_TO_INTERNAL' and check the OSS Note.375393

go through the following Code

Data : V_output like sy-datum.

parameters : P_input(8) default '05052006'.

CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'

EXPORTING

DATE_EXTERNAL = P_INPUT

IMPORTING

DATE_INTERNAL = V_OUTPUT

EXCEPTIONS

DATE_EXTERNAL_IS_INVALID = 1

OTHERS = 2.

write 😕 P_INPUT.

write 😕 V_OUTPUT.

Thanks & regards

Sreenivasulu P

3 REPLIES 3

Former Member
0 Kudos

same thread...

0 Kudos

Hi,

Thread is same but, i tried those FM 's output...the output is getting differently than i what need.

kishore

Former Member
0 Kudos

Hai Kishore

use 'CONVERT_DATE_TO_INTERNAL' and check the OSS Note.375393

go through the following Code

Data : V_output like sy-datum.

parameters : P_input(8) default '05052006'.

CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'

EXPORTING

DATE_EXTERNAL = P_INPUT

IMPORTING

DATE_INTERNAL = V_OUTPUT

EXCEPTIONS

DATE_EXTERNAL_IS_INVALID = 1

OTHERS = 2.

write 😕 P_INPUT.

write 😕 V_OUTPUT.

Thanks & regards

Sreenivasulu P