Proxy to JDBC scenario data to be fetched from two dB

Hello all,
we have a  requirement in which  the data is sent from an abap program and using PI it will fetch the data from DB at client side,
and we need to display the data in the report program.
As we need the real time data and need to be displayed back in the Report program the processing time should be less than 30 sec.
We have tried the scenario using synch Proxy-synch jdbc and we are getting the data with in time but we tried this with 1 DB.
But now we have requirement change and  we need to look the data in 2 Data bases.
we need to pass data through  client proxy(Synch) to PI and it should check the data in 2 DB and send back the data.
the data sent back from the DB, we need to show in our ABAP program.
Please send in your inputs so that i get some pointers regarding this requirement.
Thanks
Karandeep Singh

HI Vijayashankar,
Thanks for your reply.
Please brief me the steps for using fork in BPM.
Thanks
Karandeep Singh.

Similar Messages

  • Two Receiver DB in Synchronous Proxy to JDBC Scenario?

    Hey,
    Is it possible to develop a synchronous proxy to JDBC Scenario that have two different DBs as Receiver?
    The response Datas are insert_count and update_count.
    Thank.

    Park,
    You can't have more than one receivers in Sychronous case. If you designed the scenario , then u will get the error as "TOO_MANY_RECEIVER CASE_BE".
    -raj.

  • PROXY TO JDBC scenario

    Hi All,
    I am working on PROXY to JDBC scenario upto yesterday its working fine.
    Today I, am getting "Time limit exceeded" error in QRFC monitoring  and message showing with GREEN COLOUR FLAG (RECORDE) in PI SXMB_MONI.
    Please help me to salvoes this error.
    Thanks and Regards,
    MFH

    Hi All,
    First of all thanks for all your early replays....
    "TIME LIMIT EXCEEDED" QRFC Problem is indicates that when we processing large volume of messages to external or internal systems in this case specified time limit in SM59 is not enough to process the message so that please increase TIMEOUTS...TIME LIMIT EXCEEDED error will be solved.
    With Regards,
    MFH

  • Proxy to JDBC scenario need dynamic sql query for sender .

    Hi Experts,
    I am developing proxy to jdbc scenario. in this i need to pass dynamic sql query  whre we are passing classical method like below.
    while we are passing select stmt in constant and mapped with access field  and key field mapped with key field.
    MY requirement is like instead of passing select stmt in constant where i can generate dynamically and passed in one field and mapped with access field.

    Hi Ravinder,
    A simple UDF or use of graphical mapping functions in most cases should provide you everything you need to construct a dynamic SQL statement for your requirement.
    Regards,
    Ryan Crosby

  • Data not getting fetched from Quotation to Contract

    Hi,Myself new to TM. I have a ticket mentioning data not getting fetched from quotation to contract. How to solve it? Please help...
    Message was edited by: Michael Appleby

    Please add the version of the TM product and which SPs have been installed.  Also more information on the quotation and contract.
    What do you mean by ticket?  It you mean an error message, from where are you reading the message?
    Regards, Mike
    SAP Customer Experience Group - CEG

  • Data coming in receiver side by using proxy to jdbc scenario

    Hi experts ,
    I have scenario Proxy (client proxy) to JDBC (IVR system) Asynchronous method,
    I execute se38 its working fine and go SXMB_MONI here also success flag  in development server  same way I checking PI side also SXMB_MONI everything fine  but data not coming IVR side if write select query
    In runtime workbench the Communication channel status id green  and Message processing completed successfully
    My question is when I writing select query like select * from table name ,Why data not coming  receiver side ?   execute  query here IVR side also mention  query status is successfully ,but IVR side  data not coming, I have access right in receiver side
    Please provide valuable inputs.
    Thanks
    INASH NALLA

    Refer the following link for more details:
    http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm
    Also, in the reciever JDBC adapter you dont write a SQL query anywhere but it is the target MT structure and corresponding mapping,which generates the query.
    Refer the blog:
    http://www.riyaz.net/blog/jdbc-adapter-configuration/technology/ 1200/

  • Performance issues in Proxy-XI-Jdbc scenario

    Hello,
    I have developed a proxy to JDBC synchronous scenario.
    My scenario works like this.
    *i run an abap program which calls a client proxy,
    the proxy fetches the data from database table and returns the data in the ABAP program.(select query)
    there are serious performance issues when we are running the report
    it is taking around 2-5 minutes and at times multiple users are logged in , it takes around 5-20 minutes.
    it seems that most of the time is consumed in the data fetching.
    please help me to find some solution so that we can fine tune the performance on the PI side.
    Are there any options on JDBC CC which can help  us in making the queries faster
    thanks
    kannu.

    Kanu16 ,
    Issue seems to be at r/3 end..
    1. Make sur ethat report program is using select query in proper fashion .
    2. avoid using nested loops.
    3.  Hope not much validations are being done on selected data .
    Abaper can help you optimizing this .
    By debugging you can find out the exact reason behind.
    Regards ,

  • Reg. Client(ABAP) Proxy to JDBC scenario

    Hi All,
    I am working on a scenario of Proxy to JDBC. The scenario goes like this.....
    SAP is the sender and I need to fetch data from the database table at the R/3 end and update in the legacy system at the receiver end .
    Can anybody guide me apart from PI configuration, the settings need to be done at the R/3 end in the transaction sproxy i.e. the ABAP class and objects. Also let me know if I need to trigger the interface weekly once, is it possible to trigger it automatically by using ABAP  class and objects else I need to write an ABAP program in order to trigger the interface.
    Thanks for understanding in advance.
    Regards,
    Neethu Chordia

    Hi,
    Can anybody guide me apart from PI configuration, the settings need to be done at the R/3 end in the transaction sproxy -
    As Raj suggested please search on SDN, you will find lot of links on this.
    Also let me know if I need to trigger the interface weekly once, is it possible to trigger it automatically by using ABAP class and objects else I need to write an ABAP program in order to trigger the interface. -
    >For this you need to write Abap class program and override method "Execute asynchronous" this will send the SAP R3 data to XI and then you have to configure job on R3 to run this program periodically as per your requirement.
    Divyesh Vasani

  • An error Handling in Asynchronous Proxy to JDBC Scenario?

    Hey,
    In my scenario, we'll send data from erp to third-party database.
    If it occurred an error while saving the data to database, I want to manage that error in ERP.
    Is it possible to make this scenario with asynchronous proxy to JDBC?
    If it was possible, how should do I?
    Thank you,

    Also
    go thru the following thread (Similar problem discussed)
    Re: RFC to JDBC response
    regards
    krishna

  • RFC to JDBC Scenario, Date Transformation error

    HI All,
    I am trying a RFC to JDBC scenario where I am taking date from SAP in SAP Format i.e. 'yyyy-MM-dd' & sending this to oracle DB Where the format is 'MM/dd/yyyy'.
    In Runtime Workbench I am getting Following error: 'java.sql.SQLException: ORA-01843: not a valid month'.
    Can anybody help me on this.
    Thanks & Regards,
    Ruchi Agrawal

    Hi Bhavesh,
         The Date Problem is Solved. It is Working fine with your UDF code. There were some small changes in your UDF.
    Here is the modified code:
    String b="";
    try
    java.text.SimpleDateFormat sdf= new java.text.SimpleDateFormat("yyyy-MM-dd");
    java.util.Date date = sdf.parse(a, new java.text.ParsePosition(0));
    java.text.SimpleDateFormat sdf1= new java.text.SimpleDateFormat("dd-MMM-yy");
    StringBuffer sb = new StringBuffer();
    sdf1.format(date, sb, new java.text.FieldPosition(0));
    b=sb.toString();
    catch(Exception e)
                                                  e.printStackTrace();
    return b;
    Thanks,
    Ruchi

  • Data fetch from two table without refresh

    hi Friends,
    I have a problem i want to extract data from two table without refresh into text field when i'll enter any value in a text field then corressponding value should come in to corressponding textfield.
    eg. there two table A and B.
    Table A has Colunm
    s_id Number;
    c_id Varchar2(30);
    sec varchar2(4);
    Second Table B Colunm Name
    s_id Number;
    f_name varchar(30);
    l_name varchar(20);
    when i enter s_id 101 in a text field then the c_id ,sec,first_name and last_name should come in to corressponding text fields without refresh.
    How Can I do this.
    Thanks
    Manoj

    Hi Manoj,
    You have to make an Ajax call to display data without refreshing the page. Search this forum for Ajax and you can find lots of related posts. This link might help too. http://www.dba-oracle.com/t_html_db_apex_ajax_application_express.htm
    Thanks,
    Manish.

  • Combining Data into one Cube from two Data-sources..

    Dear Experts,
    I am pulling data from two data sources and trying to combine in one Info-Cube. The data are like
    Data-Source 01
    1. GUID  --Common
    2.Document No ( User Entry)
    3.Dist. Channel
    4.Transaction Type
    5.Date and Quantity
    Data-Source 02
    1.GUID -- Common
    2.Billing Document ( If User drill down according to Document No , Billing Document should come in the report )
    3.Billing date
    4.Net Value
    Out of the datas , The GUID is common between the 2 data-sources.  I was thinking that, tha data will take according to its place and If i select the Document No in Report, it will atomatically fetch all the data like Tran type, dist ch, Billing Document No , Billing date.. .
    The problem is , in the report Tha data is not coming as I was thinking.
    And Another problem is , In future I need to create a Multiprovider between the above mentioned Info-cube and One ODS. And  DOCUMENT NO is common in Cube and ODS.
    Please Suggest,
    How can I proceed for the following requirement.
    Thanks,
    Sanjana

    Hi Sanjana,
    In your case cube will create a problem because it will have multiple records . For example :
    Data-Source 01 :
    1. GUID -- 101
    2.Document No - 999
    3.Dist. Channel - DL
    4.Transaction Type - GPRO
    5.Date and Quantity - 20.02.2011 & 20
    Data-Source 02
    1.GUID -- 101
    2.Billing Document - 6000
    3.Billing date - 03.03.2011
    4.Net Value - 500
    Your cube will have 2 records . And your requirement is to show above two records in 1 record in the report .
    Why dont you make an ODS in between , where you can put GUID as the Key field and rest all the fields as data fields. Create 2 transformations to this DSO from the 2 datasources . And let it get updated one by one . Your DSO will have 1 record only . Now either you do reporting on this DSO or take the data to the cube .
    Hope the above reply was helpful.
    Kind Regards,
    Ashutosh Singh
    Edited by: Ashutosh Singh on May 19, 2011 1:34 PM

  • Structure to be maintained in proxy to jdbc scenario

    Hi all ,
    There is a field Flag ,which receives the value from the database table.if the flag value is 0 then nothing should be done ,if the flag value is 'S' then the correspong record must be removed from the JDBC data base table.
    I am already using the action UPDATE_INSERT for over writing the existing record.
    In the ztable ,I am maintaing a zield Flag(change indicator).If this change indicator is S then, record must be deleted from jbdc.
    How to maintain jdbc structure .
    Thanks,
    Srinivasa

    Can I use structure as this one?
    Target->Statement->Attachments-
    action=UPDATE_INSERT
    table=Mytable
    ->access-
    Field1
    Field2
    Field3
    Field4 ->
    <Statement>
    <Mytable action=u201DDELETEu201D>
    <key1>
    <Field1>S</Field1>
    </key1>
    </Statement>
    Here I am using both Update_insert and Delete operations on same table.
    Thanks,
    Srinivasa

  • Data to be fetched from legacy system to SAP and doc needs to bee posted

    Hi Experts,
    I have a requirement where my client is using some application in Legacy system(Fuel Software) which receives fuel(Petrol, Deasel, CNG) in system and issue the same to company owned vehicles and wants that sap should be integrated and document also needs to be posted in sap for all the receivings and isssuences against their vehicles.
    Process Designed is:
    1. Required Data file will be picked from legacy system with some date stamp and will be placed in sap directory.
    2. There will be batch job which will check for new file based on date stamp.
    3. Will pick record n will pass to Goods_mvt_create bapi and then will post the document.
    4. We have created Vehicles as Internal orders in sap and whenever any issue will be there internal order no will be captured.
    5. By this way we are receiving and issuing in sap.
    Now my problem is i am stuck in designing step 1 and rest 2,3,4,5 steps have already been designed and working fine. Need your help in step 1. Else you may suggest some better way-out but again want to mention rest steps are already mapped
    Thanks in advance..

    Hi Ashutosh,
    You can use functions:
    FTP_CLIENT_TO_R3
    FTP_COMMAND
    FTP_COMMAND_LIST
    FTP_CONNECT
    FTP_COPY
    FTP_DISCONNECT
    FTP_R3_TO_CLIENT
    FTP_R3_TO_SERVER
    FTP_SERVER_TO_R3
    FTP_START_REG_SERVER
    FTP_START_SAPFTP
    FTP_STOP_REG_SERVER
    FTP_VERSION
    which allow you to connect from SAP ERP to any FTP server (if the legacy has it). You can validate the sample program RSFTP007.
    Regards,
    Juan

  • How does one access data in the cloud from two different computers

    This isn't a problem but a question anticipating a possible problem.
    I have a MacBook Air running os X (version 10.8.2) and a desktop iMac runing 10.7
    I notice that when I create a PAGES document on the Macbook Air, it automatically saves to the cloud with a tef extension unless I force the file to save to the hard drive.  Data on the hard drive is backed up, of course.  But there are files saved to the cloud that are not saved to my external time machine drive.
    If I lost the drive on the MacBook Air, can I retrieve the files in the cloud?  I have the other computer, but I don't think that OS 10.7.x can access those cloud files and I've been told that the iMac can not be upgraded to 10.8
    Even if I could load 10.8 on the IMac--how would I get to those files if I am not on my personal MacBook Air?  What's the key to retrieving that data?  I've checked some of the manuals that I have and they very happily tell you how to save files to the cloud.  There's no discussion on what to do if things go wrong. 
    I know how I would retrieve my oracle data here at work if I was sitting at another terminal--what's the equivalent process if I was sitting at another mac machine?

    Documents saved via the applications in 10.8 can be accessed from iCloud.com on any computer providing you have a mobile iWork application.
    Whilst documents are saved to iCloud on your 10.8 Mac, they are also written locally and therefore backed up with something like Time Machine.
    if you did update your 10.7 Mac, things would merely become easier, you could access documents saved in (say) pages on one Mac in Pages on the other.

Maybe you are looking for