on 07-09-2017 7:14 PM
Hi
Today Morning one of our data flows in Production failed with the below error. We are loading data from SAP HANA to SQL Server . Recently HANA upgrade happened and it was upgraded to latest Service Pack Level.
The Data flow was working fine till 8th July. The error message is also generic and does not give any information about any column.
Error: General error, 339 invalid number:attribute value is not a number
SAP HANA View>Query Transform> Query transform 1> Table Comparison> Target table
I cannot fully confirm that the issue is related to upgrade but the SAP HANA view is a Calculation view and is based on some other HANA tables. Will provide the HANA Service Pack level if needed.
Data Services Version: 4.2 SP5
Target Table: SQL Server 2012
Regards
Arun Sasi
Hi Dirk,
I had an Intuition when this error occurred. There was a varchar(10) column called KOSTL which was coming from BSIK SAP ECC table. This column previously had values like 1 but now it only contains NULL values.
SQL Server is not allowing to insert NULL values in Integer column. The strange thing is that the column in SQL Server table allows NULL values.
I tried with the ifthenelse and it is not throwing any error.
ifthenelse( "Y.YM.YMCI.YMCIDN.YMCIDN01E02/ZNGDNETZ_NDH_113".CostCenterCode='',NULL,"Y.YM.YMCI.YMCIDN.YMCIDN01E02/ZNGDNETZ_NDH_113".CostCenterCode)
Regards
Arun Sasi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is not a DS issue, but a flaw in the view design: a mismatch between a view column datatype and (one of) its actual value(s).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arun Sasi, We also encountered same problem while extracting data from one the ECC table. It was a data issue .
We found some char value was in int/decimal column. is_valid_int/is_valid_decimal can help in identifying the column value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bipin,
Did you face this issue in HANA views.
We had a discussion with the HANA team and it looks like the issue is with the SLT_TIMESTAMP column. This column is a decimal(15,0) column.
Regards
Arun Sasi
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.