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

Similar Messages

  • Using of Integration Scenario in a Abap Proxy to JDBC receiver synchronous

    Hi ,
    Can any one help me out  how to go about for creating Integraion scenario in ESR as i'm new to the use of Integration scenario..
    its an Abap proxy to Jdbc synchronous scenario... kindly help in this regards.

    Hi Indudhar,
    Right click on the namespace where you want to create the IS and say new, Select process integration scenario option, give a suitable name and say OK.
    In the Component View section right click on the first grey column and Insert a sender Application component. Enter ur product and the software component version. Like wise in the next grey column enter the target Application component.
    Now go to the top level menu and click on view and select grid.
    Now right click on each App. component and insert the created actions. If the scenario is sync then the actions will be side by side otherwise the target one will be in the next grid of the target app. component.
    After entering the actions click on the source action then press shift and click on the target action, right click and choose create connection between the two actions.
    Fill in the info and then save.
    Regards,
    Anshul

  • 7.1 Client ABAP proxy code sample (outbound)

    Hi guys,
    has somebody implemented new 7.0(7.1) abap proxies using ws runtime?
    Could you please post some sample code of client abap proxy?
    The 3. proxies were quite easy, but I'm a little bit confused in 7.0 and it's ws-rm.
    Thanks a lot, Olian

    Create a client proxy (for eg. the name would be like ZCO_MI_EMP_OUT_SYNC).
    Create a report program for the client proxy.
    report  yh_proxyclient.
    *  tables: ZEMP_DTLS_COPY.
       data: input type zmt_emp_tar1 .
       data: output type zmt_emp_src1 .
       data: client type ref to zco_mi_emp_out_sync .
      output-mt_emp_src-dept_id = 'SAP EP'.
      data wa_emp type zdt_emp_tar_employee.
      data wa_empinsert type zemp_dtls_copy. "ZDT_EMP_TAR_EMPLOYEE.
    try.
        create object client
    *  EXPORTING
    *    logical_port_name  =
      catch cx_ai_system_fault .
    endtry.
    try.
    call method client->execute_synchronous
      exporting
        output = output
      importing
        input  = input
    catch cx_ai_system_fault .
    catch cx_ai_application_fault .
    endtry.
    loop at input-mt_emp_tar-employee into wa_emp.
      write: / wa_emp-emp_id, wa_emp-dept_id, wa_emp-emp_name, wa_emp-emp_address.
    endloop.
      commit work.
    endmethod
    the above code is taken fron this wiki  (step by step guide using an example)
    [https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/abapClientProxytoABAPServerProxy+Scenario]

  • ABAP Proxy to JDBC syncronous method

    Hi Experts,
    I am very new to ABAP Proxy to JDBC syncronous method.
    I have used 4 DT, 4 MT, 2 MI, 2 MM and 1 IM.
    I have used reference from
    SYNCHRONOUS SOAP TO JDBC - END TO END WALKTHROUGH
    http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3928. [original link is broken] [original link is broken]
    My question is in Integration Directory how many sender agrement, receiver agrement, receiver determination and interface determination should i use?
    Is my above DT , MT , MI , MM and IM is correct?
    I am not using any BPM.
    Thank you in advanced.
    regards,
    S.Saravannan

    mrsaravannan wrote:
    > My question is in Integration Directory how many sender agrement, receiver agrement, receiver determination and interface determination should i use?
    for a Sync sceanrio, you will create
    1 RD
    1 ID
    1 SA (since its a ABAP proxy call this is optional)
    1 RA
    >
    > Is my above DT , MT , MI , MM and IM is correct?
    Yes

  • What is package structure for Client ABAP Proxy?

    1.     What is the package structure need to be  followed for creating abap client proxy.
    2.     I read some where in the form, it need to be 4 levels. Why is it?
    Thank you
    Ganges Leaves

    Hi
    U hav to create a 4 level package structure for client ABAP proxy.
    U can create ur on packages
    1st level-structure package.
    2nd level-main package.
    3rd and 4th level-sub packages.
    To the 4th level only u hav to create proxy.
    The classes and code wil be automatically generated at the time of proxy creation.
    I think the 4 level structure bcz while in r/3 everythin in integration builder like software component version and all wil be takin as different levels.
    Also u can go through the weblogs in the above replies u got.
    Regards
    Victoria.

  • Sample Client ABAP Proxy Program - PI 7.1

    I created Proxy. I need to call in a Report Program. I am using PI 7.1
    Can anyone send me a sample Client ABAP Proxy program to use with PI 7.1

    Hi,
    >>>Can anyone send me a sample Client ABAP Proxy program to use with PI 7.1
    it's exactly the same as for 7.0 and there are blogs that show such sample reports on SDN
    just do a little search and I'm sure you can find it
    Regards,
    Michal Krawczyk

  • Dynamic Configuration from Client ABAP Proxy

    Hello Experts,
    Is it possible somehow to set Dynamic Configuration values to Message Header when calling Client ABAP Proxy from SAP system?
    Best Regards

    I managed to get the dynamic header configuration at least with inbound proxies:
        DATA:
            server_context TYPE REF TO if_ws_server_context,
            proxy_framework TYPE REF TO if_proxy_framework,
            internal_protocol TYPE REF TO if_wsprotocol_internal,
            lo_inb_pxy TYPE REF TO cl_xms_inbound_proxy_plsrv,
            lo_dyn_header TYPE REF TO if_xms_msghdr30_dynamic.
          server_context = cl_proxy_access=>get_server_context( ).
          internal_protocol ?= server_context->get_protocol( 'INTERNAL' ).
          lo_inb_pxy ?= internal_protocol->get_framework( ).
          lo_dyn_header ?= lo_inb_pxy->xmb_message->get_dynamic_header( ).

  • 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

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

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

  • Abap proxy to JDBC call

    The scenario is Sender is ABAP proxy and receiver side is JDBC adapter.
    While creating Purchase order(PO) in SAP, interface should be triggered and it should go and fetch the tax amount from a external Database(DB) and return the tax amount to SAP.
    PO can have mulitple line items so for each item it should get the tax amount from DB.
    I know we can change the occurence of Statement tag of JDBC structure to unbounded and accomplish multiple stored procedure calls.
    But how to handle multiple response from DB for each line item and send it as a single message to SAP.
    Is this possible without BPM ?

    For every purchase order there are mulitple line items and for each line item we need to extract tax amount.
    Question: Are these line items are in single db table or different? If it is one table, Why dont you use jdbc lookup during mapping time to fetch item amounts (Just using Select queries.. if the requirement is feasible) ?
    If there are multiple tables, receiving response from many tables might not be possible. If  response fails from first table then further query to the tables will not proceed. Jdbc treats entire query as one transaction.

  • Handling Transport ack. in Abap Proxy to JDBC Scanario

    HI all
    I have a scanario  where i have message which is being sent from an abap proxy to a SQL Server database using JDBC adapter. The scenario involves a BPM.While sending the message the message shows delivered in MDT (Message monitor for Adapter  ) but the Business process is still executing and is waiting for the acknowledgement(transport) . Can anyone please tell me how do find where the exact prblem lies.And how do i delete these acknowledgements. Even though i deleted the work items  the Ack Status column still shows "Still Awaiting Acknowledgement"
    regards
    Nilesh Taunk

    Hi,
    As metioned check the Send Step Properties ( mode etc)..
    After changing activate the BPM and refersh the cache in SXI_CACHE and test the scenario.
    also check the BPM technical details. For this go to SXMB_MONI>PE>Technical Details so that you can find the logs in the monitor.
    Regards,
    Moorthy

  • Error in synchronous( abap proxy to soap)scenario

    Hi experts,
    My scenario is synchronous abap proxy to sysnchronous soap. for proxy I am using business system name as ERDCLNT220 and soap business system name as BS_HRS_DEV
    configuration steps are
    1. only client proxy to soap scenario I have done.
    communication channels: only receiver soap adapter. no proxy sender communication channel for client proxy.
    Already we have RFC destination connection and connection type H for proxy to xi.
    1.Is it required RFC destination connection for xi to server proxy.
    2.Is it required receiver proxy communication channel for server proxy?.
    i HAVE TESTED THIS INTERFACE. I am able to send the request. But I am not able to receive the response from soap webservice message .
    error is:
    SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Exception occurred while trying to invoke service method getPerson
    exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Exception occurred while trying to invoke service method getPerson
    Error Adapter Framework caught exception: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Exception occurred while trying to invoke service method getPerson
    Error Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Exception occurred while trying to invoke service method getPerson. Setting message to status failed.
    Kindly help me.
    advance thanks
    thanks and regards
    elton
    Edited by: eltonsaranya on May 9, 2011 10:27 AM

    Your exception message shows problem at the webservice side.
    Check the following:
    a) you need two mappings one for proxy req to soap request and other soap response to proxy response
    b) You need to create service interfaces both sender and receiver synchronous .
    c) communication channel  QOS is best effort for both sender and receiver
    d) I dont see problem in soap configuration. Bcuz you are able to ping and while getting response from the method getPerson it fails.
    f) See your SOAP response structure matches with WSDL provided.
    g) You can also test outside PI.. I meant testing via soap client tool like SOAPUI  for that web service. So that you know whether problem exists on the target system or not.
    Hope that helps.

Maybe you are looking for