JDBC To Proxy Scenario Problem

Dear All,
I am doing JDBC to Proxy scenario. In SXMB_MONI in XI Message is sucessful and JDBC Adaptor fetching records also. These records are seen in SXMB_MONI.
When I check in SXI_MONOTOR in R/3 , message is sucessful, but payload is Blank. The selected records in JDBC are not reaching R/3 . What may be the problem
Raghvendra

Check the mapping between the JDBC response and the Proxy response in XI?
Does the JDBC response have the valid rows? If yes, check  what is the output mapping that is sent to the Proxy.
Regards
Bhavesh

Similar Messages

  • Database error for JDBC to Proxy Scenario

    Hello SAP PI Gurus, 
    I am having a JDBC to Proxy Scenario .And the interface is running at 10 min of duration. 
    However, my other interface are running fine with the same details.
    But for this interface, it giving the belwo error :
    Database-level error reported by JDBC driver
    while executing statement 'call proc_dtdc_prod_summary'.
    The JDBC driver returned the following error message: '
    com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table
    'dtdc_prod_summary_temp' already exists'. For details,
    contact your database server vendor.
    So increased the time from 10 min to 20 min to 30 min. But the erro remians.
    So pls look into this and give your suggestion.
    Regards,
    Ravi

    Hi Ravi,
    Please check execution of your stored procedure is resulting with creation of Table : dtdc_prod_summary_temp.
    Modify your stored procedure to just fetch records or insert records in the existing table. Or change the code to Create a table 'dtdc_prod_summary_temp only if it doesn't exits in the Table data base.
    Regards
    Praveen K

  • Payload issue in jdbc to proxy scenario

    HI Experts,
    We have designed a new interface from jdbc to proxy where in it went fine with the design part.
    But while testing it the records are pulled by XI but were not posting to ECC.
    So when collected the payload to test in mapping I see a red color to the fields in the structure. due to which am not able to get the output in mapping.
    Can anyone help me out how to resolve this issue.
    Appreciate the quick response.
    Thanks and regards,
    Ranganath.

    Add those Extra fields in your Data type and dont map it with target.
    or
    In select stataement in sender JDBC adapter mention the fieldname you want to pick
    Suppose employee table has 3 field
    EmployeeeID,
    Employeename
    address
    but you dont want address field then write the select query like this
    Select EmployeeeID, Employeename from employee
    mention the table fieldnames in select query which you have in your mapping source structure.
    if you are write select * from employee
    then address will come as extra field and create problem in mapping
    Refer this
    http://www.java2s.com/Code/SQLServer/Select-Query/Specificcolumnnamesaredefinedinthequery.htm

  • JDBC to Proxy scenario

    Hi,
    Hope you are doing well.
    I have a scenario where I need to fetch the data from an Oracle table and pass them on to SAP via proxy. Since, the data to be extracted from the Oracle db is huge, I want to call a stored procedure to fetch the data, and then pass them on in batches of say 100 records at a time to XI. To do this,I believe the stored procedure has to trigger the interface in XI.
    I have seen a few blogs stating that a sender JDBC adapter cannot interact with a stored procedure since the latter provides the data in a cursor whereas XI needs the data in record sets.
    Then how can I achive my objective? Please provide me some ideas.
    regards
    Debansu

    Bhaskar,
    Thanks.
    A huge amount of data needs to be fetched from the database (for example say 100000 records). My plan was to use the stored procedure to trigger the XI interface and send the fetched data in batches (say 100 records per batch). How am I going to do this without using a stored procedure? Am I going to use fetch all the data using select statements in XI and then chunk it into messages using UDF in XI? Is there a better way to achieve this? Please suggest.
    regards
    Debansu

  • ALE Configurations for JDBC to PROXY scenario

    Can some body tell me what are the ALE configurations that needs to be done in both the systems and also in XI system.

    Hi there
    No need for ALE confihuration unless you are using IDocs in your scenario.
    You need to configure the integration engine in the Proxy system using SXMB_ADM and create an RFC for the Integration server.
    on the JDBC side you'll need the database bridge configured in the communication chanell...
    what is your scenario specific...which system types and versions?
    Nimrod

  • Inbound Proxy Error - JDBC to PROXY Scenario

    Hi experts,
    I am getting the following error while activating Inbound Proxy.
    Error when creating service node. [unknown]You are not authorized to use function Netzwerkadministration
    Exception of class CX_SRT_WSP_ICF
    Regards,
    Sudheer

    Hi Experts,
    Thank you for your replys.....Problem got solved......:)
    Some authorisation was missing...Now it was fine and I can activate Inbound proxy......:)
    Once again Thank you for your replys.....:)
    Regards,
    Sudheer

  • IS Mapping required in JDBC to PROXY asynchronous scenario?

    Hi,
    I am working on JDBC to PROXY asynchronous scenario. The scheduled stored procedure fetches the data from database tables and stores them in staging table in the same database. XI will fetch the records via JDBC adapter. Now these records are to be posted into SAP custom table via proxy without any transformation. Now is Message mapping and Interface mapping required in this case?

    Hi
    I assume that your source and traget structure will be different as you are using JDBC.
    SO you will need to create message mapping and operation mapping.
    -Deepak.

  • Error while executing a JDBC to Idoc scenario : No standard agreement found

    Hello SAP PI Gurus, 
    I am having a JDBC to idoc Scenario .And the interface is running at 10 min of duration. 
    <SAP:AdditionalText>No standard agreement found for ,
    BS_EXT_CTBSREPDB, , BS_ERPQAS_QE1_320, http://XYZ.com/FI/FI_FI_01/Charges, FIDCC2</SAP:AdditionalText>.
    While i test the configuration...i get an error in reciever agreement as mentioned above.
    Can you pls help me in resolving this issue.
    Regards,
    Ravi

    Hi,
        I think the problem is with namespace....for IDOC the namespace will be "urn:sap-com:document:sap:idoc:messages"...but in your case it is different.....i.e http:....etc.....please check whether you 've used the same IDOC withe above mentioned namespace in all the configuration objects like interface determination, receiveragreement etc.....
    Thanks
    Priyanka

  • IDoc to JDBC  and JDBC to IDoc Scenario

    Dear All,
    I am working on IDoc to JDBC and JDBC to IDoc Scenario.
    I have to send Idoc from SAP to Non SAP system(.NET application) i almost configured in XI but still i don't know when my INTEGRATION will INVOKE how my data will proceed from IDOC to Oracle database(Through JDBC) and in case of revese how and when Data flow will start.
    Does anyone have completed STEP by STEP scenario document for this?
    How my Idoc will sent to XI?
    How XI will pick up data from IDoc?
    How XI will Convert data to JDBC and UPDATE in Oracle Database?
    And i reverse case(JDBC to IDoc) when my INTEGRATION will INVOKE?
    Where and When i can watch my process and data?
    How can i test the whole integration?
    I AM GETTING ERROR WHILE TESTING CONFIGURATION IN Integration Directory "Error while refreshing the XI runtime cache" and when i check this in SXI_CACHE  it gives me error
    "Unable to refresh cache "NO_BUSINESS_SYSTEM"
    "Error during last refresh to cache"LCR_GET_OWN_BUSINESS_SYSTEM - NO_BUSINESS_SYSTEM"
    Please solve all the above problems i will reward u points
    thanks,
    RP

    Hi,
    While we working on IDOC to JDBC interface..
    We have to deploy JDBC Drivers?
    Go through this links,
    /people/varadharajan.krishnasamy/blog/2007/02/27/configuring-jdbc-connector-service-to-perform-database-lookups
    http://searchsap.techtarget.com/tip/0,289483,sid21_gci1246926,00.html
    To install JDBC driver follow the how to guide.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-how-to-guides/how%20to%20install%20and%20configure%20external%20drivers%20for%20jdbc%20and%20jms%20adapters.pdf
    Configuration of JDBC Adapter for SQL Server
    JDBC Driver = com.microsoft.jdbc.sqlserver.SQLServerDriver
    Connection = jdbc:microsoft:sqlserver://hostname:<port>;DatabaseName=<DBName>
    UserID and Password.
    If the connection is not working find the correct port number.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40b92770-db81-2a10-8e91-f747188d8033
    JDBC- X I -  R/3 Scenario
    /people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    Please check the driver path as mentioned below.
    JDBC Driver : sun.jdbc.odbc.JdbcOdbcDriver
    Connection:jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=//location of DB table.mdb;
    No JDBC driver required.
    Receiver JDBC scenario MS access - /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
    follow this thread
    Re: Problem when connecting to MS Access through JDBC Adapter.
    SAP Note 850116 has details
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    Configuring the Sender JDBC Adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/1d/756b3c0d592c7fe10000000a11405a/content.htm
    Configuring the Receiver JDBC Adapter
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b0/676b3c255b1475e10000000a114084/content.htm
    Idoc Reveiver adapter..
    http://help.sap.com/saphelp_erp2004/helpdata/en/b9/c5b13bbeb0cb37e10000000a11402f/content.htm
    Thanks,
    Satya Kumar
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    Edited by: SATYA KUMAR AKKARABOYANA on May 8, 2008 5:51 PM

  • Issue in Iodc- abap proxy scenario

    Hi all
    I have a idoc to abap proxy scenario. The issue is ,
    when we send the idoc to client A of target system, it works ifne.
    But when we send the saem mesage to Client B, we find a error message in sxmb_moni of Target system. the mesage is Application_fault.
    Is it because of any error in XI configuration or somethin else.

    hi all
    thanks for all your responses.
    I forgot to mention that based on a particualr field value in the idoc , it will be routed to eihter Client 100 or 200 .
    I gave the conditions in Receiver Determination.
    Same Server Proxy  is used in both the target business sytems.
    I have done all the Configuration Steps ,( Created two separate business systems also )
    Also I have checked wiht all the system settings to be made in the target system B.
    When i trigger the idoc to Client 100, it goes to XI and then reaches  Client 100 of System B
    without any problem. I get the desired result from proxy code.
    When i send the saem idoc to Client 200, it reaches the target system and routed to client 200. But getting this error message in
    the Call Inbound PRoxy step. (from sxmb_moni)
    <SAP:Category>Application</SAP:Category>
      <SAP:Code area="ABAP">APPLICATION_ERROR</SAP:Code>
    Since it reaches the target system correctly, i guess there is nothing wrong in the XI configuration side.
    But if its Application fault, how come the same data is processed successfully in one client whereas it thorws error in another.

  • JDBC to Mail scenario with XSLT mapping

    Hi all,
    I am working on JDBC to Mail scenario. We have to pick the data from Oracle system and mail has to be sent with an attached Excel file.
    I am doing this scenario by using of following blog.
    eMail Report as Attachment (Excel/Word)
    I am getting the output as an attachment but iam not getting the data.
    the same xslt coding iam using which has given in blog.
    any idea........
    Thanks,
    Sreedhar Goud.

    Hi Gaurav,
    JDBC is picking the data.In SXMB_MONI outbound payload iam able to see the data but in inbound payload there is no data.i think the problem is in XSLT code only.
    My source structure:
      <?xml version="1.0" encoding="utf-8" ?>
      <ns:MT_ORMS_Errors xmlns:ns="http://mg.adityabirla.com/mg/orms/mail">
        <row>
            <INTERFACE_NAME>MG_SAP_RMS_ITEM_PKG</INTERFACE_NAME>
            <RECORD_DETAIL>Item</RECORD_DETAIL>
            <ERROR>item</ERROR>
            <CREATE_DATE>2008-11-03 00:00:00.0</CREATE_DATE>
            <MAIL_SENT>N</MAIL_SENT>
        </row>
      </ns:MT_ORMS_Errors>
    XSLT code:
    <?xml version='1.0'?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
      <xsl:variable name="break">&lt;br&gt;</xsl:variable>
      <xsl:variable name="tableB">&lt;table&gt;</xsl:variable>
      <xsl:variable name="tableE">&lt;/table&gt;</xsl:variable>
      <xsl:variable name="trB">&lt;tr&gt;</xsl:variable>
      <xsl:variable name="trE">&lt;/tr&gt;</xsl:variable>
      <xsl:variable name="tdB">&lt;td&gt;</xsl:variable>
      <xsl:variable name="tdE">&lt;/td&gt;</xsl:variable>
      <xsl:variable name="nbsp">&amp;nbsp;</xsl:variable>
      <xsl:variable name="thB">&lt;tr BGCOLOR="#CCCC99"&gt;</xsl:variable>
      <xsl:template match="/">
       <ns1:Mail xmlns:ns1="http://sap.com/xi/XI/Mail/30">
        <Subject>Deliveries from XI</Subject>
        <From></From>
        <To></To>
        <Content_Type>application/vnd.ms-excel</Content_Type>
        <Content>
         <xsl:text xsl:space="preserve">These deliveries has been completed:</xsl:text>
         <xsl:value-of select="$break"/>
         <xsl:value-of select="$break"/>
         <xsl:value-of select="$tableB"/>
         <xsl:value-of select="$thB"/>
         <xsl:value-of select="$tdB"/>
         <xsl:text xsl:space="preserve">INTERFACE_NAME</xsl:text>
         <xsl:value-of select="$nbsp"/>
         <xsl:value-of select="$tdE"/>
         <xsl:value-of select="$tdB"/>
         <xsl:text xsl:space="preserve">RECORD_DETAIL</xsl:text>
         <xsl:value-of select="$nbsp"/>
         <xsl:value-of select="$tdE"/>
         <xsl:value-of select="$tdB"/>
         <xsl:text xsl:space="preserve">ERROR</xsl:text>
         <xsl:value-of select="$nbsp"/>
         <xsl:value-of select="$tdE"/>
         <xsl:value-of select="$tdB"/>
         <xsl:text xsl:space="preserve">CREATE_DATE</xsl:text>
         <xsl:value-of select="$nbsp"/>
         <xsl:value-of select="$tdE"/>
         <xsl:value-of select="$trE"/>
        <xsl:for-each select="MT_ORMS_Errors/row">
          <xsl:value-of select="$trB"/>
          <xsl:value-of select="$tdB"/>
          <xsl:value-of select="INTERFACE_NAME"/>
          <xsl:value-of select="$nbsp"/>
          <xsl:value-of select="$tdE"/>
          <xsl:value-of select="$tdB"/>
          <xsl:value-of select="RECORD_DETAIL"/>
          <xsl:value-of select="$nbsp"/>
          <xsl:value-of select="$tdE"/>
          <xsl:value-of select="$tdB"/>
          <xsl:value-of select="ERROR"/>
          <xsl:value-of select="$nbsp"/>
          <xsl:value-of select="$tdE"/>
          <xsl:value-of select="$tdB"/>
          <xsl:value-of select="CREATE_DATE"/>
          <xsl:value-of select="$nbsp"/>
          <xsl:value-of select="$tdE"/>
          <xsl:value-of select="$trE"/>
         </xsl:for-each>
         <xsl:value-of select="$tableE"/>
        </Content>
       </ns1:Mail>
      </xsl:template>
    </xsl:stylesheet>
    Thanks,
    Sreedhar Goud.

  • Data stuck in QRFC in client proxy scenario

    In client proxy scenario (proxy to file async). I triggered the report porgram from ECC and I the green flag moni in ECC but the mesage is did nto reach PI as it got stuck in qrfc. It reaches PI upon clearing the message from SMQ2. Please help solve this.

    this problem persists when queues are not registered or any abapstack workitem gets into error.
    select the workitem in smq2. execute it manually. after completing the execution, goto sxmb_adm tcode, there select manage queues. then register queues.

  • SOAP - Proxy Scenario

    In my SOAP to Proxy scenario I have a proxy that will return "true" or "false" depending on the logic in my method.  When I execute the proxy it returns the false value for cases that are false in SAP.  The scenario does not return the "true" value when the logic is true in SAP.  If I go into SAP and run the method, both the true and the false logic paths work and the method returns the correct value.  If I hard code the variable in the method to "test" and execute the XI scenario it will return the word "test" for both cases, true and false.  I have the same scenario in my XIQ system and it works fine. 
    So, what I have done...
    I have flushed the cache, that did not work.
    I have rebooted my XI system that has the problem.
    I have compared my XI broken system with the one that is working and there are no differences.
    Does anyone know how I can see what is truely being sent back to the SOAP side?  Is there a way to debug the ABAP code from the XI / SOAP side?
    Any help would be greatly appreciated.
    Thanks
    Skip Ford

    Hi Ford
    When you try with SAP its working right. Did you see that response in XI. If not then no need to touch XI.
    Take the payload and try to debug the proxy. You will come to know if it really returns the true value or there is a data issue itself and no problem with XI and SAP.
    Check in XI mapping as well. if the value from source is moving to target or not. If you make any changes or found problem do regenerate and activate proxy.
    Thanks
    Gaurav

  • SOAP- Proxy scenario, issue with WS adapter

    Hi guys,
    i've set up a soap->abap proxy scenario (on 7.1) and want to use the new WS adapter. unfortunately I'm facing some issues. The proxy has been generated properly and I also set it up in soamanager. I tested it from XML Spy and it works fine. So there shouldn't be any problem with it.
    But when I try to run the scenario, I get following error:
    WS_ADAPTER_SYS_ERROR
    <sap:ExceptionChain xmlns:sap="http://www.sap.com/webas/710/soap/runtime/abap/fault/system/SystemFault"><sap:ChainedException><Exception_Name>CX_SOAP_FAILURE</Exception_Name><Exception_Text>SRT: Processing error in Internet Communication Framework: ("ICF Error when receiving the response: ICM_HTTP_CONNECTION_FAILED")</Exception_Text></sap:ChainedException><sap:ChainedException><Exception_Name>CX_SOAP_CORE</Exception_Name><Exception_Text>SRT: Processing error in Internet Communication Framework: ("ICF Error when receiving the response: ICM_HTTP_CONNECTION_FAILED")</Exception_Text></sap:ChainedException></sap:ExceptionChain>
    System error while calling Web service adapter: <sap:ExceptionChain xmlns:sap="http://www.sap.com/webas/710/soap/runtime/abap/fault/system/SystemFault"><sap:ChainedException><Exception_Name>CX_SOAP_FAILURE</Exception_Name><Exception_Text>SRT: Processing error in Internet Communication Framework: ("ICF Error when processing Web service
    I checked the /sap/xi/engine service on both - PI & ECC and it is activated.
    Any hint, what could be wrong?
    Thanks a lot,
    Olian

    Hi,
             "ICM_HTTP_CONNECTION_FAILED" this error is relaed to ICM. Does your Type H connection "INTEGRATION_SERVER_HMI" works fine.And check integration engine configuration in SXMB_ADM.
    And here is a similar thread.
    Re: HTTP to Enterprise Services.
    Regards,
    Reyaz

  • Proxy Scenario (abap client)- XI, ICM_CONNECTION_FAILED

    Hi Forum,
    I have a problem with a Proxy Scenario (ABAP client proxy),
    My scenario is R/3 (abap client proxy)--->XI   ,
    the client proxy while sending message to XI throws an error, which is seen in SXMB_MONI as:
    404 Resource not found
    Partner not reached
    Error: -20
    Version: 6040
    Component: ICM
    Date/Time: Fri Jan 25 09:20:54 2008 
    Module: icxxconn_mt.c
    Line: 2124
    Server: xxxap5_RP1_05
    Detail: Connection request from (143/22024/0) to host: xxXP1.xxx.com, service: 8000 failed (NIEHOST_UNKNOWN) AP-T143, U22024, 500 xxUSER, , 09:20:54, M0, W0, , 1/0
    I can see a stuck entry (LUW), for this in SMQ2, even on several re-execution of that LUW in SMQ2, it gives an error:
    SYSFAIL
    XI Error Client_Receive_Filaed

    Hi
    404 Resource not found
    There might be the problem with the server having not to find anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    *Possible Tips:- *
    • 404 is an HTTP response code that indicates that the resource in question couldn't be found. Usually this is due to an incorrect URL, so it is better to cross check all URLs. Check pipeline URL in the SLD in the business system of the Integration Server For this go to SLD->Business System-><yourIntegrtaion Server>->Pipeline URL: It should be like this http://<host>:<port>/sap/xi/engine?type=entry Where host is the host name of the Integration Server and port is the HTTP(8xxx) port. To verify this in Integration Server you can do like this. Go to SXMB_ADM->Integration Engine Configuration->Choose Edit from Menu -> Change Global Configuration Data to switch to change mode. Then select System Landscape - Load Configuration. (This is not required always)
    • Check that the port really is the ICM HTTP Port and not the J2EE port i.e SMICM then menu GOTO --> SERVICES and check the port number for HTTP. It should be HTTP port
    • If the error is Page cannot be displayed, cannot find server in https configurations Check and correct the SSL configuration for the ABAP and the J2EE side of the system
    • If the error is because of integration server when using Proxy communications then check these. i.e SXMB_ADM->Integration Engine Configuration->Corresponding Integration Server enrty should be dest://<Http Integration server-Destination> Where < Http Integration server -Destination > is the RFC destination (SM59) of type HTTP connection (type H) to the Integration Server. In this case, host name, port, and path prefix are saved in the RFC destination
    Refer below link
    /people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi
    Thanks
    Swarup

Maybe you are looking for

  • How to move external hard drive (time machine) off airport extreme network?

    For several years now, I've had an external hard drive connected to my airport extreme and it's servered as an awesome external back-up of my Macbook via Time Machine.  However, now I've had to remove the external hard drive from my network (that's a

  • Oracle 10g Release 2 and Ubuntu 7.10 Install

    Hello: I just successfully installed Ubuntu 7.10. I need to install Oracle 10g for Ubuntu. Does anyone know where I can find documentation on a complete install of Oracle 10g onto Ubuntu 7.10? I am new to Ubuntu so the more info the better. Thank you

  • Very slow PDF printing on Canon MG7550 printer

    Hi, When I print large PDF files (25 pages) using network or cable it prints very slow. It lasts forever before the print job has been sent to the printer. When the print job is finally received there can be 1-2 minutes between each page. It just sto

  • Use a MacPro hard drive in something other than a MacPro?

    Hi gang, The local Apple Store is one of the only places that sells internal SATA 1 TB hard drives. I wanted to buy some of these to populate an external RAID array. I was a little spooked when I noticed that the Apple website lists these drives as f

  • Preloader flash in iWeb '08

    How can I add a preloader flash in iWeb? I've already found a preloader on http://flash.html.it/movie/lista/9/preload/, but I don't know how add in iWeb. Thanks