JDBC Adapter throws error for Null Data

Hi All,
          I am running a interface Proxy to JDBC. But in case if proxy has no new data, the message which goes to the database is:
<b>  <?xml version="1.0" encoding="utf-8" ?>
- <ns1:MT_Material xmlns:ns1="urn:sce-com:xi:fi:UnitEstimateData">
- <Insert_Material>
- <dbTableName action="INSERT">
  <table>SCEI_UE_MATERIALS</table>
  </dbTableName>
  </Insert_Material>
  </ns1:MT_Material></b>
and I get the error in RWB as <b>Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SCEI_UE_MATERIALS' (structure 'Insert_Material'): java.sql.SQLException: FATAL ERROR document format in structure 'Insert_Material': expected 'access' tag(s) not found</b>.
Is there a way so that the JDBC adapter doesn't throw any error if there is no access node??
Pls advice...
XIer

Xier,
Why it will create multiple Insert_Material nodes? Use  like this
Mandatory segment ->Remove context->Collapse Context ---> Exists -
>insert_material.
Try the above and let me know if it doesn't helps!!
raj.

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

  • Database.LoadDataSet() method throwing error while retriving data from IBM DB2 database

    Database.LoadDataSet() method is throwing error during retriving data from empty table of IBM DB2 database. It is giving error code "SQL0100W".
    “Error Message: 0NO_DATA [02000] [IBM] [DB2 / NT] SQL0100W FETCH, whether there is a line to be UPDATE or DELETE, or of the query result is an empty table .
    SQLSTATE = 02000”

    Hello SharayuPandit,
    For issues regarding DB2, i suggest that you could post it to DB2 related forum:
    https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000000842
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • 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.

  • IDoc Adapter throws error

    We are trying to send data to SAPR/3 47 IDES using IDoc Adapter.
    the data is sent to XI from SQL database thro JDBC adapter and then to R/3 thro IDoc adapter.
    All this is in Asynchronous mode and at no point we chose synchronous (IDoc adapter does not suppost Asynchronous process right).
    But we are getting the following error:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SAP="http://sap.com/xi/XI/Message/30">
    - <SOAP:Header>
    - <SAP:Main xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" versionMajor="003" versionMinor="000" SOAP:mustUnderstand="1" wsu:Id="wsuid-main-92ABE13F5C59AB7FE10000000A1551F7">
      <SAP:MessageClass>SystemError</SAP:MessageClass>
      <SAP:ProcessingMode>synchronous</SAP:ProcessingMode>
      <SAP:MessageId>B7685EB2-42F1-554B-80CC-6ADFC86C7975</SAP:MessageId>
      <SAP:RefToMessageId>35A42550-81F9-11D9-AFC7-00C09F450580</SAP:RefToMessageId>
      <SAP:TimeSent>2005-02-18T22:05:33Z</SAP:TimeSent>
    - <SAP:Sender>
      <SAP:Service>S70_812</SAP:Service>
      <SAP:Interface namespace="urn:sap-com:document:sap:idoc:messages">DEBMAS.DEBMAS04</SAP:Interface>
      </SAP:Sender>
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_BE_NOT_SUPP</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Only asynchronous processing supported for IDoc adapter outbound processing</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    We are not sure where from this synchronous is being picked?
    Please advise.
    Thanks,
    Bhaskar and Anil

    In the Processing Parameters section of the JDBC adapter, make sure you have Exactly Once (Asynchronous) selected.

  • JDBC Adapter delivering error

    Dear All,
    When we send messages using JDBC, if any of them with error data and could not be executed successfully, the one appears in the status of 'delivering' for a long time, and all the following messages to be sent using JDBC will be blocked in the same status too, even if the connections are to the different target database. We shall always see the phenomena in RTW, until messages are in the system error for a very long time.  We have set the retrying papameter with 1 in JDBC channel. Any answer will be appreciated.
    Regards,
    JM Z.

    james,
    Any messge that has an error in the adapter engine will be restarted / retired 3 times at an interval of 5 minutes. In your case I guess you do not want the restart . To change this parameter , take a look at this blog,
    /people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically
    <i>We can achieve this by changing the retry count used by the Adapter Engine, by default its set to 3 times, 5 minutes apart. This count can be changed in Visual Admin->server->services-> SAP XI Adapter: XI.
    Here  change the number Retries parameter from 3 to 10 and change the retry retryInterval to around 10minutes. For these configuration changes to be picked up, restart SAP XI Adapter: XI.</i>
    Is this what you are looking for?
    Regards,
    Bhavesh

  • JDBC Adapter Level Error

    Hi Guys,
    i am getting below error at JDBC Adapter Level.
    Can any one please help me on how to resolve this issue.
    JDBC Message processing failed, due to Channel has reached maximum concurrency (5,000 concurrent messages) and no free resource found within 5,000 milliseconds; increase the maximum concurrency level
    MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: Channel has reached maximum concurrency (5,000 concurrent messages) and no free resource found within 5,000 milliseconds; increase the maximum concurrency level
    Adapter Framework caught exception: Channel has reached maximum concurrency (5,000 concurrent messages) and no free resource found within 5,000 milliseconds; increase the maximum concurrency level
    Delivering the message to the application using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Channel has reached maximum concurrency (5,000 concurrent messages) and no free resource found within 5,000 milliseconds; increase the maximum concurrency level. Setting message to status failed.
    Thanks,
    Siva.

    Hi Raj,
      Thanks for ur help.
    created 4 JDBC communication channels in ID. This error i got in Production system. now i can not change in production environment. can u pls give me some other solution..?
    how i will set max concurency value as 3 ? and where i will set these parameter ..? can u pls send me step by step procedure pls...
    Regards,
    Siva.

  • Jdbc adapter: DeliveryException error

    Hello
    I have the following synchronous scenario: RFC <-> JDBC Adapter.
    The RFC is executed many times in a job and 99% of them works well, but some of them I receive the error:
    Returning synchronous error notification to calling application: com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api.DeliveryException.
    Can anyone help me ?
    Thanks
    Vitor Zaninotto

    You are getting error whenever there is a connection refresh between SAP R/3 and XI. you can resolve it by following way.
    Actually the RFC sender channel will try to reconnect to the SAP Gateway. If this reconnect fails, the next reconnect attempt is made after a waiting period of 1 second. If the next reconnect fails also, the waiting period is doubled and so on. This will lead to a reconnect timing of 1, 2, 4, 8, ..., 3600 seconds. Saving recources is the aim of this technique.
                  Once the maximum time is reached, the RFC channel does not stop connecting. It continues to try connecting indefinitely. The waiting period is a constant interval of the maximum time that is set, i.e. after every 3600ms.
                  If not configured, the maximum waiting time is defined in the middleware layer of SAP JCO, which is 3600 seconds. But this maximum time can be configured for each RFC sender channel in the XI Integration Directory. Open the Advanced Mode for the RFC Server Parameter.
    Before SP 12: Add a line to the table and use 'jco.server.max_startup_delay' as name and the maximum number of seconds to wait between reconnect attempts as value.
    Since SP 12: Enter the maximum number of seconds to wait between reconnect attempts in the field Maximum Reconnect Delay.
    Gaurav Jain
    Reward Points if answer is helpful

  • How do I check for null date entires using custom JScript on a SharePoint NewForm.aspx?

    Hi,
    I have the below JScript:
    /*Function to convert the US Date format to UK date format */
    function parseDate(input) {
    var parts = input.split('/');
    // new Date(year, month [, date [, hours[, minutes[, seconds[, ms]]]]])
    return new Date(parts[2], parts[1]-1, parts[0]); // months are 0-based
    /*Function to check if end date is before the start date */
    function checkDates(){
    var sd = parseDate($("input[title='From']").val());
    var ed = parseDate($("input[title='Until']").val());
    if(sd > ed) {
    alert("Please check From and Until Date");
    $("input[value$='Save']").attr('disabled', true); //hide save button
    else
    $("input[value$='Save']").attr('disabled', false); //show save button
    The above works fine for checking sd > ed but I can't seem to check for null's, I have attempted the below which doesn't work:
    /*Function to convert the US Date format to UK date format */
    function parseDate(input) {
    var parts = input.split('/');
    // new Date(year, month [, date [, hours[, minutes[, seconds[, ms]]]]])
    return new Date(parts[2], parts[1]-1, parts[0]); // months are 0-based
    /*Function to check if end date is before the start date */
    function checkDates(){
    var sd = parseDate($("input[title='From']").val());
    var ed = parseDate($("input[title='Until']").val());
    if( (sd > ed) || (sd == null) || (ed == Null) ) {
    alert("Please check From and Until Date");
    $("input[value$='Save']").attr('disabled', true); //hide save button
    else
    $("input[value$='Save']").attr('disabled', false); //show save button
    Any help appreciated.

    Hi aspnet-scotland,
    Please post ASP.NET related questions in
    ASP.NET forums where you could receive better responses.
    Thanks for your understanding.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Regarding sql function error  for Hijri date to Gregorian date

    Hi ,
    I want to convert Hijri date format into Gregorian date format . i write the script with  sql function  like this
    $Hijri_Date = '16/04/1428';
    $Gregorian_Date = sql('DS_REPO','SELECT CONVERT(DATE,[$Hijri_Date],131)');
    print($Gregorian_Date);
    here $Hijri_Date data type is varchar and $Gregorian_Date data type is date.
    but  I am getting error like
    7868     5812     DBS-070401     10/26/2010 10:37:18 PM     |Session Job_Hijradata_Conversion
    7868     5812     DBS-070401     10/26/2010 10:37:18 PM     ODBC data source <UIPL-LAP-0013\SQLEXPRESS> error message for operation <SQLExecute>: <[Microsoft][SQL Server Native Client
    7868     5812     DBS-070401     10/26/2010 10:37:18 PM     10.0][SQL Server]Explicit conversion from data type int to date is not allowed.>.
    7868     5812     RUN-050304     10/26/2010 10:37:18 PM     |Session Job_Hijradata_Conversion
    7868     5812     RUN-050304     10/26/2010 10:37:18 PM     Function call <sql ( DS_REPO, SELECT CONVERT(DATE,16/04/1428,131) ) > failed, due to error <70401>: <ODBC data source
    7868     5812     RUN-050304     10/26/2010 10:37:18 PM     <UIPL-LAP-0013\SQLEXPRESS> error message for operation <SQLExecute>: <[Microsoft][SQL Server Native Client 10.0][SQL
    7868     5812     RUN-050304     10/26/2010 10:37:18 PM     Server]Explicit conversion from data type int to date is not allowed.>.>.
    7868     5812     RUN-053008     10/26/2010 10:37:18 PM     |Session Job_Hijradata_Conversion
    please help me out to solve this problem .
    Please suggest any other solution to convert hijri date format to gregorian date format.
    Thanks&Regards,
    Ramana.

    Hi ,
    In Data quality there is no inbuild function for converting hijri date to gregorian date .  we have the function for converting julian date to gregorian date.
    Thanks&Regards,
    Ramana.

  • How does JDBC adapter reads or writes the data to DB

    Hi All,
             How does JDBC adapter read the data from a db, is it that it collects all the data in one go and sends to XI, or is it record by record.  And what if it writes to a db?
    Xier

    Hi,
    It collects all record at one time and while writing to DB you can push all data at one go...
    We are using receiver JDBC adapter to push data to DB and its one go..
    Nilesh

  • ESS error for Personal data and Family members

    Hi,
    I am having an error in ESS For pesonal data and Family members.
    The error message is
    Acritical error has occured.Processing of the service had to be terminated.Unsaved data has been lost.
    PL contact you sytem Admin
    An exception error has occured that was not caught error key RFC_ERROR_SYSTEM FAILURE.
    Thanks
    Sasikanth

    Check the table V_T7XSSPERSUBTYP.
    Also check by the t.code HRUSER if the user have an employee assigned.
    Check the log using the T.Code ST22.
    Please You should do a trace using the t.code ST01
    Hope this help you.
    Regards

  • PowerBI throwing errors for validated OData data source

    Hi,
    I've been creating OData web services for various operations for months now, and validate the service output using odata.org for all versions of Odata (V1-V4)
    Yet when my co-worker tries to load one of these OData services as a data source, PowerBI throws this error:
    [DataSource.Error] Cannot parse OData response result.  Error: A node of
    type 'StartArray' was read from the JSON reader when trying to read a
    value of a property; however, a 'PrimitiveValue' or 'StartObject' node
    was expected.
    The only OData source that has worked with PowerBI is one in which we turned off all properties that were not Strings.  In other words, as soon as the source has property types like Arrays, Objects or Dates, we get errors with PowerBI.  
    But the data validates with odata.org validator, so I am at a complete loss to understand how to "fix" data which is not broken.
    Is there a guide available somewhere showing what "subset" of OData that PowerBI accepts?  And are there plans to update PowerBI in the future to accept valid OData?
    miles
    Sample Odata that PowerBI chokes on:
      "d": {
        "results": [
            "__metadata": {
              "type": "cnevids_staging.videos",
              "id": "http://slcnpde093:3013/cne/odata/videos('NTBmYjBkODYzNDEwZmMwZGQ4MjQ2ZDIy')",
              "uri": "http://slcnpde093:3013/cne/odata/videos('NTBmYjBkODYzNDEwZmMwZGQ4MjQ2ZDIy')"
            "Id": "NTBmYjBkODYzNDEwZmMwZGQ4MjQ2ZDIy",
            "article_url": "",
            "brand_id": "NTBmYWZlNTg5M2U5ZjNlODZhMDAwMDAx",
            "buy_call_to_action": "",
            "buy_url": "",
            "cloudinary_version": "1367966946",
            "cover_story": false,
            "description": "Glamour March 2013: The Guys From Nashville Play \"Nail Polish or Country Song?\"",
            "do_not_publish": false,
            "duration_in_ms": 137000,
            "encode_version": "",
            "episode_number": 12,
            "index_within_season": 11,
            "index_within_series": 11,
            "monetize": false,
            "music_attribution": "",
            "permaslug": "glamour-march-2013-the-guys-from-nashville-pl",
            "poster_image_version": "1362346875",
            "recency_rank": 0,
            "slug": "glamour-march-2013-the-guys-from-nashville-pl",
            "state": "active",
            "suppress_on_the_scene": false,
            "title": "Glamour March 2013: The Guys From Nashville Play \"Nail Polish or Country Song?\"",
            "trending_index": {
              "__metadata": {
                "type": "cnevids_staging.videos.trend"
              "daily": 0,
              "weekly": 0,
              "monthly": 0,
              "all_time": 0,
              "based_on_count_day": null,
              "yesterday_view_count": 0,
              "bias": 0
            "videographer_unknown": true

    Is this in the context of Q&A, or is this a PQ question?
    Thanks!
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • Excel Throws an error for large data dumps

    Hi,
    I have a report in which displays 10,00,000 records , for that i created an agent and run the report the data is loaded into excel when we open the excel it is throwing an error
    I so mimimum i need to display 5,00,000 records
    Thanks,

    Hi,
    you can filter out some condition on report wise as well as dashboard wise using a prompts.
    Example:
    If u have Period table in the report filter out for year=2012 only
    or
    If u have prompt in dashboard filter out.
    in agent also we have the conditions rule while downloading the report.
    Check this makshu.blogspot.com\increase-row-limits-in-table-properties.html
    Regards
    VG

  • MQ6 Drivers for JMS Adapter throwing error

    Per note 747601 of SAP, we got the jar files for MQ6.
    MQ 6.0 with SAP XI 3.0 JAR files needed
    We prepared the .sda file
    When we try to deploy it through SDM, we are getting errors:
    Summary:
    ========
      There were 1 archives selected.
      0 archives successfully loaded.
       Loading of 1 archives failed.
    Details:
    ========
    1) Error loading archive
        C:\aii_af_jmsproviderlib.sda
        (server side name is: C:\aii_af_jmsproviderlib.sda)
        com.sap.sdm.util.sduread.IllFormattedSduFileException: The information about the development component
    found in the SDA C:\aii_af_jmsproviderlib.sda is either missing or incomplete!
    Manifest attributes are missing or have badly formatted value:
    attribute keylocation is missing
    attribute keyname is missing
    attribute keyvendor is missing
    attribute keycounter is missing
    Please advise.
    Thanks,
    Bhaskar
    Here is how this got resolved:
    We added drivers for MQ6 in the sda file.
    Then isntalled MQ client on the XI server (I am not sure why we need to do this).
    Then in the Communication Channel provided the User ID and PAssword for the MQ Server box (the windows log in information). It took us a while (a couple fo weeks) to find this out.
    I am not sure if this is the real solution, but it is working fine for us now.
    So thoguht of posting this here.
    Thanks,
    Bhaskar

    not sure about this but i guess Craig is a better person to let you know !!!
    Contact - [email protected]

Maybe you are looking for