on 06-08-2007 5:51 AM
Hi,
I am doing a IDOC to JDBC scenario. Every thing is fine in SXMB_MONI messages.
But in message monitoring and component monitoring this is the error showing...
Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'COGRP_TMP_PROC' (structure 'Statement'): java.sql.SQLException: General error
Here is the mapping from IDOC to Stored Procedure...
*RTACOGRP_RECEIVER_MT
*COGRP01 -
> *Statement
IDOC *COGRP_TMP_PROC
BEGIN action
EDI_DC40 *IDOCNUMBER
SEGMENT isInput(TRUE)
TABNAME type(CHAR)
-
-
-
*E1COGH -
>E1COGH_MSGFN
SEGMENT
MSGFN
Note: Please find my previous threads....
Is there any error in mapping to Statement...
Can any body please let me know the error
Thanks in Advance
Murthy
Hi,
In ur receiver jdbc adapter, go to advanced mode and in additional parameters tab add logSQLStatement attribute and set value to true.Now execute ur scenario and inthe audit log what sql statement is generated.May be u will be able to trace the error generated in the sql statement.
Reward points if helpfull.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Murthy,
1. Make sure that the Order of the Parameters and there names are same as int he Stored procedure.
2. Like i mentioned earlier try to look into your DB logs and try to check if there are any inputs.
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi narasimha
can you check the Default Trace Logs in the visual admin, it will give us more info on the sqlexception
regards
krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.