cancel
Showing results for 
Search instead for 
Did you mean: 

date transform

Former Member
0 Kudos

Should i open an oss message for date transform function when source date is 0000-00-00?

Florin

Accepted Solutions (0)

Answers (3)

Answers (3)

justin_santhanam
Active Contributor
0 Kudos

Flroin,

I think we discussed the transofrmation long back. I forgot it, can u tell how the date should be transformed.

raj.

Former Member
0 Kudos

The idea is to have a checkboc, verify or don't verify if the date is valid.

Florin

Former Member
0 Kudos

Yes Floring ,

As Doss said.... u can transform any date format ....using the "DateTrans" function under "Date" standard function....

u can transform yyyy:mm:dd to mm:dd:yyyy

yyyy:dd:mm to yyyy:mm:dd

dd:mm:yyyy to mm:yyyy:dd

yyyy:mm:dd to dd:mm:yyy

any format u want.......

double click on the DateTrans function there u can give the sorce date format...and also u can give the target date format.. as ur requirement....just check it ...give a try.. it will work..

all the best...

Regards

Biplab

Former Member
0 Kudos

just try to use 0000-00-00 as a date source. this was the problem, but can be catched with if statement.

Florin

agasthuri_doss
Active Contributor
0 Kudos

Hi,

No need,

The Function is available.In Message Mapping under Date Function you can find transform date function.

Regards

Agasthuri Doss

Former Member
0 Kudos

Yes..but try to use when your source date is 0000-00-00, and try to explain to an abap developer that this date doesn't exist.

Florin

henrique_pinto
Active Contributor
0 Kudos

Even though you receive this from your sender system, why would you want to send it to target system, since it doesn't hold a valid value?

Just use an If without else and for condition use date different from "0000-00-00".

Regards,

Henrique.