Address the problems that occur when you are trying to use SAP jConnect
and stored procedures.
RPC Returns Fewer Output Parameters Than Registered
If you call CallableStatement.registerOutParam for more parameters than you have declared as OUTPUT parameters in the stored procedure, an error occurs.
Fetch/State Error
Fetch/State error occurs if a query does not return row data.