Hi All,
How to remove the warning errors in SAP BODS?
Here i am getting the warning Errors in Below..
The source is AS400
here i can write the source data and data typeis Decimal values.
PMSPF015.P015EC decimal (2,0)
PMSPF015.P015EY decimal (2,0)
PMSPF015.P015EM decimal (2,0)
PMSPF015.P015ED decimal (2,0)
And target table is effective_date data type is Datetime
From Decimal to Date
Query:Query_Src]
Conversion warning <Warning: Expression <PMSPF015.P015EC> of type <DECIMAL> will be converted to type <VARCHAR>.> for expression <TO_DATE(cast(ifthenelse(PMSPF015.P015ED=0,1,PMSPF015.P015ED),'VARCHAR(2)')||'-'||
cast(ifthenelse(PMSPF015.P015EM=0,1,PMSPF015.P015EM),'VARCHAR(2)')||'-'||
cast(IFTHENELSE(PMSPF015.P015EC=0,'00',PMSPF015.P015EC),'VARCHAR(2)') ||
cast(IFTHENELSE(PMSPF015.P015EC=0 AND PMSPF015.P015EY=0,'01',IFTHENELSE(PMSPF015.P015EC<>0 AND PMSPF015.P015EY=0,'00',
ifthenelse(length(PMSPF015.P015EY)<2,'0'||PMSPF015.P015EY,PMSPF015.P015EY))),'VARCHAR(2)'),'DD-MM-YYYY')
>. (BODI-1110411)
Can you please help me out resolve the issue. But this is not an issue but the client told me remove warning errors also..
Thanks,
Krishna.