JDBC and ABAP proxy

Hello guys , need help with the following scenario :
ZTable as sender through Xi to db. i have never worked on this type before . Need some help in any blogs or scenarios dealing with the same . Interfacing ztable through a abap proxy.
I am also confused on the concept of client and server proxy . Please suggest
Krishnah

Hi Krishna,
<u><b>
CLIENT PROXY:</b></u>
A WSDL description from a UDDI server (or an Internet page) is usually used to make a service executable in the Internet and to describe the interface of this service. You require a client proxy and not a server proxy to call this service by using the Web service infrastructure.
<u><b>SERVER PROXY:</b></u>
You can only generate ABAP server proxies from a WSDL description if they originate in the Integration Repository.You can also generate server proxies for Java and client proxies for ABAP from message interfaces.
To Know more about Client and Server Proxy Please go through these links:
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/86/58cd3b11571962e10000000a11402f/content.htm">Proxy Generation</a>
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/62/8a5f3c31727d59e10000000a114084/content.htm">Implementing a Server Proxy</a>
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/9b/821140d72dc442e10000000a1550b0/content.htm">Data Transfer Using SAP XI</a>
Also look at these Blogs which explain in detail about the Proxies.
<a href="/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy Proxy</a>
<a href="/people/siva.maranani/blog/2005/04/03/abap-server-proxies Proxies</a>
This pdf should help you...It talks about implementing the various JDBC scenarios:
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5474f19e-0701-0010-4eaa-97c4f78dbf9b">Step-By-Step Approach for Implementing XI Scenarios</a>
To configure your JDBC adapter you can navigater thru this link:
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/22/b4d13b633f7748b4d34f3191529946/frameset.htm">JDBC Adapter</a>
Configuring sender JDBC adapter:
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/frameset.htm">Configuring the Sender JDBC Adapter</a>
Configuring receiver JDBC adapter:
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/frameset.htm">Configuring the Receiver JDBC Adapter</a>
This weblog deals with a complete JDBC scenario and is ideal for beginners:
/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
Regards,
abhy

Similar Messages

  • Error while usinjg the JDBC to ABAP Proxy Scenario

    Hello Rocks,
    This is my scenario like JDBC --- Pi --- ABAP Proxy
    while i am given a sender side jdbc XSD structure is like this
    VWENTITYAGGREMENT
      Row             1-unbound  occurence
          POOL_ID   0-1 occurence
          CUST_ID
          AGREEMENT
           PRODUCT_ID
            CONTRACT_TYPE
            CONTRACT_TYPE_DESCR
            AGRMNT_STATUS
            STATUS_DESCR
              EFFDT
             TERMINATION_DT
             ADD_DT
             ADD_TM
    while i am writing a select query in Sender JDBC CC is like this
    SELECT POOL_ID,CUST_ID,AGREEMENT,PRODUCT_ID,CONTRACT_TYPE,CONTRACT_TYPE_DESCR,AGRMNT_STATUS,STATUS_DESCR,EFFDT,TERMINATION_DT,ADD_DT,ADD_TM FROM vwEntityAgreement.
    Here i am getting this Error message like this :
    Error Description: Database-level error reported by JDBC driver while executing statement 'SELECT POOL_ID,CUST_ID,AGREEMENT,PRODUCT_ID,CONTRACT_TYPE,CONTRACT_TYPE_DESCR,AGRMNT_STATUS,STATUS_DESCR,EFFDT,TERMINATION_DT,ADD_DT,ADD_TM FROM vwEntityAgreement'. The JDBC driver returned the following error message: 'com.microsoft.sqlserver.jdbc.SQLServerException: Invalid column name 'POOL_ID'.'. For details, contact your database server vendor.
    So please give me your valuable inputs !
    Regards,
    Ravi.

    Invalid column name 'POOL_ID'.'. For details, contact your database server vendor.
    Did you confirmed the name POOL_ID as suggested?
    Why is the tablename different (check the case) in the query that you make and in the XSD structure that you mentioned......check if this is causing the problem.
    Regards,
    Abhishek.
    Edited by: abhishek salvi on Jun 4, 2010 10:24 AM

  • JDBC to ABAP PROXY ASYNCHRONOUS SENARIO

    Hi Experts
    JDBC to ABAP PROXY ASYNCHRONOUS SENARIO  IN PI 7.4 ?
    Can you tell me any one step by step procedure
    BR,
    Sagar

    Hi Sagar
    Check the documents below and you will be able to create the whole scenario.
    JDBC sender part:
    SAP PI Adapter Series: JDBC Adapter Configuration
    ABAP proxy receiver part:
    Step-by-step FTP to ABAP Proxy - Process Integration - SCN Wiki

  • Java and abap proxy ganeration

    hi all,
    i am new to proxies,i need the complete scenarios for java proxy generation and abap proxy generation.
    regards,
    AVR

    help yourself;
    ABAP
    Client Proxy (Sender Proxy)- /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    Server Proxy (Receiver Proxy)- /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    Java
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc2113ab
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d

  • JDBC--XI---ABAP Proxy

    Dear Experts,
    I have a scenario from DB system I am given a stored procedure that gives me the contents for creating sales orders in SAP ECC system. Now I have written a ABAP proxy code, internally I have used BAPI for sales order creation,  the sales order which gets generated in ECC system through BAPI   and Intendet number  coming from DB needs  to be updated back to the same table where the stored procedure is picking up the data, the updation Stored Procedure has been provided and I have done the mapping part of it also.
    For this my approach I designed is
    Sender JDBC Adapter using Stored procedure and creating Sales orders in ECC using Receiver ABAP Proxy and for this I have not used Synchronous Updates and similarly in ABAP proxy  I have used BAPI which creates Sales Orders and returns the Sales order and i would need to pick the Intendts and Sales orders , both of which I need to send back to DB system, for this I am using the same Inbound proxy code which generates Sales order number and i would want to call the Outbound proxy from the same Inbound proxy to send back the Sales order number and Intedent.
    My question can any of you give me some reference as to how i can call an Outbound proxy (Sending Sales order number,Intedents) in the same Inbound Proxy(which creates Sales orders) to send the Updates to the DB system.
    I have created 2 Outbound Asynchornous Service interfaces and 2 inbound Asynchronous Interfaces.
    Regards,
    KishoreJ.

    Hi Stefan,
    Thanks for the example, using that I have delcared and called the Outbound proxy in my Inbound proxy using its relevent method. Now there is a small problem, The system states that SalesOrder number not compaitable which which i am passing to the method.
    For your reference
    create object lo_salesorderout.
    TRY.
    CALL METHOD lo_salesorderout->si_ob_sap_to_fms_ordernumber
      EXPORTING
        output = salesorder  .----
    Error is being thrown here
    CATCH cx_ai_system_fault .
    ENDTRY.
    So for the reference in Inbound proxy I have defined this as
    Data: salesordernumber type vbeln
    and in SAP XI this is regarded as a String, should I first convert the String type to VBELN of type Char 10.
    Thank You,
    KishoreJ.

  • JDBC to ABAP Proxy Scenario

    Hello SDN Rocks,
    Here my scenario is JDBC to Pi to ABAP Proxy
    Here internally RFC is trigering under proxy side.
    Data is going to pi Box sucessfully but Pi to ECC side is not going it seems like  <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:Z_ZOTC_AGRMNT_DATA_VIA_001 xmlns:ns1="urn:sap-com:document:sap:rfc:functions">
      <AGRMNT_TAB />
      </ns1:Z_ZOTC_AGRMNT_DATA_VIA_001> Empty Blank structure is coming like this no data is coming under thisAGRMNT_TAB  tab.
    Please give me the Inputs from your end
    Regards,
    Ravi.

    Hello Friend ,
    under abap proxy method my rfc will be triggering.
    I think you got my point.
    Regards,
    Ravi.

  • Java Proxy and ABAP Proxy

    hi,
    can any one send me some documents on Java Proxy and ABBAP Proxy
    regards,
    John

    hi,
    Proxies are nothing but a mechanism to shift the application logic from the XI server onto the sender or reciever system so as to reduce the effort on the side of XI.Depending upon where the proxies are generated ,it is differentiated as client proxy ( sender ) and server proxy ( receiver ) .In R3 system having WAS 6.2 and above its already has an inbuilt small IE so the proxy generation is favoured and possilbe,for more on this please go thru the following links
    Proxies: are interfaces which will get executed in the application system. They can be created only in the system from message interfaces using the proxy generation functions.
    The biggest advantage of the proxy is that it always by passes the Adapter Engine and will directly interact with the application system and Integration engine - so it will and should give us a better performance.
    The literal definition of a proxy is an object / process authorized to act for another; an agent or a substitute. In simpler terms, proxies in the XI context are objects used to encapsulate the creation (from a sender system) or parsing of XML (at a receiver system) as well as the communication with the relevant runtime components required to send or receive those messages. The Proxy Runtime controls these objects / processes, and can itself be controlled by the applications it communicates with.
    The Proxy currently has the following components available:
    1. ABAP Proxy – Communication using XI or Web Services
    2. Java Proxy– Communication using XI (J2EE)
    For further reference, visit the following sites,
    To test a connection - /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    Client Proxy - /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    Server Proxy - /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    Testing proxy - /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    JAVA Proxies:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    ABAP Proxies:
    /people/sap.user72/blog/2005/12/13/integration-builders-through-proxy-server-part--2
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    /people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    /people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments
    /people/sukumar.natarajan/blog/2007/01/07/how-to-raise-alerts-from-abap-proxy
    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
    ON SDN TV
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=abap%20proxy%20xi&cat=sdn_all&start=11#

  • Jdbc - XI - ABAP Proxy - BW

    Hi,
    The scenario is to send SQL records to BW using XI. we are using ABAP Proxy to push the data into the BW.
    The message is succussfully transferred to endpoint http://XISERVER:8000/sap/xi/engine?type=entry , which I confirmed from runtime workbench. But in SXMB_MONI the message queue is stopped.
    pls could anyone help in fixing it & also let me know in case I need to provide further information to explain the scenario / settings.
    cheers,
    ANUP

    But your sm59 Destination works ?
    And when you check your Integration Engine Configuration Data is also evething ok ?
    It has to look like that:
    Current Configuration (local):
         Role of Business System: Application System
         Corresponding Integration Server:
         dest://XIServer
    System Landscape:
         Role of Business System: Application System
         http://xiserver:8004/sap/xi/engine?type=entry
    Comparison of Current Configuration with System Landscape
         Role of Business System: Current Configuration = System Landscape
         Corresponding Integration Server: Current Configuration <> System Landscape
    Regards,
    Robin

  • Choice Between IDOC and ABAP Proxy

    Hello All,
    We are building a Bi Directional Interface for Business partners between a third Party ERP, XI and SAP CRM.
    We are looking for some advise on the best way to go forward between the two options below:
    a) Do an ABAP Proxy Call on Fn Module CRMXIF_PARTNER_SAVE  from XI
    b) Create and IDOC in CRM
       ( Message Type CRMXIF_PARTNER_SAVE_M )
    Not being an XI consultant, my understanding is as follows
    Option A  : Gives me the flexibility to format my response in the manner we like. But this is a synchronous call. Also this is a generated RFC. So changes in the XIF layer of CRM could be an issue.
    Option B : Response can be achieved only through the ALE Audit Functionality, which has a predefined message structure. For Eg: If I wanted to send the response in the same format as the incoming message with an added segment for the error, this is not possible. Ofcourse, I get all the functionalities of monitoring and Handling IDOCs in this option.
    Any thoughts on the advantages and disadvantages of each option would be greatly appreciated.
    Thanks
    Anoop

    Anoop,
    I probably should have mentioned in the BLOG, that IDOC is good if its a standard IDOC, so that you don't have under go the pain doing the modifications for the custom one.
    In your case, PROXY might make more sense as you are saying that you have to do some custom processing as well. So, you can call the BAPI / Function for the standard processing and then do the custom processing in your Proxy code. And more over, if you have want to have a Synch interface, then you cannot use IDOC.
    So, the options in this case boil down to PROXY / RFC.
    PROXY will definitely have the advantage as its going to bypass the adapter engine and directly interact with the Integration server. And moreover, even if you already have a RFC, you can always call that inside your PROXY. However, the only flip side here compared to IDOC, is that you will have to create all your IR objects manually.
    Hope this helps you in making your decision.
    regards,
    Ravi
    Note : Please mark the helpful answers.

  • JDBC- XI-BPM- Proxy synch scenario.

    Hi Experts,
    We already have the scenario with JDBC --> BPM > RFC which we need to convert it to the scenario JDBC> BPM -->ABAP Proxy.
    Since i'm new to BPM development, i couldn't find a way to implement the requirement, because for BPM the message interface should be Abstract and these Abstract Message interfaces won't be visible in the SPROXY transaction.
    Please let us know what would be the approach to achieve this requirement.
    Note: XI system Version is 3.0 with SP-19.
    Thanks.
    Edited by: Bandana Baghel on Jun 22, 2009 1:51 PM

    i couldn't find a way to implement the requirement, because for BPM the message interface
    should be Abstract and these Abstract Message interfaces won't be visible in the SPROXY transaction.
    What you need:
    1) An Inbound Async/ Sync (as the case may be)...this MI will have the message type that you want to send-receive from the BPM...and the message(s) inlcuded in this Inbound MI should be same as in the Abstract MI from the BPM_to_Proxy communication....
    Then you can develop your proxy in SPROXY...
    Looking at the flow I am confused whether the flow is Sync (as you mentioned in subject) or Async (as the flow shows)...hence mentioned req/ resp messages in the resposne above.
    Regards,
    Abhishek.

  • ABAP Proxy doesnu2019t Work

    Hi all,
    We have problem about ABAP Proxy (Inbound). We are using a follow scenario:
    Legacy ( JDBC )    ->   XI  ->  ABAP Proxy ( ECC Backend )
    Recently The ECC Backend was updated  ( only data ) , and since than the ABAP Proxys  doesnu2019t work.  We tested other Adapter, we used Receiver RFC Adapter, and RFC Adapter worked.
    We tried a lot of thinks, we regenerated ABAP Proxys, We activated Proxys, taken Refresh Full CPA Cache, we checked SCIF, SMICM, and we couldnu2019t solved the issueu2026..
    Could you help us????
    Thanks!!!
    Fábio Ferri
    SAP Consultant XI/ABAP/Netweaver

    Hello,
    i think for this scenario..you have used XI adapter.
    Check HTTP service number.
    It should be same as in:
    In SAP R3, Transaction - > SMICM : goto->services -> ..you will find HTTP service number..Use the same in XI adapter.
    or
    Execute transaction : SPROXY
    goto-> connection test.
    Regards,
    Sreenivas.

  • Message processing is stopped - Exactly Once Async Abap Proxy

    Hi Guys
    I have two JDBC->Xi->Abap Proxy scenarios. The Abap Proxiy server is in a BW 3.1 with SAP WebAS 6.20 (XI 2.0) and the XI is the XI 3.0 (NetWeaver 2004s).
    First scenario is synchronous. It works without problem.
    Second scenario is asynchronous and a processing of message stops at the Receiver Grouping stage.
    So, there are only 3 stages in Integration Engine:
    1. Inbound Message (CENTRAL)
    2. Receiver Grouping
    3. Response (I don't understand why Response is appeared!!!)
    Message don't go to BW. Nevertheless message status is successful !
    Can somebody help me?
    Best regards,
    Denis.
    Edited by: Denis Vezhov on Feb 5, 2008 1:01 PM

    hi
    in bw, check tcode
    sxi_monitor and see if message passed to bw, here, the status could be error, but in XI success.
    if no message, in proxy define next code
    data: i_aux type int value 1
    while  i_aux EQ 1
    endwhile
    execute your scenario, them in bw go to SM50 and look for your proxy ZAIIXXX.
    go to programs/session --> program --> debugging and chek the proxy execution.
    also verify the configuration of your CC
    Addressing type: URL Address
    Target Host: the host you create the proxy (bi,bw)
    service number: Port http, you can get it in TCODE SMICM
    Path: /sap/xi/engine?type=receiver
    QoS = EO
    Hope it helps.
    Thanks
    Rodrigo
    Edited by: Rodrigo Pertierra on Feb 5, 2008 9:43 AM

  • Problem with Configuration in Production ( ABAP Proxy - XI - FILE)

    Hi All,
    I have a ABAP Proxy -> XI -> FILE scenario wich is working perfectly in DEV and QAS environment.
    When the person responsible for transporting tried to transport the objects in QAS to PRD, the following error happened:
    Direction of communication channel |BS_MA_FileServer_PRD | CC_File_PedidosServ_MA_FileServer_IA is incorrect.
    Correct the direction or choose another communication channel
    BS_MA_FileServer_PRD - Business System (FILE)
    CC_File_PedidosServ_MA_FileServer_IA  - My FILE Communication Channel
    This was what the Basis person sent to me. I don't have access to know exactly what happened. And I really don't know what could be wrong or if maybe a component was created wrongly in Production.
    Hope you can help.
    Points will be given.
    tks.. Daniela

    You have mentioned FILE is on the receiving side and ABAP proxy is on sender side.
    But the error pasted by you clearly shows syntax of a Sender Agreement .
    For receiver agreement it should be |<Sender Service>| |BS_MA_FileServer_PRD | CC_File_PedidosServ_MA_FileServer_IA
    Bipin

  • About Java mapping and java proxy

    Hi
    Iam new to Xi and basically iam an ABAPER.When iam dooing mappinps or proxies i cant able to understand the java pari cant (javamapping and java proxies) .I need some notes on java mapping and java proxy which is easy to do.And why do we use this java mapping or java proxy particularly when we r having abap mappipng and abap proxy.
    thanks in advance

    Hi,
    refer
    Java Mapping
    SAP Network Blog: Java Mapping (Part I)
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
    Java Mapping in XI
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=java+mapping&adv=false&sortby=cm_rnd_rankvalue#
    Runtime Environment (Java Mappings) (SAP Library - Partner Connectivity Kit)
    http://help.sap.com/saphelp_nw04/helpdata/en/bd/c91241c738f423e10000000a155106/frameset.htm
    Java Mapping (SAP Library - Partner Connectivity Kit)
    http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm
    SAP Network Blog: Testing and Debugging Java Mapping
    /people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio
    SAP Network Blog: Implementing a Java Mapping in SAP PI
    /people/carlosivan.prietorubio/blog/2007/12/21/implementing-a-java-mapping-in-sap-pi
    "JAVA MAPPING", an alternate way of reading a CSV file
    /people/rahul.nawale2/blog/2006/07/18/java-mapping-an-alternate-way-of-reading-a-csv-file
    SAP Network Blog: XI Java Mapping Helper (DOM)
    /people/alessandro.guarneri/blog/2007/03/25/xi-java-mapping-helper-dom
    Java Proxy
    Java Proxy Objects (SAP Library - SAP Exchange Infrastructure)
    http://help.sap.com/saphelp_nw04/helpdata/en/c5/7d5e3c754e476ee10000000a11405a/frameset.htm
    Accessing Active Directory through Java Proxy on SAP Exchange Infrastructure 3.0
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10716e9f-23d7-2a10-8c8c-d2665615f8fc
    Thanks
    Swarup

  • File to Abap Proxy Scenario : No message log in SXMB_MONI

    I have a PI Scenario in which a FTP server is polled every 5 minutes, and when it receives any file,  file is archieved and abap proxy is called. Few days back it was running perfectly fine. But For last couple of days I am facing strange error.
    My File is archived but abap proxy isnot called, neither I get any message in SXMB_MONI.
    any guesses what should I do?
    Jawed Ali

    Hi Jawed,
    HOLD means you have given QoS as EOIO in sender channel and the first message got failed and hence all messages are waiting..
    Check this thread
    Re: PI 7.1 Messages stuck into the Queue of the Adapter Engine
    Try resending the messages through runtime workbench->message monitoring->adapter engine
    Regards
    Suraj

Maybe you are looking for