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

Regarding converting character value into date value

former_member330379
Participant
0 Likes
756

HI all,

i the table J_1IASSVAL - Assessable value table for excise calculation , in J_1IFRDATE field, date is stored but in my

system it is stored in character form i.e. in the form of ' 79918898' .

now i want to convert this character form value into Date form value

is there any function module exist for converting character value into date value

Regards

sky

4 REPLIES 4
Read only

Former Member
0 Likes
712

Hi,

There is a conversion routine INVDT.

Use function module CONVERSION_EXIT_INVDT_OUTPUT and enter the value 79918898 as an input will give you date as an output.

Please check and confirm.

Regards,

Umang Mehta

Read only

0 Likes
712

Dear umang,

Done

Thanks a lot .............

Regards

sky

Read only

0 Likes
712

Hi Sky,

You can <removed by moderator> close the thread.

Regards,

Umang Mehta

Edited by: Vinod Kumar on Jun 13, 2011 5:36 PM

Read only

RaymondGiuseppi
Active Contributor
0 Likes
712

Subtract your value from 99999999 you will get a date in DATS internal format (eg. 99999999 - 79918898 = 20081101)

datefield = '99999999' - J_1IASSVAL-J_1IFRDATE.

This format purpose is to sort data by date descending.

Regards,

Raymond