on 07-31-2012 3:04 PM
Hi experts,
I have the next situation I hope you can help me.
I´m working in a new installation of SAP PI 7.31 EHP1 and I have an error in a communication channel receiver JDBC.
I try to insert in a DB2 data base. But the system throws the next error.
Unable to execute statement for table or stored procedure. 'MQSI.TL_PRODIC_ENV' (Structure 'Statement_TL_PRODIC_ENV') due to com.ibm.db2.jcc.am.SqlDataException: DB2 SQL Error: SQLCODE=-433, SQLSTATE=22001, SQLERRMC=Error when calling an adapter by using the communication cha, DRIVER=4.13.80
MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'MQSI.TL_PRODIC_ENV' (structure 'Statement_TL_PRODIC_ENV'): com.ibm.db2.jcc.am.SqlDataException: DB2 SQL Error: SQLCODE=-433, SQLSTATE=22001, SQLERRMC=Error when calling an adapter by using the communication cha, DRIVER=4.13.80
I don´t know if the problem is a Driver of the data base or the adapter.
Thanks In Advance
Regards
Hello everybody
Thanks for your support.
All your answers helped me.
The problem was in a Data Base. The IT team said me that they have a permition problem.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Monroy,
Error " SqlDataException" looks like some data problem check with that.
Also try to execute same procedure with same data direct on database.
Regards,
GAgandeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello!
Besides, looks like something with the stored procedure itself (either the values being sent or the data types declared), according to the -443 exception:
BR,
Lucas Santos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Francisco,
I guess you have to cross check your JDBC structure used in mapping.
Did you follow as per the SAP Help?
Can you share your structure screenshot?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>I don´t know if the problem is a Driver of the data base or the adapter.
The error does not show that it's driver issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello!
1. Can you run manually the stored procedure on the database?
2. Try setting the logSQLStatement debug parameter on the receiver channel (OSS note #801367). This will log the executed/generated query on the defaultTrace.trc file.
3. Are regular queries (no stored proc.) on receiver JDBC channel working?
BR,
Lucas Santos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
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.