Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9076

Re: Convert SAP internal date format into YYYY-MM-DD format

$
0
0

Hi,

 

If you are flexible with modeling level changes then easiest way would be to add of type char with the length 10.

 

Map the field which is mapped to 0calday to this new infoobject and write a simple field level routine.

 

Data: YY type /BI0/OICALYEAR,

         mm (2) type n,

         dd (2) type n.

 

YY = Source_field-date+0(4).

mm = Source_field-date+4(2).

dd = Source_field-date+0(2).

 

Concatenate YY '-' mm '-' dd into zobject.

 

Result = zobject.

Hope this helps.

 

Regards,

AL


Viewing all articles
Browse latest Browse all 9076

Trending Articles



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