Thomas Born
Custom CDS View convert Decimal Field to Date
Thomas Born · 12 months ago · Question
Answered
Thomas Born

Hi;

I like to determine the period when a project has been created or last updated. For this I like to first convert the CreatedDateTime field which is a decimal to a Date Field so I can link it to the FiscalYear view.

I tried cast( I_EngProj.CreationDateTime as ABAP.DATS ) but I am getting the error "CAST CREATIONDATETIME of type DEC to type DATS is not possible".

Does anyone know how this can be achieved?

Thanks

Thomas

Comments

Comments
Alumni