on 02-05-2013 5:19 AM
Hi Experts,
I have a scenario like JDBC --> PI --> SAP.
In this interafce, PI is trying to fetch the data from MySQL DB with JDBC adapter, but the data is not coming into PI. When i ahve checked in the communication channel monitoring found some error message also the channel is processing with errors. From the error message i unedrstood that it is a database level error.
Belwo is the eroro message which am getting in the Channel monitoring..
"Database-level error reported by JDBC driver while executing statement 'CALL proc_dtdc_cnote_sales_sd'. The JDBC driver returned the following error message: 'java.sql.SQLException: Incorrect decimal value: '0.0000,0.0000' for column 'v_advance_ts' at row 49503'. For details, contact your database server vendor."
Please suggest me where i need tocorrect in Stored proc or in table level.
Thanks in Advance..!
--
With Warm Regards
Raj
Error is clearly indicating "Incorrect decimal value: '0.0000,0.0000' for column 'v_advance_ts' at row 49503'. For details, contact your database server vendor."
once you have to check the decimal value and value of the field in database because there is separated value with comma .('0.0000,0.0000') and once check decimal positions also .then check what is the data type of that field. and once check mapping also
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Raj,
okay , mightbe that is problem in DB so Once you have to check decimal values and that related field Data type in DB because in DataBase point of you Comma (,) is using for separated values
mightbe here '0.0000,0.0000' that is one decimal value but data base point of view 2 values for one field (mis match the fields and values/not match the no of values to no of fields )so once you have to check Decimal value that related field .
Hi,
My issue has been resolved after checking with DB team.
This issue was raised due to sending incorrect input data into the v_advance_ts field.
Instead of sending 0.0000 value they are sending "0.0000,0.0000" value into v_advance_ts field.
Also the same has been correcte now PI is able to fetch the data from DB.
Thanks a lot to every body. For your valuable suggestions.
--
With Warm Regards
Raj
Hi Raj,
If you are using a SQL query in the Channel config, cross check the length of the fileds which is throwing exception and also verify the field format in SAP.
Thanks
Anand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Have you cross checked the data for the field mentioned over in the log ?
Check the format of the data stored and the type defined for the same..
HTH
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.