on 12-04-2006 8:41 PM
Hi Gurus,
I am trying to execute an Oracle stored procedure from XI which has parameters of type VARCHAR2. How to specify these data types in data type in XI?
I am getting the below message when I execute the stored procedure from XI with data types CHAR/VARCHAR.
com.sap.aii.af.ra.ms.api.DeliveryException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'TEST_PACKAGE.MAIN ' (structure 'statement'): java.sql.SQLException: ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'MAIN' ORA-06550: line 1, column 7: PL/SQL: Statement ignored
Please let me know.
Thanks
Kalyan
For stored procedure, all the parameters (IN and OUT) need to pass, even though there is no values mapped to the OUT parameters.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Kalyan,
make sure that you have assigned the TYPE attribute to your field in the datatype.
I think the problem is not bevuase of VARVCHAR issue, but because of the wrong number of attributes.
<i>wrong number or types of arguments in call</i>
Also, make sure that the argument passed is in CAPTIALS as VARHCAR.
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 kalyan,
i am also facing a similar issue. the oracle stored procedure has three parameters i.e, two input paramters and 1 output paramter.
I am passing all the parameters in the target structure, but i still get the same error.
i have use isInput = "true" for two of the input paramters and isOutput = "true" for my output paramter. For the output parameter, I am sending it blank.
Please suggest.
Thanks.
Krishnan
hi
you can define string type for varchar2, i think you'd better checking number of arguments, something like that.
thanks
venjamin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.