Problem in implementing RFCto JDBC scenario

hi,
Iam doing RFC to JDBC scenario...
Here iam facing some variety output....
When RFC is triggered from r/3 system the input stucture is as
<rfc:Z_O_BWDEXTRACT_RFC xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
   <P_CHANGE>X</P_CHANGE>
   <EMP_DETAILS>
      <item>
         <BUKRS>2060</BUKRS>
         <PERNR>00142008</PERNR>
         <BEGDA>20080701</BEGDA>
but when we check it in XI under moni the data is as :
<rfc:Z_O_BWDEXTRACT_RFC xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
   <P_CHANGE>X</P_CHANGE>
   <EMP_DETAILS>
      <item>
         <BUKRS>2060</BUKRS>
         <PERNR>00142008</PERNR>
         <BEGDA/>
the short log for sender CC as taken from CC monitoring is as follows:
Sender channel 'CC_RFC_out_SAPHR' for party '', service 'D45300' (internal name 'RfcServer[CC_RFC_out_SAPHR]')
Server data: {jco.server.gwhost=cscisapndc101.nwk.amer.csc.com, jco.server.progid=D45_TO_D49, jco.server.gwserv=sapgw00, jco.server.unicode=1}
Repository data: {jco.client.lang=EN, jco.client.snc_mode=0, jco.client.client=300, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=D49CLNT300, jco.client.sysnr=00, jco.client.ashost=cscisapndc101.nwk.amer.csc.com}
Current pool size: 1, maximum pool size : 10
This is an P1 issues for me..kindly respond with useful answers ASAP.
Thanks in Advance
Regards
Madhu

Madhulatha,
  First of all refresh the SLD Cache. If it doesnt work for you then,
1. Re import the RFC structure into your XI box.
or,
2. Copy your comm channel with same credentials (assuming they are correct) and activate. Remove the old Cc from Sender agreement and use the new one.
Sometimes this method has helped us.
Regards,
Sugata Basu
PS: reward points if helpful

Similar Messages

  • Problem with SOAP to JDBC scenario. Please help!

    Hi Experts,
       I have configured a simple SOAP to JDBC scenario where the input data from webservice call is sent to JDBC for inserting into MSSQL database.
       The problem is that even though I have setup the QOS in SOAP channel as EO but still in SXMB_MONI I can see the message getting processed as Synchrous but getting interface mapping not found error. But the data is getting inserted in the database.
      Why is this not getting processed asynchrously? Please advice me if I am missing anything?
    Thanks
    Gopal

    Hello Gopal,
    Hope these lonks are useful to you:
    SOAP to JDBC : EXCEPTION_DURING_EXECUTE
    Re: need help on SOAP-JDBC-RFC Scenario
    SOAP to JDBC/RFC  - RFC/JDBC  to  SOAP XI Scenario
    Thanks,
    Satya Kumar

  • Problem with Webservice - XI - JDBC scenario

    Hi Experts,
    When I have tried to test the Webservice -> XI -> JDBC scenario with the mention address, I am getting the below error.
    <b>Address :</b> http://<Host>:50100/XISOAPAdapter/MessageServlet?channel=:WEB_SERVICE:SOAP_CC&version=3.0&Sender.Service=WEB_SERVICE&Interface=http%3A%2F%2Fatl.com%2Ftar%5EMI_Outbound
    <b>Error:</b>
    <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                             <context>XIAdapter</context>
                             <code>RecoverableException</code>
                             <text><![CDATA[
    com.sap.aii.af.ra.ms.api.RecoverableException: com.sap.aii.af.ra.ms.api.DeliveryException: Application:EXCEPTION_DURING_EXECUTE:
         at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:919)
         at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl3.process(ModuleLocalLocalObjectImpl3.java:103)
         at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:258)
    JDBC Part works fine only problem with the SOAP sender side. Any suggestion please..
    Regards
    Sara
    Message was edited by:
            Sara D

    Hi,
    As per Bhavesh & Krishna's suggestion, I have changed the JDBC Data type. Now I could able to see the SXMB_MONI error too.
    Latest error:
    When I have tried to test the scenario using xmlApy, I am getting the below error.
    <b>RWB error:</b>
    2007-06-21 03:04:24 Success Receiver JDBC adapter: processing started; QoS required: BestEffort
    2007-06-21 03:04:24 Success JDBC adapter receiver channel DB_CC: processing started; party  , service DB_SERVICE
    2007-06-21 03:04:24 Error Unable to execute statement for table or stored procedure. 'Address' (Structure 'STATEMENT') due to java.sql.SQLException: FATAL ERROR document format: structure 'STATEMENT', no key element found
    <b>xmlSpy Error:</b>
                   <context>XIAdapter</context>
                             <code>RecoverableException</code>
                             <text><![CDATA[
    com.sap.aii.af.ra.ms.api.RecoverableException: com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api.DeliveryException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'Address' (structure 'STATEMENT'): java.sql.SQLException: FATAL ERROR document format: structure 'STATEMENT', no key element found
         at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:919)
         at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl3.process(ModuleLocalLocalObjectImpl3.java:103)
         at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:258)
    I have mapped the EmpId in the mapping as well as in the DB the EmpId is Primary Key. Could you please tell me,what I am missing here?
    Regards
    Sara
    Message was edited by:
            Sara D

  • Problem in Idoc to JDBC scenario(uses BPM)

    Hi
    I have a IDoc to JDBC scenario which also uses BPM.
    The JDBC adapter has to execute a Stored procedure on Sybase database.
    I work on XI3.0 SP14.
    When I am sending IDoc to XI it is failing in CALL adapter step.
    The error message is "Unable to convert sender service TruckLiftAccountUpdate to an ALE logical system".
    However this scenario is working in Production with same settings.But it is not working in Quality and it is giving the above error.
    Can any one help me in this.
    Thanks in advance.
    KP

    Thanks for your quick reply..
    All the settings are in place.
    Here the Idoc is coming to BPM and BPM cant able to execute the stored procedure.and we are getting the error from BPM to target system.
    Here error is unable to convert the sender service(from BPM service) to ALE
    logical system.
    same settings are there in Production but it is not working in QA.
    Thanks in adavnce,
    KP

  • Facing Problems in File to JDBC scenario

    Hi Folks,
        I am trying to configure a file to jdbc scenario where I'm getting the below error.
    Error during database connection to the database URL 'jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=D:\usr\sap\PRD\SYS\global\Receive\Student.mdb' using the JDBC driver 'sun.jdbc.odbc.JdbcOdbcDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:odbc:Driver={Microsoft Access Driver (.mdb)};DBQ=D:\usr\sap\PRD\SYS\global\Receive\Student.mdb'*: SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified'
    I Have done the below configuration for the receiver JDBC adapter
    Driver : sun.jdbc.odbc.JdbcOdbcDriver
    Connection : jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=D:\usr\sap\PRD\SYS\global\Receive\Student.mdb
    tried to provide the user id & password as well as the password and also tried with with keep them blank. My Ms access 2007 database table is in the application server itself.
    I've also checked with the below blogs & forums:
    MS  ACCESS 2007 to PI 7.01
    /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
    http://www.riyaz.net/blog/jdbc-adapter-configuration/technology/1200/
    Thanks Experts.

    Hi Santosh,
    If also could be possible that, you have not added proper JDBC dirver and hence i think you are getting following error:
    Data source name not found and no default driver specified'
    So first add the JDBC driver( .jar) to the SAP PI JDBC library and redeploy the .sda file and then retest your scenario. Here is a link to PDF which explain how to add external drivers to use new DB drivers in the JDBC adapter.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f04ce027-934d-2a10-5a8f-fa0b1ed4d88f?quicklink=index&overridelayout=true
    Regards,
    RK

  • Problem in Webservice-XI-JDBC scenario

    Hi Experts,
    I am working on webservice - XI - JDBC Synchronous scenario. I have done with SLD, IR, ID, WSDL file creation.
    When I tried to test the scenario thro' Webservice Studio, I am getting the following error. This error comes, once I give the request value.
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    Exception Text **************
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Client found response content type of 'text/html', but expected 'text/xml'.
    The request failed with the error message:
    td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;}
    A:link
    A:visited
    A:active
    401   Unauthorized
    If you come across this type of issues, then please help me to solve it.
    Regards
    Sara
    Message was edited by:
            Sara D

    Hi Bhavesh,
    As per the blog, I have done the username & pwd setup..but still getting the "401 Unauthorized".  Could you please tell me, what could be the problem?
    Here is the full error trace.
    Exception Text **************
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Client found response content type of 'text/html', but expected 'text/xml'.
    The request failed with the error message:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
    <title>Error Report</title>
    <style>
    td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;}
    A:link
    A:visited
    A:active
    </style>
    </head>
    <body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0">
    <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75">
    <tr bgcolor="#FFFFFF">
        <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="4" color="#666666"><b>  401 &nbsp Unauthorized</b></font></td>
    </tr>
    <tr bgcolor="#3F73A3">
        <td height="23" width="84"><img width=1 height=1 border=0 alt=""></td>
        <td height="23"><img width=1 height=1 border=0 alt=""></td>
        <td align="right" height="23"><font face="Arial, Verdana, Helvetica" size="2" color="#FFFFFF"><b>SAP J2EE Engine/7.00 </b></font></td>
    </tr>
    <tr bgcolor="#9DCDFD">
        <td height="4" colspan="3"><img width=1 height=1 border=0 alt=""></td>
    </tr>
    </table>
    <br><br><br><br><br><br>
    <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75">
    <tr bgcolor="#FFFFFF">
        <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><b>  No login module succeeded.</b></font></td>
    </tr>
    <tr bgcolor="#FFFFFF">
        <td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><b>  Details:</b></font></td>
        <td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><pre>  No details available</pre></font></td>
    </tr>
    </body>
    </html>
       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at MI_OutboundService.MI_Outbound(DT_REQUEST MT_REQUEST)
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at WebServiceStudio.MainForm.InvokeWebMethod()
       at WebServiceStudio.MainForm.buttonInvoke_Click(Object sender, EventArgs e)
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Regards
    Sara
    Message was edited by:
            Sara D

  • Problem with webservice to JDBC scenario

    Hi Experts,
    <b>Scenario :</b> Webservice - XI - JDBC
    <b>Issue :</b> When I tried to access the url which I have used it to create the wsdl file, I am getting error.
    <b>Url :</b> http://<Hostname>:50100/XISOAPAdapter/MessageServlet?channel=WEB_SERVICE:SOAP_CC
    <b>Error :</b> Message Servlet is in Status OK
    Status information:
    Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/xi/645_VAL_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#7 $) bound to /MessageServlet
    Classname ModuleProcessor: null
    Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean
    Lookupname for remoteModuleProcessorLookupName: null
    ModuleProcessorClass not instantiated
    ModuleProcessorLocal is Instance of com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0
    ModuleProcessorRemote not instantiated
    Could you please tell me, why I am getting the above error?
    Regards
    Sara
    Message was edited by:
            Sara D

    Sara,
    >>Url :  http://<Hostname>:50100/XISOAPAdapter/MessageServlet?channel=WEB_SERVICE:SOAP_CC
    Do you have the <b>:</b> as pointed in bold in the URL? Just give a try again.
    http://<Hostname>:50100/XISOAPAdapter/MessageServlet?channel=<b>:</b>WEB_SERVICE:SOAP_CC
    Regards,
    Jai Shankar

  • Idoc to jdbc scenario problum in queue ?

    hi experts
    I am facing a problem in IDOC to JDBC Scenario (PI 7,1) . When i trigger the idoc first time it is inserting in to the data base . when i trigger second and third time  struck in the queue .By default the quality of service it is taking EOIO,
    My question  is :
    1. How to clear the Queue ? and is there is any method it automatically release the queue ?
    2. How to change the QOS EOIO to EO .(i don't find any option at jdbc adapter level to give QOS  ) ?
    Thank You
    G.Praveen Kumar

    Hi,
    >>1. How to clear the Queue ? and is there is any method it automatically release the queue ?
    To Re-process Automatically
    /people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically
    >>2. How to change the QOS EOIO to EO .(i don't find any option at jdbc adapter level to give QOS ) ?
    For any Adapter, Receiver  side QOS option wont be there. Sender side only will be available.
    As soon as you trigger the Idoc from ECC, this will be sent to receiver in the Idoc generation order only
    REgards
    Seshagiri

  • How to implement File to jdbc scenario

    Hi Guys,
               I am implementing a scenario where in data is passed from File to the database. I have completed the file adapter configuration part. now how do I implement the jdbc adpter part?
    Which database can I use for testing on the local machine?
    Can i download and use any database?
    If i want to use Access as a database what all settings do i need to do in access and Xi?
    Regards,
    Ashish

    Hi,
    This might help you
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    /people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures
    /people/saravanakumar.kuppusamy2/blog/2005/01/19/rdbms-system-integration-using-xi-30-jdbc-senderreceiver-adapter
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
    Regards
    Agasthuri Doss

  • Problem in JDBC to JDBC scenario

    Hello all,
    I am working on a JDBC 2 JDBC Scenario.
    Everything gone fine, data is picked from source, but it is not updated in the destination.
    I could not see any message related to this in SXMB_MONI it shows only messages related to IDOC, on search I fould, we need to add trace level,etc in SXMB_ADM but still couldnot found any message (I restarted the system, cleared cache also).
    In RWB(communication channel monitoring) I could find that sender is sucessful, but no message for receiver.
    In RWB (message monitoring) I checked my business system, i could see sender entries but no receiver entries, there is only one error message as :
    <b> transmitting the message to endpoint http://xisystem:50100/sap/xi/engine?type=entry using connectio</b>
    For which I found we need to change XI businesssystem's pipeline port no from some 54+++ to 4+++ (but I could see only 50100 in the pipeline so i did'nt)
    we are using R/3, was7.0 sp11,XI3.0,
    Can any body help me in this regard
    Thanks,
    Sai.k.k

    Hi,
    Error in SXMB_MONI :
    com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_JDBC2JDBC_MM_: RuntimeException in Message-Mapping transformatio~
    Error in Integration repository when I test with the payload :
    <pre>
    13:01:52 Start of test
    Document start
    Start tag [ns0:Receiver_JDBC_MT]
    Add raw attribute [ xmlns:ns0="http://xyz.com/JDBC2JDBC_NMSP"]
    Start tag [Statement]
    Start tag [dbTable]
    Add attribute: [action]=[INSERT]
    Start tag [table]
    Put value [Example]
    Close tag [table]
    Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XML Declaration not allowed here.(:main:, row:1, col:8)com.sap.aii.utilxi.misc.api.
    BaseRuntimeException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException:XML Declaration not allowed here.(:main:, row:1, col:8)
    at com.sap.aii.mappingtool.tf3.rt.xparser.MTSaxHandler.run(MTSaxHandler.java:157)
    at com.sap.aii.mappingtool.tf3.rt.xparser.XParser.run(XParser.java:73)
    at java.lang.Thread.run(Thread.java:534) Root Cause: com.sap.engine.lib.xml.parser.NestedSAXParserException:Fatal
    Error: com.sap.engine.lib.xml.parser.ParserException: XML Declaration not allowed here.(:main:, row:1, col:8)(:main:, row=1, col=8) ->
    com.sap.engine.lib.xml.parser.ParserException: XML Declaration not allowed here.(:main:, row:1, col:8)
    at com.sap.engine.lib.xml.parser.XMLParser.scanPI(XMLParser.java:2126)
    at com.sap.engine.lib.xml.parser.XMLParser.scanProlog(XMLParser.java:2774)
    at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2830)
    at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java:229)
    at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java:145)
    at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:160)
    at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:261)
    at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:280)
    at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:342)
    at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:125)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
    at com.sap.aii.mappingtool.tf3.rt.xparser.MTSaxHandler.run(MTSaxHandler.java:155)
    at com.sap.aii.mappingtool.tf3.rt.xparser.XParser.run(XParser.java:73)
    at java.lang.Thread.run(Thread.java:534) -
    at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:144)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
    at com.sap.aii.mappingtool.tf3.rt.xparser.MTSaxHandler.run(MTSaxHandler.java:155)
    at com.sap.aii.mappingtool.tf3.rt.xparser.XParser.run(XParser.java:73)
    at java.lang.Thread.run(Thread.java:534) Caused by: com.sap.engine.lib.xml.parser.ParserException: XML Declaration not allowed here.(:main:, row:1, col:8)
    at com.sap.engine.lib.xml.parser.XMLParser.scanPI(XMLParser.java:2126)
    at com.sap.engine.lib.xml.parser.XMLParser.scanProlog(XMLParser.java:2774)
    at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2830)
    at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java:229)
    at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java:145)
    at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:160)
    at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:261)
    at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:280)
    at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:342)
    at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:125) ... 4 more Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XML Declaration not allowed here.(:main:, row:1, col:8)
    13:01:52 End of test
    </pre>
    Query : Select * from Employee fetches all the fields
    Payload :
    <pre>   <?xml version="1.0" encoding="utf-8" ?>
    - <resultset>
    - <row>
      <PerNer>t</PerNer>
      <Initials>t</Initials>
      <Name>t</Name>
      <DOB>t</DOB>
      <State>t</State>
      <Country>t</Country>
      </row>
      </resultset>
    </pre>
    Regards,
    Sai.k.k

  • Mapping problem:IDoc to JDBC scenario

    Hi Friends,
       Hope you all are doing well.I am doing a ADoc to JDBC scenario where multiple rows of data are to be inserted into the db table at once. When I am mapping the data segments to 'Access' with RemoveContext in between,then it is giving error.If I'm mapping the data segments to 'Access' with CollapseContext in between,then it is inserting only the data in the first row and ignoring the rest. The occurence for 'Access' is 1..unbounded. Please help.
    regards
    Debansu

    Hi,
      It seems your mapping have missing some logic..
      LIke below..
      If E1EDP01 segments enable 3 time.
        You mapped the Access  with that segment.
        In that segment you want to map the "Action" filed to target"XXX".
        If you using remove context between then all the 3 values in the "Action" will try to assign in XXX field.
        But you have "XXX" occurance 1-1.So that you will get the error.
        If your using the Collapse Context then In the 3 value the first value only will copy to that field.
        So it wont give the error.
        How the logic you need? can u breaf your source and target fields?
    Regards,
    Prakasu

  • IDOC-XI-JDBC scenario,   jdbc sent too slow

    i have a IDOC-XI-JDBC scenario,
    the problem is that near 5 Lac IDOC is sent to XI, each IDOC is processes by an instance of the scenario, and the sent to the Database is too clow...means 4000 records per hour,
    can i configure the JDBC receiver adapter in a way, so that it becomes faster/more concurrent,

    Hey,
    First raise the issue to the  DBA he might help resolve the ISSUE more efficently.
    Secondly check in the JDBC adapter -> Adavance mode -> Disconnect from the data base after processing each message shouldn't be set.
    Even check with Database Transaction Isolation Level -> default is value of the connected database.
    <b>The isolation level  determines how transactions running in parallel can influence each other</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm
    Why not  the other way around > Collect multiple idocs in a file restrict maxium number of idocs to required value then send the file ?
    Stefan Grube Example:
    /people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm
    if it is with bpm then collect multiple idoc with occurance change and send them.
    <b>Cheers,
    *RAJ*
    **REWARD POINTS IF FOUND USEFULL <b>

  • Strange error in File-XI-JDBC scenario

    Dear All,
    I am working currently on File-XI-JDBC scenario and is facing with a stange problem.
    I have writtern one simple query which is downloading the data from R/3 and is sending to XI Server local folder. From that folder File is getting picked by XI and is posted into SQL database.
    Now, when I am generating the required file from R/3-DEV server then my scenario is getting executed successfully but if file is generated thru R/3-QAS Server then the scenario is giving the following error "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. 'MARA_UPDATE' (structure 'Statement'): java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Error converting data type nvarchar to smalldatetime."
    Also, if I am copying the complete data from the error file and paste it into a new file and executing again then the scenario is executing correctly.
    I have checked the payload and didn't find anything there.
    Kindly help me in solving this error.
    Regards,
    N.J

    Hi Farooq,
    Thanx for your reply. But this scenario is running when we are sending the file from R/3-DEV Server and also if I am copying all the contents of the error file and pasting it into a new file and then processing the file then the scenario is getting executed and I am getting no error with the same data which I have processed earlier and has thrown error.
    Reg,

  • Error in IDoc to JDBC scenario

    Hi friends,
        I am configuring an IDoc to JDBC scenario in XI.When I am testing the scenario in Test Configuration then it is getting processed successfully but when I am tseting the entire configuration then in sxmb_moni the following error is showing:
    "Error occurred during back-routing Error in communication channel". Please help as I am unable to understand the error.
    regards
    Debansu

    Hi Debansu,
    Please go through the link it may help to solve your problem.
    JDBC Adapter / Acknowledgements
    Error in back routing Error in communication channel
    Regards,
    Sridhar Goli
    Edited by: sridhar goli on Aug 11, 2008 11:35 AM

  • File to Jdbc Scenario

    Hi All,
           I am doing a File to JDBC scenario, where sender side message type occurance is 0..unbounded and receiver side message type occurance is 1 in message mapping. The whole scenario working fine when both sender and receiver side message type occurance is 1 in message mapping.
    When Sender side occurance is 1.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:mt_smtjdbc_sender xmlns:ns0="http://SmartJDBC">
       <NAME>A</NAME>
       <DEPT>B</DEPT>
    </ns0:mt_smtjdbc_sender>
    When Sender side occurance is 0..unbounded.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
          <ns1:mt_smtjdbc_sender xmlns:ns1="http://SmartJDBC">
             <NAME>Dip</NAME>
             <DEPT>xi</DEPT>
          </ns1:mt_smtjdbc_sender>
       </ns0:Message1>
    </ns0:Messages>
    If I use Sender side occurance as 0..unbounded I am getting the following error in adapter engine Communication channel monitor (for receiver communication channel)
    Error while parsing or executing XML-SQL document: Error processing request in sax parser: No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure)
    Can anybody please help me how to solve this problem?
    Dipankar

    Hi,
    My Sender side structure as follows.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
          <ns1:mt_smtjdbc_sender xmlns:ns1="http://SmartJDBC">
             <NAME>DIp</NAME>
             <DEPT>XI</DEPT>
          </ns1:mt_smtjdbc_sender>
       </ns0:Message1>
    </ns0:Messages>
    My corresponding Receiver side structure as follows.
    <?xml version="1.0" encoding="UTF-8" ?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
    <ns0:Message1>
    <ns1:mt_smtjdbc_receiver xmlns:ns1="http://SmartJDBC">
    <Statement>
    <dbTableName action="INSERT">
    <TABLE>SMARTOP</TABLE>
    <access>
      <NAME>DIp</NAME>
      <DEPT>XI</DEPT>
      </access>
      </dbTableName>
      </Statement>
      </ns1:mt_smtjdbc_receiver>
      </ns0:Message1>
      </ns0:Messages>

Maybe you are looking for

  • Bios Collection. *Updated 02.07.07*

    ============================================================================================ 02.07.07 (mm-dd-yy) MS7125 ============================================================================================ A new ISO image dated 17-30-Feb-06-20

  • When I download CS4, it won't open. "

    "Setup"cant be opened because it is from an unidentified developer" is the message that pops up when I try to open the disk image.

  • What is error 1712, I am getting it when I try to open my pages application

    what is error 1712, I am getting it when I try to open my pages application

  • ITunes hangs after startup

    I open itunes, which takes its time opening, then once it is fully open it will hang at between 50-100% CPU usage for at least 15 minutes before I can do anything. I would like to know if there is anything I can to to alleviate this. This is a fresh

  • Antenna`s cable for Aironet 1500

    I will like to put the 802.11 b/g antenna (for clients) in a separate way from the Aironet. I know that the antenna AIR-ANT2455V-N has "N" type connectors. Is there a antenna`s cable for this application? is it possible to do that? My scenario is a A