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 ,

Similar Messages

  • Mapping issue in idoc to JDBC scenario

    mapping issue in idoc to JDBC scenario
    source structure
    E1KNB1M
      BUKRS = 1000
    E1KNB1M
      BUKRS=  9000
    E1KNB1M
      BUKRS=  2000
    THE NODE E1KNB1M is repeated many times and the field BUKRS is also repeated with E1KNB1M as above
    TARGET field : ISFRANCHISE
    if any where value of BUKRS =9000 we have to pass Y to the target filed, else N
    if BUKRS = 9000   THEN ISFRANCHISE= Y
                   ELSE
                ISFRANCHISE=N
    I've done the mapping as below
    BUKRS = 9000--> IF THEN Y ELSE N--
    > ISFRANCHISE
    BUT everry time the target value is N only
    pl suggest
    rgds
    mojib

    mapped like this
    BUKRS--->SORT---->
                                                 EQUALS --------IF---THEN    Y
    9000------------------------>                                               ----------------->ISFRANCHISE
                                                                  ELSE   N
    context of BUKRS set to parent node
    its worked
    thanks to all for valuable suggestions
    rgds
    mojib

  • 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

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

  • 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

  • Issue in Proxy to file scenario

    Hi Folks,
        I'm Currently configuring a Proxy to File scenario in the SAP PI 7.0. when I'm trying to test the proxy class I can find in the SXMB_MONI that the sender service, sender interface & the sender namespace is there but the same for the receiver side is blank. When I'm trying to trigger the proxy program I find the same issue. rather I find that there are 2 items present in the monitor one where the sender details is filled but receiver details is blank & the other is sender details is blank but the receiver details id now filled with the sender data i.e. in the receiver interface field the sender interfaceface is being displayed. I checked my receiver determination it's absolutely correct. Kindly help.
    Regards,
      Santosh

    Hi,
       Thanks for your reply, but i think we cannot paste a screenshot in SDN. Atleast I don't know how to do it here.... Can you pls let me know how to do it..
    Regards,
      Santosh

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

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

  • 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

  • Message mapping issue in idoc to jdbc scenario

    We have a scenario of  idoc->XI-JDBC
    the below given segment may get repeated , as shown below ,
    E1EDP19[2]--idoc segment
       QUALF---003
       IDTNR---01000123(Bar Code No)
    E1EDP19[3]--idoc segment
       QUALF---003
       IDTNR---20500000000034(EAN No)
    Reqd mapping
    if QUALF=003
    THEN IDTNR----->Bar_code_Number_EAN
    Now IDTNR has to be mapped with Bar_code_Number_EAN for the segment which comes last
    Pl suggest how to map using graphical mapping for the above scenario.

    Hi Raj ,
    The current mapping works fine if the parent segment E1EDP01 is only one but if that gets repeated then the last value of IDTNR is getting populated in the target side, very clearly i m giving the source and target structure and the mapping done using the UDF
    Source structure
    E1EDP01
           E1EDP19[1]--idoc segment
                  QUALF---002
                  IDTNR---01000123(Bar Code No)
           E1EDP19[2]--idoc segment
                  QUALF---003
                  IDTNR---01000123(Bar Code No)
           E1EDP19[3]--idoc segment
               QUALF---003
               IDTNR---20500000000030(EAN No)
    E1EDP01
         E1EDP19[1]--idoc segment
                    QUALF---002
                    IDTNR---01000123(Bar Code No)
         E1EDP19[2]--idoc segment
                   QUALF---003
                   IDTNR---01000123(Bar Code No)
          E1EDP19[3]--idoc segment
                 QUALF---003
                 IDTNR---20500000000031(EAN No)
    E1EDP01
           E1EDP19[1]--idoc segment
                   QUALF---002
                    IDTNR---01000123(Bar Code No)
          E1EDP19[2]--idoc segment
                  QUALF---003
                  IDTNR---01000123(Bar Code No)
         E1EDP19[3]--idoc segment
              QUALF---003
              IDTNR---20500000000032(EAN No)
    Target mapping
    if QUALF=002
    THEN IDTNR--->Article_No this is the direct mapping so , no issues
    if  QUALF=003
    THEN IDTNR----->Bar_code_Number_EAN, now this IDTNR should get repeated every time  the segment  E1EDP01 gets repeated , currently only the last value form all the  IDTNR is coming to the target side.
    The current mapping works fine if the parent segment E1EDP01 is only one
    Target structure
    Access1
    IDTNR--> Bar_code_Number_EAN( value is 20500000000030)
    Access2
    IDTNR--> Bar_code_Number_EAN( value is 20500000000031)
    Access3
    IDTNR--> Bar_code_Number_EAN( value is 20500000000032)
    Current mapping
    If QUALF = 003
                    Then  QUALF ---->
                                                     mapBarCodeEAN---->Bar_code_Num_EAN
    If QUALF = 003
                    Then  IDTNR ---->
    Context of QUALF is set to E1EDP01
    Context of IDTNR is set to  E1EDP01
    thanks for your personalised help
    rgds
    mojib
    Edited by: mohammad mojib ur rahman on Apr 9, 2010 1:30 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

  • ABAP Mapping for Error handling in Proxy to JDBC

    Hi All,
    I am working on a proxy to jdbc scenario in which we have to throw validation errors to NWPM(Net Weaver Process Monitor Tool)
    I am following the below steps,
    step 1 - In message mapping a UDF is created to catch errors and store them in a variable using  dynamic configuration
    step 2 - writing abap mapping for handling this thrown exception and im reading the dynamic configuration in the abap class and raising exception. The exception format expected is
    SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code>
      <SAP:P1>ZPI_THROW_EXCEPTION</SAP:P1>
      <SAP:P2>001</SAP:P2/>
      <SAP:P3>Mandatory field is missing[BUKRS] </SAP:P3>
       <SAP:AdditionalText />
      <SAP:Stack>No receiver could be determined</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I have written the following ABAP code to achieve this:
    method IF_MAPPING~EXECUTE.
      DATA l_record type mpp_dynamic.
    DATA error type String.
    getting dynamic configuration value
    filled in by any previous mapping
    CALL METHOD DYNAMIC_CONFIGURATION->GET_RECORD
      EXPORTING
        NAMESPACE = 'http://sap.com/xi/XI/System/ERROR'
        NAME      = 'ERROR'
      RECEIVING
        RECORD    = l_record.
    error = l_record-value.
    *raising exception with our message
    RAISE EXCEPTION TYPE CX_MAPPING_FAULT
      EXPORTING
       TEXTID =
       PREVIOUS =
        ERROR_CODE = '001'
        ERROR_TEXT = error .
    RAISE EXCEPTION TYPE CX_MAPPING_FAULT
      EXPORTING
       TEXTID =
       PREVIOUS =
        ERROR_CODE = '003'
        ERROR_TEXT = error .
    endmethod.
    I am gettign the following message for our code:
    SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>No receiver could be determined</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Could you please help in finding the solution for getting currect error message from ABAP class?
    Edited by: SwethaC on Jan 21, 2011 8:18 AM

    The error is due to RFC Call fail from PI system to your ECC Application System.
    Check your RFC Destination for ECC System type 3 in PI System.
    When you are receiving data from ECC System using Proxies & again you are going to ECC System for Validation.
    Why you are not doing this validation on ECC System only in your proxy code ?
    In your proxy code, it will be much better for performance to check your data there on same system.

  • Proxy to JDBC Update

    Hi Friends,
    I have a issue in proxy to JDBC update. there are onley 4 fileds to be inserted  into table..
    And before inserting the fileds into table i need to check whether the fields are there or not if not insert if they are then update,, i need to check all the four fields. for this..
    Any way to solve this kind of issue..
    Regards
    Vijay

    But what is the need of it?
    In both cases you have to perform some action on database.
    1. If records are there then Update
    2.If records are not present then Insert.
    So if even you check the records prior to sending it to database....you have to do the same(Inster or Update) and UPDATE_INSERT is possible with JDBC rec. adapter.
    Then why you need to check it? Is there any business logic behind it? Or you it was jut for practive purpose?
    Thanks
    Farooq

  • Workflow performance issue or not?

    Hello experts!!!!!!
        when several workflow instance is in process and waiting for a document status change to occur, will it be a performance issue?
        I have a scenario in which my workflow is triggered when a document is created, it goes through statuses from 1 to 10 (for ex). Most document will only reach status 7. Is it a good idea to design a workflow which will complete when the document reaches status 7 or there will not any performance issue if the workflow waits for document status to go the stage 10 for its completed.
        your thoughts and suggestions are apreciated
    Thanks
    Prakash

    Hi
    If all these workflow's are waiting for changes that will occur almost simultaneously - the yes, you could be facing a performance issue, (depending on the load and the sizing of your landscape).
    If the flows are triggered using events, I would recommend you to use the event queue.  You can find documentation on how to use / Setup here http://help.sap.com/saphelp_47x200/helpdata/en/17/1adc37d4edec12e10000009b38f8cf/frameset.htm
    Even if your not facing a performance issue, the event queue is still a very good idea, as it can help stabilize your solution.  e.g.  in case of at error in your workflow, you can mark the event, in the event queue as having an error. The queue will then continue to collect the event, without triggering your workflow.
    When you then have fixed the bug, you can reactivate the event queue, and no event will have been lost.
    Regards
    Morten Nielsen

Maybe you are looking for

  • [SOLVED] Passwordless Login

    Hello, How do I make user accounts passwordless?  Or perhaps blank? Thanks. Last edited by RAH (2008-08-20 09:29:19)

  • N:1 Multi mapping Not working !!

    Hi Guys, I have input xml message structure as follows: <ROOT>     <OUTPUT>    ----------------------0..n         <XQ_Segment>  ---------------- 0..1                 XQ_DATA  -----------------0..1                 XQ_Value  -----------------0..1      

  • Enable/select/change to Business rules from Calc Manager in App settings

    Hi all, Somehow we are Unable to Expand the Planning Node in Essbase Administration Services (EAS) Console When Creating Business Rules. I am not sure is it I am not sure, is it because of one of the application has calc settings as calc manager in u

  • My Adobe ExportPDF subscription is not working.

    On June 14th, 2014, an automatic deduction from Adobe to my bank account took place.  This charge was for Adobe ExportPDF.  Now when I log in to use the program it will not let me use it.  It gives me instructions to subscribe.  I am not going to sub

  • Wrong number of parameters exception when using PreparedStatement

    Hi, I'm getting Wrong number of parameters exception when using a prepared statement. It's very weird. The code is: sqlstmt="update blah1 set blah2=? where blah3=?"; myps = Conn.prepareStatement(sqlstmt); myps.setString(1, p1); myps.setInt(2, p2); my