Date Value Conversion in SAP BODS - SAP Community
Date Value Conversion in SAP BODS - SAP Community
Date Value Conversion in SAP BODS - SAP Community
We have made some improvements to the way all of us engage within SAP
Community, namely how we share information, how we treat each other, and how
we can continue to learn. To continue to enjoy the Community, please adhere to
our updated SAP Community Rules of Engagement, documented here.
Former Member
Dec 15, 2015 at 02:28 PM
SAP table PRPS has a date field 'USR08' and when trying to extract using BODS, blank date values in SAP are getting
converted into some default values.
Format of date (YYYYMMDD,DDMMYYY,YYYY.DD.MM,YYYY-DD-MM) is not the issue. Default in places of blank is the
only issue.
What could be the reason for blanks getting converted into random defaults ?
Note : Version of BODS used : 4.2 , DB Connection : SQL Server management Studio 2008
Assigned Tags
Similar Questions
BODS special character conversion issue
Mihir Mishra Oct 07, 2021
Coffee Corner
Join the new Coffee Corner Discussion Group.
1 Answer
Best Answer
Magesh Subramanian
Dec 15, 2015 at 04:44 PM
Can you check if Tool -> Options -> SAP -> Convert SAP null to null is set?. If not , choose this option
1 to get rid of default conversion.
5 comments
Yes , This is working . But the problem with having this option set is that it affects other SAP table 'Blank' values and in-turn
transformations built on them. Is there any option to set the same at table or field Or Job level ?
Like 0 | Share | Alert Moderator
Let DS convert the SAP NULL into 1900.01.01 , then you convert 1900.01.01 back to NULL or blank
I hope PRPS table doesn't contain any records with date as '1900.01.01' 😉
Like 0 | Share | Alert Moderator
This workaround was tried already and it didn't seem to work. Unfortunately , we have certain records with date '1900.01.01' ,
and when we tried this we were not able to differentiate '1900.01.01' actual values and defaulted values.
Like 0 | Share | Alert Moderator
I guess date 1900.01.01 in SAP is meant to be blank .I would suggest you to speak to the SAP functional consultant or the data
owner to see if they are valid dates.