JDBC adapter configuration problem while design

Hi,
I am connecting SAP TO THIRD PARTY using RFC and JDBC,which is using a stored procedure.
I have mapped in such a way that
table = is mapped with the stored procedure name.
isinput = true.
type = char.
But If i look into the monitor its showing a problem with DATATYPE,which i have mentioned is char.The metioned below is log.
Can any one help me,what changes I have to make.
com.sap.aii.af.ra.ms.api.DeliveryException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'STORED_PROCEDURE_NAME' (structure 'Statement'): java.sql.SQLException: ERROR: Invalid XML document format for stored procedure: 'type="<SQL-type>"' attribute is missing for element 'MaterialNumber' (Setting a SQL-type (e.g. INTEGER, CHAR, DATE etc.) is mandatory !)</SAP:AdditionalText>
  <SAP:ApplicationFaultMessage namespace="" />
With Regards,
KishoreJ.

hi kishore,
<i>Invalid XML document format for stored procedure: 'type="<SQL-type>"' attribute is missing for element 'MaterialNumber'</i>
As the error implies, you have missed defining the TYPE attribute while for the field MATERIAL NUMBER. Assign a valid type to it , and it should work fine.
From the online help,
<i>The attribute type=<SQL-Datatype> , which describes the valid SQL data type, is mandatory for all parameter types (IN, OUT, INOUT).</i>
<i>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>
Also, check this blog for any help,
/people/sriram.vasudevan3/blog/2005/02/14/calling-stored-procs-in-maxdb-using-sap-xi
Regards,
Bhavesh

Similar Messages

  • JDBC Adapter configuration not initialized:null

    i
    we have a synchronous scenario with the following adapters , RFC <> XI <> JDBC.
    1.JDBC Driver installation is done
    2.RFC Destination type t is done in sap(sender) system.
    3.checking the jdbc in VA is done
    while running it is giving the following error.
    com.sap.aii.af.ra.ms.api.RecoverableException: JDBC Adapter configuration not initialized: null
    where we have to initialize JDBC Adapter configuration
    Thanks in advance
    Prasad Nemalikanti

    hi prasad
    There are 2 jar files that may be missing from your SQL JDBC driver --> msbase.jar and msutil.jar, I think once you add these to the driver it might work.
    also check  the driver string for the SQL  driver 2 parameters
    i.e 'com.microsoft.jdbc.sqlserver.SQLServerDriver' now becomes
    'com.microsoft.sqlserver.jdbc.SQLServerDriver'
    This will solve your problem
    follow this link
    Re: MS SQL Server jdbc Driver installation on XI .
    XI JDBC Adapter using stored procedures
    thanks
    sandeep
    Reward points if helpful

  • JDBC Adapter configuration not initialized Error

    Hi,
    I am doing a RFC to JDBC scenario in PI 7.1. I am getting the following error:
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: JDBC Adapter configuration not initialized: null
    In communication channel monitoring, it shows the following,
    Error when attempting to get processing resources: com.sap.aii.af.lib.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection to URL '<URL>': SAPClassNotFoundException: com.ibm.as400.access.AS400JDBCDriver
    The JDBC parameters for driver & connection are correct only.
    Is the problem related to deployment of JDBC driver or something else? How can i ensure that the JDBC driver deployment is succesful in PI 7.1?
    Edited by: senthil nathan on Mar 25, 2009 10:57 AM

    Hi Senthil,
    Your drivers are not installed properly. Please re-deploy them through SDM.
    Regards
    joel

  • JDBC Adapter configuration not initialized

    Hi,
        I have tested one scenario for WebService to JDBC. Integration engine shows success message.But i got some error in Adapter engine. It shows "JDBC Adapter configuration not initialized".
    So, plz anyone give the solution for this problem.
    Regards
    Vijay

    Hi,
    1.Check whether the JDBCAdapter is Activated.
    2.Check if any firewalls are there frm client side and open
    3.Check the password used to connect the Database is correct one.
    If all these are fine..do the complete cache refresh once.
    Please award marks if found useful.
    Thanks
    Hamja

  • RFC to JDBC JDBC Adapter configuration not initialized: null

    Hi Experts,
    My scenario is Proxy to JDBC scenario. I got this problem when executing the interface I got this problem all of a sudden where previously it was working fine.
    there is no problem with the User id or password.
    com.sap.aii.af.ra.ms.api.RecoverableException: JDBC Adapter configuration not initialized: null
    let me know how to solve this.
    Thanks,
    Prem.

    I got this problem when executing the interface I got this problem all of a sudden where previously it was working fine.
    there is no problem with the User id or password.
    com.sap.aii.af.ra.ms.api.RecoverableException: JDBC Adapter configuration not initialized: null
    Can you ensure that Drivers are properly installed and no problem with them?
    Also proper connection parameters are maintained in the JDBC receiver Channel.
    Regards,
    Abhishek.

  • Problem while designing an RPD

    Hi Experts,
    I have a problem while designing a chat.
    Basically I have a pivot table with X axis as calendar week ( 9 weekend dates) and Y axis as value a A
    Value of A in Y Axis
    X axis as : 2/6/2010, 1/30/2010, 1/23/2010, 1/16/2010, 1/9/2010, 1/2/2010, 12/26/2009
    Now my customer wants percentage value of
    1. Current week verses last week i.e value of 2/6/2010 with 1/30/2010
    2. Current week verses last month 1st week.2/6/2010 with 1/2/2010
    It will be great if someone can give me an idea how to design this ( might be in RPD/Answers/Chat/Pivot table)
    Someone suggested me
    It will be easy to do at RPD. YOu have to create metrics based using time series functions. Use Ago() function and calculate WeekAgo and Month Ago metrics. "
    But how? Could you please explain me in detail?
    I appreciate all your help
    Regards
    Jan

    There is a solution in answers, but not bullet proof,. But give a shot if you like it
    assuming you have date column, metric column( like quantity sold) in your report,.
    1. Add metric column to the report again and change the column formula to following and check this table view. Which gives you prior week value in every row.
    msum(Sales."Quantity Sold",2)-Sales."Quantity Sold"
    2. then add metric column again to report, change the folmula like following
    ((msum(Sales."Quantity Sold",2)-Sales."Quantity Sold" )* 100) / Sales."Quantity Sold"
    make you are closing braces correctly. above formula give you % change from last week to this week. Then use this new column in chart to show values.
    You can try same logic for Month Ago week value. but you need to change Msum function to get 4 weeks before value.
    liek this.... msum(Sales."Quantity Sold",5)-msum(Sales."Quantity Sold",4) will give 4 rows back value.
    for all this you report is sorted by date.

  • Error in JDBC Adapter Configuration....

    Hi,
      My scenario is like this FTP->XI->Oracle Database.
    The problem is that the files are not getting posted to the database though it is running well.
    In XI receiver comm channel in JDBC adapter, I have provided the Connection path as   jdbc:oracle:thin:@esealmw275.al.sw.ericsson.se:1521:S14. Whereas in channel monitoring it is taking jdbc:oracle:THIN:@esealmw275.al.sw.ericsson.se:1521:S14. Please note it is taking THIN as in caps.
    Can anybody suggest me is this the proposed error for that, if it is so, then pls provide me the suitable solution for that.
    BR
    Soumya

    Hi Soumya,
    Have a look at ths blog...
    <a href="/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 to JDBC Adapter using SAP XI 3.0</a> by Anirban Ghatak
    Also have a look at this wiki
    https://wiki.sdn.sap.com/wiki/display/XI/JDBCTOJDBC
    Regards
    Santi
    <a href="Remember to set the thread to solved when you have received a solution to set the thread to solved when you have received a solution</a>
    Where There is a <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/weblogs?blog=/weblogs/topic/16">blog</a> there is a Way.

  • Synchronus file to jdbc Adapter configuration.

    Hi ,
    I want to configure for Synchronus File to Jdbc Adapter.
    Can anyone tell me how to do it.
    hemant

    Hi,
    In this case you would definitely need one file sender and one jdbc receiver adapter.
    Create data taype and message type for file sender ,then create message interface for this message type.
    Then create datatype for receiver i.e. jdbc.
    For jdbc receiver there is one standard format as below:
    <root>
      <StatementName1>
    <dbTableName action=”UPDATE” | “UPDATE_INSERT”>
        <table>realDbTableName</table>
    <access>
    <col1>val1</col1>
    <col2>val2new</col2>
    </access>
    <key1>
    <col2>val2old</col2>
    <col4>val4</col4>
    </key1>
    </dbTableName>
    </StatementName1>
    Then create message type and message interface for this message type.This interface will be inbound and synchronous.
    Map your file message to jdbc receiver message.
    Then map interfaces.
    In ID create configuration scenario,assign file sending and jdbc receiver business system to this scenario.
    Then create file sender and jdbc receiver communication channel.Create receiver determination,sender agreement and receiver agreement.
    But if you want file synchronous scenario then,you need to use BPM for this.
    Thanks.

  • JDBC Adapter Configuration

    Hello,
    In JDBC Adapter, is there any other way to fetch the data other than select query?
    Our Scenario is like Transferring Project Information (PS Module) from Primavera to SAP. We fetch data from Primavera Through JDBC adapter with writing a select query. And we also give poll interval so after every pollinterval JDBC adapter again run the query and send it to integration Engine.
    But our requirement is once the project query executed next time only updated record transfer to SAP. IS XI gives this kind of feature?
    Regards,
    Gaurav Jain

    Hi Giridhar,
    Check out this
    http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm
    also check this interesting blog by Bhavesh
    /people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
    /people/saravanakumar.kuppusamy2/blog/2005/01/19/rdbms-system-integration-using-xi-30-jdbc-senderreceiver-adapter
    Thanks,
    Prakash
    Message was edited by: Prakash Arunachalam

  • TP CONFIGURATION PROBLEM ( While creating a View Controller in Component )

    Hi All,
         I have a problem in TP Config while creating a View Controller in a component i am getting this Exception 
        Parameter lsm(&1) not in version 0004(&2) of tp configuration .
        This Exception Raised from this Function Module : RS_ACCESS_PERMISSION
    Any on can please help me to come out of this issue.
    Regards And Thank you,
    Nirmala.K

    Sounds like you should be using one of the Apps forums, perhaps {forum:id=210}

  • Sender JDBC Adapter - Connectivity Problems

    I installed JDBC Driver for Oracle 9 ojdbc14.jar on the J2EE Engine as per the instructions in the How To Guide. I updated the tnsnames.ora on the server appropriately. Also I could connect to Oracle database from the server using sqlplus. I configured my Sender Adapter with the following parameters:
    JDBC Driver:oracle.jdbc.driver.OracleDriver
    Connection:jdbc:oracle:thin:@ORACLEDEV
    I get the following error:
    Sender Adapter v2108 for Party '', Service 'ORACLEDEV_BS':
    Configured at 2006-03-09 17:24:42 EST
    History:
    - 2006-03-09 17:24:42 EST: Retry interval started. Length: 60.000 s
    - 2006-03-09 17:24:42 EST: Error: Accessing database connection 'jdbc:oracle:thin:@ORACLEDEV' failed: DriverManagerException: Cannot establish connection to URL 'jdbc:oracle:thin:@ORACLEDEV': SQLException: Io exception: SO Exception was generated
    - 2006-03-09 17:24:42 EST: Processing started
    Help is highly appreciated.
    Mike

    Hi Bhavesh/Naveen,
    You are correct.
    Mike, the correct settings are as follows
    JDBC Driver: oracle.jdbc.driver.OracleDriver
    Connection: jdbc:oracle:thin:@<oracle server>:<port>:XDB<sid>
    Username: <oraccle username>
    Password: <oracle password
    Rgds,
    Sam raju

  • Soap2JDBC : Problem while designing data structure for Query

    Hi ALL,
    I am doing webservices(SOAP) to JDBC(syn) scenario without using BPM.We are sending the request from portal and getting the response from database.
    I have lot of Queries.I am going to design based on the database Query.Please find the following Query.
    SELECT ALL DBTEST.REQMASTBL.RQTR,
    DBTEST.REQMASTBL.RQN_NO,
    DBTEST.REQMASTBL.RQN_DATE,
    DBTEST.REQMASTBL.APPROVE_BY,
    TO_NUMBER(DBTEST.REQMASTBL.RQN_AMT), DBTEST.REQMASTBL.RQN_TYPE,
    DBTEST.REQMASTBL.ROS_DATE,
    DBTEST.REQMASTBL.RQN_STATUS
    FROM DBTEST.REQMASTBL
    WHERE DBTEST.REQMASTBL.RQN_STATUS='AP'  AND
    DBTEST.REQMASTBL.APPROVE_BY LIKE UPPER('GM%') AND DBTEST.REQMASTBL.RQTR='GM211' AND DBTEST.REQMASTBL.RQN_DATE BETWEEN (:frmDate) AND (:toDate) ORDER BY  DBTEST.REQMASTBL.RQN_NO
    All most all the queries having the same functionality.Could anyone please guide me how to design and how to map the source and the target fields using the Boolean(and,or.like,between) functions.
    Now the problem is How to design the data stucture in Integration Repository using this query and how to extract these(and,or.like,between) functions.
    urgent response is highly appreciated
    rgds,
    Veena

    Hi Gurus
    Iam getting the error like this
    HTTP error:could not post file
    '/XISOAPAdapter/MessageServlet?channel=:BS_SS:soap_communicationchannel&amp;version=3.0&amp;Sender.service=BS_SS&amp;Interface=http%3A%2F%2Fsoap2db1%5Eportalsoap_outbound_messinterface' on server
    this is the message iam getting from Portal side.Here iam testing using altova xml spy tool.
    in this context 
    BS_SS      is my sender business system
    soap_communicationchannel  i   s my sender communication channel
    Sender.service=BS_SS      (again my sender business system)
    portalsoap_outbound_messinterface       is my message interface
    I badly required the help from experts.
    Regards
    Veena

  • URM: filesystem adapter configuration problem

    Hi!
    Has somebody been able to configure the URM filesystem adapter on Linux? I have followed all the instructions and try to configure the adapter using the administration tool, but I get stuck when creating the search definition. Page 21, point 10 states: select the search targets from FileSystem Repository Cabinets/Folders. What is this, where do I see that? Whatever I try, I do not get any search targets that I can create equations for. The example has "SrcGrp" and "TestGroup". Where do they come from?
    Second, is the only place to configure the folders to be coupled, the URL mappings section in Filesystem configuration? This part is marked optional, but I do not see any other place where I can indicate what directory is to be used.
    Any help is highly appreciated.
    Regards,
    Jeroen van Veldhuizen
    Redora

    Is this in the eclipse tooling? There is a known problem with the tooling in that the HA schema was not included, this is fixed in PS5. For now you can work around it by building/deploying the application manually from the command line.
    andy

  • Problem while designing

    Hi All
    I am using the interactive form, in that I have designed three body pages.
    I am facing the problem of data overflow, the content area is exceeded the design data limits.
    Thats why I am not able to put even a single text box now.
    How to do it.Even I dont know how to use Second master page.
    I mean setting the properties of subform to fill the next page or content area.
    Please give me any solution.Urgent!!!
    Thanks in Advance
    Yogesh

    Hi Yogesh,
    Just quick check, have you made your body page flowed?
    You can do it in Ojject Pallette --> Subform --> Content and then check the Allow Page Breaks within Content.
    If you want to use more than 1 Master Page then, right click on (Master Pages) and insert a new master page. Then goto the SubForm you want to place in this Master Page. In the Object pallette --> Pagenation --> Place --> On Page select the page where you want to place the Body page.
    Hope it will help you.
    With regards,
    Amit Rai

  • Problem while designing query please help

    Hi all,
    I have to query to find No of open cases, No of closed cases,
    Average of open cases, Average age of closed cases,
    Maximum of closed cases for a particulat Current assigne(char).
    my desired output is as follows.
    CurAssigne   Noofopencases   Noofclosed cases  Avgage(opencases) Max(open)
    CurAssigne1       10                      20                     8                              9
    CurAssigne1       18                      22                     9                              10
    My cube is consists of.
    4 Dimensions & 4 key figures
    4Dimensions are listed below.
    Business Partner{currentassigne, previousassigne,acmanager}
    createdon{createdonmonth,createdonday,createdtime}
    closedon{closedmonth,closedday,closedtime}
    Status{Latest case status-(2 status are available for each case - open,close)}
    above the objects between {} are chars.
    4 keys are listed below.
    no of cases.
    age
    first response time
    research time.
    Please help me to design this query friends..
    It's very urgent friends please help me.

    Hi,
    Please share your system configuration on which you are trying to install Ps CS6.
    Regards,
    Ashutosh
    Ps Installer QE

Maybe you are looking for