Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 9262

How to convert DEC value to Date

$
0
0

Hello experts,

                       In BPS, I wanted to accept Date value with Layout settings 'From Transaction Data' so I created one 'Key figure - ZPOSTDT' of type 'DATE' with DEC as Data type.

 

When user enters value, ZPOSTDT field accepts it as a Date and stores in the Transactional cube as DECIMAL value.

 

But I want to use ZPOSTDT value as Date in my report.

 

I have searched in Forum to convert Decimal to Date but no direct CODE SNIPPET or FUNCTION MODULE is available.

 

I tried to convert DEC to STRING and then to DATE but it is also not giving me desired result.

 

Please tell me how to do it in ABAP code?

 

Regards,

Priyanka Joshi


Viewing all articles
Browse latest Browse all 9262

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>