JDBC to RFC  Scenario large data

Hi,
I have jdbc to rfc scenario. I have no problem with the small size data (about 10 mb ). if resultset is very large ( about 80 -120 mb ) , i received resultset and proceess it  but when PI try to send these data to RFC it stucks status Scheduled in sxmb_moni , and in rwb is  to be delivered and doesn't send to rfc.
What can i do ?

Since you are using JDBC as sender, I would think you query from the sender and resultset is mapped to RFC for the target system. PI  gives optimum performance upto 5 mb message size. YOur message size is pretty big.
Suggestion:
A) Make a minor change and do the query to result less records.
Example: Select Fields from tablename where rownum < 500    and
               in update statement set flag = true for the read records so that next time you will not reread those old records again and every time you query only for 500 or  300 or your desired number records and keep the  mesg size always constant irrespective of data available.
Hope that helps.

Similar Messages

  • JDBC TO RFC SCENARIO

    Hi,
    I am tryiing JDBC TO RFC SCEANRIO.
    XI is picking data from MS SEQUEL SERVER but
    the same data is not getting mapped into RFC
      I am not getting any error as such.
    Following are the details.
    made a datatype
    resultset
         row
         EmployeeID
         LastName
         FirstName
    message mappping
                                    RFCFORJDBC
         resultset                      outab
                row                        item
                  EmployeeID----
    Empno
                  FirstName
                               concatenate--- Empname
                  Lastname
        But for some odd reason
        the OUTTAB FOR RFC
         is coming like this in message
          <?xml version="1.0" encoding="UTF-8" ?>
    - <p3:ZZTESTXIJDBC xmlns:p3="urn:sap-com:document:sap:rfc:functions">
      <OUTAB />
      </p3:ZZTESTXIJDBC>
    while payload is getting picked correctly
    <?xml version="1.0" encoding="utf-8" ?>
    - <resultset>
    - <row>
      <EmployeeID>9</EmployeeID>
      <FirstName>Anne</FirstName>
      <LastName>Dodsworth</LastName>
      </row>
      </resultset>
    Kindl help with the same

    Hi,
    t' was namespace.
    It solved issue.
    Besides
    the sql statement
    select EmployeeID , FirstName ,LastName from Employees where EmployeeID > 7
    and the output is
    <?xml version="1.0" encoding="UTF-8" ?>
    - <p3:ZZTESTXIJDBC xmlns:p3="urn:sap-com:document:sap:rfc:functions">
    - <OUTAB>
    - <item>
      <EMPNO>8</EMPNO>
      <EMPNAME>Laura Callahan</EMPNAME>
      </item>
    - <item>
      <EMPNO>9</EMPNO>
      <EMPNAME>Anne Dodsworth</EMPNAME>
      </item>
      </OUTAB>
      </p3:ZZTESTXIJDBC>
    but I see only one record is getting updated
    <EMPNO>9</EMPNO>
      <EMPNAME>Anne Dodsworth</EMPNAME>
    what could be the reason for that

  • JDBC to IDOC Scenario - select data in jdbc based on multiple conditions

    Hello
         I have a JDBC to IDOC Scenario. I have to select the records in JDBC based on different conditions each time. For example I have to select based on company code '1000' and Employee claasification 'E1' and date range. After I post these records in SAP again I want to select other records for some other company code '2000' and different business area and different dates. Basically I want to extract data multiple times based on different conditions.
    Hiow do I achieve this?
    Another question is in the JDBC to IDOC scenario since the sender adapter is JDBC and the sender adapter polls depending on the duration of time ( say 60 secs ) in the adapter once after I extract the data based on a condition how do I control in such a way that the same data is not extracted again.
    Thanks
    Naga

    Hi Naga,
    I have to select the records in JDBC based on different conditions each time. For example I have to select based on company code '1000' and Employee claasification 'E1' and date range. After I post these records in SAP again I want to select other records for some other company code '2000' and different business area and different dates. Basically I want to extract data multiple times based on different conditions.
    -->
    Such requirements cant be handle through select query of the sender...but you can handle this in the message mapping area.....you can fire a select query in the database to pick up records in a batch of 10K (do not keep any condition on this except for sorting). After the records come into PI you can send the message to your target based on the unique combination of "Company code+ Employee clasification + date range" handling this in the message mapping.
    Another question is in the JDBC to IDOC scenario since the sender adapter is JDBC and the sender adapter polls depending on the duration of time ( say 60 secs ) in the adapter once after I extract the data based on a condition how do I control in such a way that the same data is not extracted again.
    You can use the N--> C logic
    The data records that you pick have a corresponding control table i assume. There should be a field STATUS where the initial status of record should be N.
    After you pick the records this status should be made C so that only those records present in the database with status = N are picked up.
    Mention the condition Status = N in the select query.
    Thanks
    Dhwani

  • JDBC-XI-RFC Scenario

    Hi all,
    Our XI Server is on linux platform and i put TRANS.mdb database file of MS Access on this machine.so for this scenario, i follow below blog.
    /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
    so according to this & requirement in sender JDBC adapter parameters.
    JDBC Driver: <b>sun.jdbc.odbc.JdbcOdbcDriver</b>
    Connection: <b>jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=//edb/TRANS.mdb</b>
    But in Communication Channel monitoring ....ERROR message that is
    <b>Error during database connection to the database URL 'jdbc:odbc:Driver={Microsoft Access Driver (.mdb)};DBQ=//edb/TRANS.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=//edb/TRANS.mdb': SQLException: [unixODBC][Driver Manager]Data source name not found, and no default driver specified'</b>
    so Shall we need unixODBC Driver for XI server of Linux platform?
    I downloaded this unixODBC driver form http://www.unixodbc.org/
    I try to install it but Error is same.
    so tell me, How can i configure & Deploy it on XI Server???
    Please give document & require points for deploy unixODBC Driver on XI server.
    Regards,
    Umesh Laxkar

    Hi,
             Thanks for u'r responces,
    but I am getting <b>RED Status in Sender JDBC Adapter.</b>
    so here, I develop a java program of JDBC Connection for MS Access. This program is <b>working</b> File.
    In this program, I use below statemants.
    <i><b>Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver");
    String url = "jdbc:odbc:employee_data";
    Connection con = DriverManager.getConnection(url," "," ");</b></i>
    One think more, MS Access Database is on different machine<b>(IP Address= 192.168.100.xxx)</b> rather than on XI Server<b>(IP Address= 192.168.100.yyy)</b>.
    so Please tell me, about our sender JDBC Adapter that what parameter i have to pass?<b>
    1. JDBC Driver,
    2. Connection and
    3. Shall i have to install FTP server on 192.168.100.xxx machine?
    ??</b>
    Please guide me......I need u'r Inputs.
    Regards,
    Umesh Laxkar

  • JDBC 2 RFC Scenario

    Hi Experts,
       I have a scenrio JDBC -PI7.1- RFC syn. I got a table in JDBC . First i have to read the table and responce i need to update back to same table..
    Jdbc table:
    H     Delivery no  stutus  cust  addre    XX     XXXXX   XX  XXXXX
    D     Delivery no     XXXX   XXX     XXXX   10     materail1  10  100.00
    D     Delivery no     XXXX   XXX   XXXX    20     material2  20  200.00
    D     Delivery no     XXXX    XXX   XXXX    30     maserial3  3   300.00
    H
    D
    D
    H :header D: details  XX: empty space
    If the table is like that. How can i create sturucture in PI as source side ?
    What are the steps need to follow for RFC to JDBC syn scenrio ?
    Note : In the table H D D ,like that repeating headers and items
    Do you recomend , change request from oracle structure ?
    Regards,
    vasu
    Edited by: vasudeva gembali on Sep 22, 2010 4:51 AM
    Edited by: vasudeva gembali on Sep 22, 2010 4:54 AM
    Edited by: vasudeva gembali on Sep 22, 2010 4:55 AM

    Hi Sateesh,
    These are the colum fields.
    DELIVERY_ID             VARCHAR2(40)     H/D     Delivery Number
    FLAG_STATUS  
    CUSTOMER_NO             VARCHAR2(30)     H     Customer Number
    SAP_CUSTOMER_NO             VARCHAR2(30)     H     SAP Customer Number from Attribute 8
    SHIP_TO_NO             VARCHAR2(30)     H     Ship to number
    SHIP_TO_ADDRESS1     VARCHAR2(240)     H     Ship to address 1
    SHIP_TO_ADDRESS2     VARCHAR2(240)     H     Ship to address 2
    SHIP_TO_ADDRESS3     VARCHAR2(240)     H     Ship to address 3
    SHIP_TO_ADDRESS4     VARCHAR2(240)     H     Ship to address 4
    SHIP_TO_CITY             VARCHAR2(60)     H     Ship to city
    SHIP_TO_POSTALCODE     VARCHAR2(60)     H     Ship to postal code
    LINE_ITEM             VARCHAR2(6)     D     LINE ITEM NUMBER
    INVENTORY_ORG             VARCHAR2(10)     D     Default u2018DS1u2019  u2018DRS2u2019
    CUST_ITEM_CODE             VARCHAR2(40)     D     Customer Item code
    GF_ITEM_CODE             VARHCAR2(40)     D     Internal Item code
    ITEM_DESCRIPTION     VARCHAR2(240)     D     Item Description
    PLAN_ISSUE_DATE             DATE             D     Schedule Shipment Date
    QUANTITY             NUMBER???     D     Shipment quantity
    UOM                     VARCHAR2(3)     D     Unit of Measure

  • Removing ABAP dump when JDBC is down in RFC- JDBC- RFC scenario

    Hi All,
    I need help to build one scenario.
    I am working on RFC->XI->JDBC->XI->RFC scenario. It is working fine.
    But problem is that whenever JDBC server is down RFC is giving ABAP dump in SAP. How can i Remove ABAP dump in SAP and give information to RFC that "JDBC is out of order"
    Is it possible to implement without BPM, then How?
    If not possible then what could be the steps of BPM?
    Thanks & Regards

    Rohan,
    1.Recive Step should open the Synch - Asynch Bridge
    2. Block Step --> Send Synchronous inside this step with an Exception Hanler.
    3. Now in the exception ahndler step, do the necessary error handling requirement.
    4. Send Step --> closes Synch Asynch bridge.
    My question is what data do you want to send back to the RFC if the DB is down? This data should be populated inside the exception handling block and then this data should be mapped to the corresponding RFC response and used in the step 4.
    Regards,
    Bhavesh

  • Can you explain steps in the Async and Sync scenarios JDBC to RFC.

    Hi,
    Can you explain some basic steps in the Async and Sync scenarios for sending data from JDBC to RFC.
    Like,
    The data is picked up from the  database table through JDBC adapter.
    It is passed on to SAP  by calling the RFC. RFC gets executed         
    successfully. The status is returned by the RFC. The status needs to be
    updated back into the SQL database table.
    Is this a sync case or async case.
    What si the diffrences in the sync and async scenarios in the above JDBC to RFC scenarios.
    Soorya

    hi check the below link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5474f19e-0701-0010-4eaa-97c4f78dbf9b
    JDBC Synchronous call using BPM  
    Data Types -
    1) File Input
    2) JDBC Req
    3) JDBC Response
    4) File Response of similar type of JDBC Response.. ( This you can avoid also..let it be for first time)
    Message Types
    4 for each data type
    Message Interfaces
    1) Async, Outbound, Interface, to receieve the file
    2) Async, Inbound , Interface to send the file from XI
    3) Async, Absract , Interface of type File message type to recieve the message in the BPM
    4) Sync, Abstract Interface with Req message type as File Request, and Response Message type as a file Response
    5) Sync , Inbound interface for JDBC with Input message type as a JDBC Request and Output Message type as a JDBC Response
    Message Mapping:
    1)Mapping between File Req to the JDBC req
    2) JDBC Response to File Response
    Interface mapping:
    1) Sender Interface as a Sync,Abstract Interface created for the file type and target interface as Synchrnous JDBC interface.
    Use corresponding mapping for Req and Resp..
    note:reward points if solution found helpfull.....
    regards
    chandrakanth.k

  • JDBC to RFC data is not showing in RFC palyoad

    Hi,
    I am doing JDBC to RFC scenario. I configured the scenario while i executed the scenario JDBC communication chennal i can see the payload and its picked the data orom Oracle.
    when i check in SXMB_MONI message showing scucess and request for message mapping i can't see any data in payload.
    I am tried to use the Test coniguration and its showing success and its connected to RFC but while running the scenario the data is not in payload.
    RFC communication chennal also showing green and when i click the message in payload i could't see any data.
    Pls help me on this
    Thanks,
    Venkat

    Hi,
    I have checked the sxmb_adm the Logging=1 and server restarted even the same msg.
    I have checked the runtime workbench the msg showing success and when i click the details the payload is empty.
    I have tested the scenario through ID with mapping
    this is the payload from SXMB_MONI
    <?xml version="1.0" encoding="utf-8" ?>
    - <ns:mt_bc_tran_sender xmlns:ns="http://testxi.com/oracle/test">
    - <row>
      <SET_ID>6</SET_ID>
      </row>
      </ns:mt_bc_tran_sender>
    Request message mapping
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:_-BIC_-CQZOMD_ZL00004000 xmlns:ns1="urn:sap-com:document:sap:rfc:functions">
    - <DATA>
    -   </item>
      </DATA>
      </ns1:_-BIC_-CQZOMD_ZL00004000>
    I have tested in message mapping and Interface mapping its working fine
    Thanks,
    Venkat.

  • RFC- XI- JDBC- XI- RFC

    Hi All,
    Can we do RFC->XI->JDBC->XI->RFC scenario without BPM?
    In this SAP-RFC executed with SELECT and Table name
    And SAP-RFC expect data from JDBC connection.
    If not then what could be the expected steps of BPM?
    Regards

    Hi,
    Are you talking about a Sync call. I mean are the Sender and Receiver RFC are the same. If it is a Sync step you can do without a BPM.
    Like RFC will initiate the process the XI and the the data is selected from JDBC and the response is given back to RFC.
    If the above is not the case you can avoide using BPM by having to separate scenarios.
    1. Scenario 1 RFC --> XI --> JDBC
    2. Scenario 2 JDBC --> XI --> RFC
    If there are some dependencies or due to some constraints if you need to use BPM then you will have the steps like
    Receiver Async(RFC)Send Sync(JDBC)Send Async(RFC)
    Thanks,
    Prakash

  • JDBC-XI-FILE scenario. How to extract data from more than one table in JDBC

    Hi,
    I was asked a question like in JDBC-XI-FILE scenario........ How to extract data from more than one tables (i.e from JDBC system) ?? What is the logic to do the same ??
    I am not sure whether this is a valid question..........but any help in this regards is highly appreciated.
    Regards
    Kumar

    HI,
    Yes it can be possible ,please see the following links
    JDBC  Receiver with Oracle Stored Procedures
    configuring jdbc adapter with multiple tables
    RFC -> XI -> JDBC Scenario Updating Multiple Tables
    /people/alessandro.berta/blog/2005/10/04/save-time-with-generalized-jdbc-datatypes
    JDBC Adapter multiple Selects
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=jdbc%20with%20multiple%20tables&cat=sdn_all
    Regards
    Chilla..

  • JDBC to RFC synchronous scenario (Urgent).

    Dear forum,
    My requirement is data is populated in oracle data base.we are fecthing the data from database through XI and sending it to R/3. RFC is sending the response (suceess/failure) to XI. And XI is updating the status message into database.
    For this,I have done the JDBC - RFC - JDBC syncronous scenario using BPM. .I got the successfull message under message monitering.Problem is I cannot able to find the data for RFC and JDBC reciever.
    Please find the following Configuration steps for the above scenario
    3 data types
    JDBC request, JDBC response one dummy structure to capture RFC response messages.
    3 message types for the above data types
    5 message interfaces.
    OB request,
    OB ABS request,
    IB Asyn for dummy,
    Syn ABS (JDBC req and dummy structure),
    IB JDBC response.
    4 message mappings.
    Mapping between JDBC request to JDBC request dummy.
    Mapping between JDBC request dummy to RFC request.
    Mapping between RFC response to JDBC response dummy.
    Mapping between JDBC response dummy to JDBC response.
    3 Interface Mappings.
    JDBC request to JDBC request dummy.
    JDBC request dummy to RFC request and RFC response to JDBC dummy response(Synchronous request and responce) .
    JDBC dummy response to JDBC response.
    Integration Process.
    Used following steps.
    Recieve step asynchronous -> Send synchronous -> Send asynchronous
    I can able to see the payload for sender under communication channel.But the data is not reached to RFC.can any one help me to come out of this problem.
    Points will be awarded for helpfull answers.
    Thanks & Regards,
    Naresh.K

    Hi Seshagiri,
    We are trying the same scenario with out using BPM.
    Following steps has been done in design(IR).
    2 data types for JDBC request & JDBC response.
    2 message types for the above data types.
    1 outbound synchronous message Interface.
    2 message mappings (JDBC request -> RFC request) and (RFC response -> JDBC  response)
    1 Interface Mapping.
    Could you please let me know how to maintain the collaborative profiles & and agreement details in Configuration(ID).
    Your valuable assistence is required to complete the interface.
    Thanks in advance.
    Kind Regards,
    Naresh.K

  • Jdbc to rfc to jdbc scenario is not working

    Hi...
    We have done the JDBC to RFC to JDBC scenario using BPM, it was working fine in the last month. now we started testing the same scenario, that is not working. In SXMB_MONI it is showing only sender data is successful, it is not showing any RFC Receiver data & Jdbc Receiver data. in the CCM also Jdbc Sender CC is showing successfull and it is showing the successful messages also, but in RFC Receiver CC
    & JDBC Receiver CC it is not showing any thing.
    please help on this...
    Regards,
    Pasi.

    Hi
    Check u r RFC response (put external break point)
    and check wether it has data
    rgds
    srini

  • JDBC(using stored procedure) to RFC Scenario

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

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

  • Problem in storing data in BAPI in File to RFC Scenario

    Hi everyone,
    I m doing File to RFC Scenario.......I completed design and configuration part and actived the Communication Channels.....
    Now when I check in Runtime workbench I am getting succefully executed both at outbound and Inbound Channels.......but
    data is not updated in BAPI...........
    I m getting following error when I check in Component monitoring......
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: RfcAdapter: receiver channel has static errors: configuration exception caused by: com.sap.aii.af.rfc.core.config.RfcChannelInactiveException: channel has status inactive: com.sap.aii.af.rfc.afcommunication.RfcAFWException: RfcAdapter: receiver channel has static errors: configuration exception caused by: com.sap.aii.af.rfc.core.config.RfcChannelInactiveException: channel has status inactive
    Please help me out.......
    Regards,
    Sudheer.

    Hi
    "I took Business Service as Service but not Business System.....Will it effect the scenario???......"
    I suggest While dealing with the SAP Systems we should use Business systems.
    Pls check the foolowing Threads for the above Query
    RFC - Business Service
    Re: business service for file to rfc
    Regards
    Abhijit

  • MessageExpiredException error in JDBC - RFC scenario using BPM.

    <b>Scenario:</b> JDBC( Asynch)- RFC( Synch)- JDBC (Asyc)
          We are using XI to read oracle table records to insert the records in R/3 and after the insert in R/3 we return a sap code to update in oracle db.
    When we try to process 10 or less rows from db, the process is successfully running, but when we try processing more records we are getting the following error. We tried increase the timeout setting in RFC adapter as per the SAP note and forum. 
    <u>Detailed error: </u>
    <b>com.sap.aii.af.ra.ms.api.MessageExpiredException: Message 443jdjsd-e432-2ec8-e100-000046eb2e5f(INBOUND) expired.</b>
    If I use correlation in asynchronous RFC instead of synchronous RFC, will this solve the problem or is there any better solution for this ?
    Any useful steps to change the synchronous RFC to asynchronous RFC in BPM would be great.
    Thanks
    Steve

    Hi,
    <i>1. Any suggestions to meet this requirement in XI ?</i>
    >>>One option is using ABAP Proxy . Instead of calling Sync. RFC, call synchronous Proxy. So your client proxy, should receive all 200-300 rows at a time, and inside the proxy, and call the RFC. Once all the reocrds are processed, send the response back to BPM
    You can try out this.
    I think, probably you may require to do looping for each Row.i.e For each row the call the RFC.. As of now try to go with Proxy.
    Also try to findout, why the RFC is taking that much of time.. So check for the provision of  tuning in the RFC side..
    Hope this helps,
    regards,
    Moorthy
    Message was edited by: Krishna Moorthy P

Maybe you are looking for

  • Copy transfer structure transfer rules from one client to other client

    Hi Our R3 client 100 is mapped to BW client 100. R3 client 100 is source system in BW. As the master data is created by users in R3 client 200 we want to get the data from client 200 to BW. We dont want to replicate each datasource and do all stuff f

  • Db Console service  not getting started

    Hello, I am trying to start DB console from services and also from the command prompt.Its not getting start from both. The database is up and running. Even the Isqlplus service is running successfully. Any idea why the DB Console could not be getting

  • PC-UI check code behind Tabs

    Hi all, Does anybody know how to see which ABAP code is triggered when pressing a Tab in a PC-UI application? In CRM5.0 I'm using the Individual Objects (CRMM_PRD_IOBJECT) PC-UI application, and I want to check what is done behind when we go to the C

  • Hibernate on a G4 desktop

    Is it possible to get hibernate working properly on my MDD G4? I cannot find a way to restart from VM after mains power has been removed for a short period. Here are my settings: neville$ pmset -g Active Profiles: AC Power -1* Currently in use: sleep

  • Yahoo mail loads slow, very slow

    yahoo mail is very slow loading---other sites OK == URL of affected sites == http://