JDBC adapter Stored Procedure error: parameter was not supplied

I am trying to call a Stored Procedure 'SP_FUSION_DEBMS_ADRC_MANAGE_CUSTOMER_ADDRESS' in our SQL Server database.
XI 3.0 Sp13
Jdbc Url: jdbc:microsoft:sqlserver://161.241.255.91:1433;databaseName=FusionDB;SelectMethod=Cursor
I am getting following error:
beging of error-----
Exception caught by adapter framework: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SP_FUSION_DEBMS_ADRC_MANAGE_CUSTOMER_ADDRESS' (structure 'Statement1'): java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Procedure 'SP_FUSION_DEBMS_ADRC_MANAGE_CUSTOMER_ADDRESS' expects parameter '@control_no', which was not supplied.
End of error-----
I have defined the field "control_no" in the interface defenition but I am not sure what causing this error, error message is mis-leading.
Please let me know if you have any hints/comments?
thanks,
Laxman molugu

Hi Laxman,
maybe you have checked this already...from the following help link....DECIMAL might be something you might want to try out....
http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/frameset.htm
<i>action=EXECUTE
Statements with this action result in a stored procedure being executed. The name of the element is interpreted as the name of the stored procedure in the database. If you use the optional <table> element, the value specified here is used as the stored procedure name. This enables you, for example, to define stored procedure names containing non-XML-compatible characters or characters that prevent them from being used in interface definitions in the Integration Builder/PCK.  If specified, <table> must be the first element in the block within <dbTableName>.
The elements within the stored procedure are interpreted as parameters. They can optionally have the attribute isInput=“1“ (input parameter) or isOutput=“1“ (output parameter) or both (INOUT parameter). If both attributes are missing, the element is interpreted as an input parameter. The parameter names must be identical to those of the stored procedure definition.
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 (input and output),CLOB (input and output), CURSOR (output; only in conjunction with the Oracle JDBC driver).</i>

Similar Messages

  • JDBC Receiver Adapter - Stored Procedure - Error Illegal Parameter

    Hi experts,
    I have a problem with the next scenario:
    HTTP <-> XI -> JDBC
    XI sends the following message to JDBC Adapter in mode Receiver to execute a Stored Procedure in a Informix database:
    <ns0:mt_messageTestSP xmlns:ns0="urn:test">
      <statement>
        <hastus_exporta_dia action="execute">
          <fechaEnvio isInput="true" type="DATE">11/17/2008</fechaEnvio>
        </hastus_exporta_dia>
      </statement>
    </ns0:mt_messageTestSP>
    Note: The format that accepts the SP Informix in the field of type date is: MM/dd/yyyy
    The SP is running on an Informix database, and the parameter (fechaEnvio) that receive the SP is of type DATE. At runtime the SP does not run, and in the Component Monitoring of the Runtime Workbench I see the following error:
    Unable to execute statement for table or stored procedure. 'hastus_exporta_dia' (Structure 'statement') due to java.lang.IllegalArgumentException
    Any idea?
    Thanks,
    Jose.

    Hi,
        Check the date format...once again...
    In oracle date format is DD/MM/YYYY but if the same is sent from PI its throwing the error....
    but when i send the format as DD-Mon-YYYY its accepting and showing as DD/MM/YYYY in oracle tables
    so just try fetching the date field from the informix database and see how it is get converted into..and based on that send the format
    HTH
    Rajesh

  • JDBC  Adapter Stored Procedure Query

    Hi All,
    I hav a scenario where i hav to call a Stored procedure. The stored procedure returns 3 result set objects (in other words, has 3 select statements). I had configured a JDBC Sender adapter which contains the Execute statement of the Stored Procedure. When i run this scenario, i'm not getting anything displayed on the SXMB_MONI. the adapter is in green color in the Adapter monitor.Can any one help me out in this regard?
    Thnx in Adv
    Anil

    Anil,
    Did you check your Data Type is created correctly ?
    And check the link, I have provided.
    And first try to retrieve the 1 resultset. And check is it coming to XI.
    Also check in the RWB->Message Monitoring->Select the Criteria->Audit Log.... You can check is there any error..
    Just look into this also-DataType definition for when using JDBC sender adapter
    configuring jdbc adapter with multiple tables
    Hope this helps,
    Regards,
    Moorthy

  • Sender JDBC Adapter - Stored procedure

    Hello all, I just read a lot of topics in this forum about this subject.
    I found two indications in contracdictions in the documentation :<a href="http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/frameset.htm">Configuring the Sender JDBC Adapter</a>
    1. Concerning Query SQL Statement
    You have the following options:
    &#9679;     Specify a valid SQL SELECT statement to select the data to be sent from the specified database.
    &#9679;     Specify an SQL EXECUTE statement to execute a stored procedure, which contains exactly one SELECT statement.
    2. Concerning Update SQL Statement :
    This is recommended if the data has not only been read, but also changed by a stored procedure entered under Query SQL Statement.
    It is ambigous, isn't it ?
    My question is simple :
    Does somebody already use Sender JDBC Adapter with Stored procedure as Select statement including many steps :
    - update actions on database
    - select query to return data to XI adapter
    (Update statement stay empty or with value <TEST>.
    To provide more information, I have a reference table to read. But this reference table must be updated by a stored procedure before being able to be read accordingly.
    So As I can't do both process with Sender Adapter (call a procedure and execute a select statement) => I want to include both actions (updates and select) in an alone stored procedure.
    Could I get wanted data as a resultset ?

    Hi,
    >><i>Update statement stay empty or with value <TEST>.</i>
    It should be <TEST> if you do not want an Update to happen.
    Regarding Sender JDBC adapter with stored procedures, which DB are you trying to access. Sender JDBC adapter does not support Oracle Stored Procedures as they return Cursors and Sender JDBC adapter can deal with only Resultset.
    As for executing both Update and Select in the SP, though I havent tried, this should surely be possible.
    Regards,
    Bhavesh

  • JDBC Adapter - Stored procedure

    We r using JDBC adapter to do some DML operations on SQL DB tables. We got some errors.
    Now we have decided to use a stored procedure for the same.
    Any ideas on this. Any source is appreciated.
    -Naveen.

    Hi Naveen,
    First refer this blog-
    http://help.sap.com/saphelp_nw04/helpdata/en/45/023c41325fa831e10000000a1550b0/frameset.htm
    /people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures
    Hope this helps,
    Regards,
    Moorthy

  • JDBC Adapter stored procedure call

    Hi All,
    I have a requirement of calling stored procedure through Reciever JDBC Adapter, where in multiple records are to be provided as input at a time, also multiple records should be recieved at a time.
    Can any one tell me how the structure of data type should be.
    Thank in Advance,
    With Regards,
    Zafar Ali

    Hello Ali,
                     At structure level, the root node should set to  0..unbound as we intend to process multiple records, if the records are having same structure.
    [Jdbc scenario|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417800)ID1319542550DB11163633639799272972End?blog=/pub/wlg/1772]
    Regards,
    prasanna

  • Procedure 'abc' expects parameter '@def', which was not supplied

    Hi ,
    I am doing a ABAP Proxy to PI to JDBC Stored Procedure synchronous scenario but getting an error as :
    Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'db.abc' (structure 'Statement'): java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Procedure 'abc' expects parameter '@def', which was not supplied.
    I have a element by name def in the data type.
    Any ideas why this error is coming up?
    Thanks,
    Anu

    use logsqlstatement in receiver JDBC, it will give you exact sql PI is firing on DB.
    using that you can adjust your DT structure to form the right sql.

  • Procedure or function 'sp_MSupd_dboItems' expects parameter '@bitmap', which was not supplied.

    Hello,
    when i view replication monitor  i get the following error:
    Procedure or function 'sp_MSupd_dboItems' expects parameter '@bitmap', which was not supplied. (Source: MSSQLServer, Error number: 201)
    also, in what database the stored procedure 'sp_MSupd_dboItems' found
    Can someone help with this error please

    I know I am very late to the party.. However, I would like to provide a solution to this problem.  I have seen this problem lately and I have fixed it.
    This problem occurs when you are replicating the data over to the same target database from multiple sources.
    Let me explain briefly with an example.
    I have a table namely 'vijay.dbo.test_vj' on ServerA and replicating it over to ServerC with the same schema as 'vijay.dbo.test_vj' at the target database.
    I have a table namely 'vijay.dbo.test_vj' on ServerB and replicating it over to ServerC with a different schema as 'vijay.srvrB.test_vj' at the target database.
    So, here in this case… the target database is same but the target tables are different (i.e., schema is different).  The problem here is that the replication stored procedures (sp_MSins*, sp_MSupd* & sp_MSdel*) that were created by default at the target
    database are being used for both the replications of 'srvrB' and 'dbo' schema tables.
    When you configure this type of replication, you should give custom names to the replication stored procedures (in the article properties) to allow the Replication to create the stored procedures separately for each table at the target database.
    You need to reconfigure one of those replications (either the one for ServerA to ServerC or the one for ServerB to ServerC)  by giving a separate names to the replication procedures.  
    This change will fix your problem.
    Regards, Vijay Pidikiti

  • (rsInternalError) Procedure or function 'CreateSession' expects parameter '@SiteZone', which was not supplied.

    Hi,
    Does the (Procedure or function CreateSession expects parameter @SiteZone, which was not supplied.)
    error require a complete reconfiguration of reporting services ?
    Regards

    Hi KeeperHill,
    The error message” Procedure or function 'CreateSession' expects parameter '@SiteZone', which was not supplied.” means that there is a procedure or function named CreateSession, it expects a parameter(@SiteZone) but not given.
    Based on my research, the problem can be caused by the two reasons:
    The use of null value for parameter @SiteZone, we should actually use DBNull.Value.
    Forgotten to put the following command in your code:
    cmd.CommandType = CommandType.StoredProcedure;
    For more details, please refer to the similar thread below:
    http://stackoverflow.com/questions/368642/procedure-expects-parameter-which-was-not-supplied
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • In my integration directory adapter engine parameter was not appear forJ2EE

    In my integration directory adapter engine parameter was not appear forJ2EE engine.It appears for IDOC and HTTP Adapters.
    Please clarify ASAP..
    Thanks

    Hi Chiru,
    You mean to say that, In ur Communication channels based on J2EE Engine like File, RFC,etc u are not able to see Adapter Engine Type Parameter Value as Integration Server.
    Reimport SAP BASIS Software Component once again in to repository and restart the Application Server and check.
    Regards,
    Sudharshan

  • JDBC(using stored procedure) to RFC Scenario

    Hi
    I am doing JDBC(using stored procedure) to RFC Scenario
    While running the scenario i am getting the following error
    Database-level error reported by JDBC driver while executing statement 'EXECUTE EMU.EXTRACTRECON'. The JDBC driver returned the following error message: 'com.ibm.db2.jcc.a.SqlException: [ibm][db2][jcc][10100][10910] java.sql.Statement.executeQuery() was called but no result set was returned. Use java.sql.Statement.executeUpdate() for non-queries.'. For details, contact your database server vendor.
    Can anybody sortout my problem
    Regards
    sunilreddy

    Hi,
    i am doing the scenario file to rfc scenario.
    when i run my scenario xi system is picking the data from file system
    but rfc is not accepting the data.this is the error i am getting
    Delivery of the message to the application using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Exception thrown in method process. The transaction is marked for rollback.: com.sap.engine.services.ejb.exceptions.BaseTransactionRolledbackLocalException: Exception thrown in method process. The transaction is marked for rollback..
    so please any one give me the solution for that

  • ITunes 9.2.1.5. will not open - ERROR "QuickTime was not found"

    After the last update I get "QuickTime was not found" Error I have uninstalled and re-installed itunes 9.2.1.5. several times but the problem persists. I have been able to open iTunes when re-installed but when syncing to the iPhone 4 even the unchecked music syncs. when I reboot I cannot open iTunes again(ERROR "QuickTime was not found")
    Someone please help. I am running Windows 7 Ultimate on a Lenovo R500
    Thanks In Advance.

    After the last update I get "QuickTime was not found" Error I have uninstalled and re-installed itunes 9.2.1.5. several times but the problem persists

  • JSP is not responding ;RW-50016: Error: - {0} was not created:

    hello
    I met two questions when the post-install chek
    first question:
    checking URL = http://xxx.com:8000/OA_HTML/jtfTestCookie.jsp
    JSP is not responding, waiting 15 seconds and retesting.
    second question:
    checking URL = http://xxx.com:8000/OA_HTML/AppsLogin
    RW-50016: Error: - {0} was not created:
    File = {1}
    thanks for help

    But you have posted in "Technology - LCM: 11i Install/Upgrade" forum. Anyway, please see these docs.
    On R 12.1.1 Fresh Installation, POST RAPIDWIZ INSTALL CHECKS FAILS , Rapidwiz Ends With Error Jsp, Virtual Directory And Login Page Does Not Work RW-50016: Error: - {0} was not created: [ID 850264.1]
    Rapidwiz RW-50016: Error: - {0} was not created [ID 559402.1]
    R12 Rapidwiz Fails on Post Installation Tasks : RW-50016, Timed Out( 100000 ) [ID 437152.1]
    R12 Login Issue on Target After Cloning ,Fresh Install Or Upgrade [ID 435550.1]
    Thanks,
    Hussein

  • Error msg- ME53N tocde "company was not supplied in Function module inte -

    Hi
    When user is trying to open ME53N tcode he is getting folowing error message,
    "company was not supplied in Function module interface"
    Kindly help, how to avoid this error message.
    Thank You in advance.
    WR,
    Nilesh

    We observed this error comes when you had previously opened any PO which now has missing data or assignment like ..plant deactivated..plant CC assignment  etc.
    Work around, Open any Good PO in chnage mode me22n or create any test PO in me21n. And then try to execute me23n.
    Regards,
    Nilesh Hiwale

  • ME52n - Error Message - Company was not supplied in function module.

    Hello,
    It is giving error Message - "Company was not supplied in function module" in the initial screen of ME52n and ME53n.
    Please help.
    Thanks,
    Piyush

    Hi Vadi,
    when ever you open me52n or me53n ..system by default opnes/shows your last created/ opned PR.
    so if that last created / changed PR is having wrong/faulty data (missing assignment/ plat stolocation deleted etc) ..system will not be able to fetch respective data....thats why you will get above eror message...
    Solution : Create any smaple PR in ME51n/ or  try to chnage  any existing PR.. and then save it.
    try this 1 or 2 times.
    Hope so this will help.
    Regards,
    Nilesh

Maybe you are looking for

  • QuickSizer BI

    hello Gurus I want to do the sizing with the quick sizer from marketplace, but i don t have clearly the terms, please send me info about sizing in BI, the help indicates: <b>Business Intelligence SAP NetWeaver Business Intelligence      Find informat

  • Icon Woes

    Another weird thing as the result of my tinkering. A friend from a discussion board, even more of a novice than I, was asking about custom icons. A few people recommended CandyBar to him, but I thought I'd experiment on his behalf. Following the inst

  • How do I save, then view PDF files on the iPad?

    I am an architect and want to be able to use the iPad to read plans, etc.

  • Is Apple Not Going to Release an Unlocked Version of the iPhone 5 in the USA?

    I am wondering if Apple is simply not going to release an unlocked version of the iPhone 5 in the USA as we are already in November and no news have been released. If I purchase a no commitment iPhone 5 with Verizon, will it be unlocked for all the c

  • Moved iPhoto Library but instead it copied?

    On the same network, I've a MBA, an iMac, and a backup harddrive dedicated to just photos. The iMac's iPhoto Library is stored on the backup harddrive. I wanted to do the same with the MBA's iPhoto Library. Read Help on how to move; closed iPhoto; op