on 06-18-2012 2:08 PM
Can anyone tell the structure of Receiver JDBC while using the stored procedure. Can we use the standard receiver jdbc structure or not.
I am using this structure and getting an error in RWB at receiver communication channel. Does any one can help me.
And the error message is --> Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. ' SX_STP' (structure 'InsertStatement'): java.sql.SQLException: ERROR: Invalid XML document format for stored procedure: 'type="<SQL-type>"' attribute is missing for element 'param1' (Setting a SQL-type (e.g. INTEGER, CHAR, DATE etc.) is mandatory !)
MY procedure name is SX_STP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Deleting my reply, Baskar has already pointed out that structure error.
Message was edited by: Amit Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> ERROR: Invalid XML document format for stored procedure: 'type="<SQL-type>"' attribute is missing for element 'param1'
Your structure in the screenshot shows that it's an error. You created type as an element which is wrong. If you see the help link provided by the above users you will know the answer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Map the "type" attribute with the sql-data type.
From SAP help:
The attribute type=<SQL-Datatype> , which describes the valid SQL data type, is mandatory for all parameter types (IN, OUT, INOUT).
The following SQL data types are supported: INTEGER, BIT, TINYINT, SMALLINT, BIGINT, FLOAT, REAL, DOUBLE, NUMERIC, DECIMAL, CHAR, VARCHAR, STRING, LONGVARCHAR, DATE, TIME, TIMESTAMP, BINARY, VARBINARY, LONGVARBINARY, BLOB (output only),CLOB (output only).
Thanks
Amit Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
SAP Help gives a detailed answer to this question. The expected structure is:
<StatementName5>
<storedProcedureName action=” EXECUTE”>
<table>realStoredProcedureeName</table>
<param1 [isInput=”true”] [isOutput=true] type=SQLDatatype>val1</param1>
</storedProcedureName >
</StatementName5>
Bear in mind that names are strictly dependent on your procedure name and parameters. See more details here:
http://help.sap.com/saphelp_nw70ehp2/Helpdata/EN/4d/8c103e05df2e4b95cbcc68fed61705/content.htm
Regards,
Greg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Raju
Following link might help you.
http://help.sap.com/SAPHELP_NW04s/helpdata/EN/2e/96fd3f2d14e869e10000000a155106/content.htm
http://scn.sap.com/thread/3185196
Regards
Gagandeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.