SOAP to JDBC/RFC  - RFC/JDBC  to  SOAP XI Scenario

Hello,
Can anybody give me the links for SOAP to JDBC/RFC-BAPI or RFC-BAPI/JDBC ---> XI ---> SOAP XI Scenario?
I tried searching, but there isn't any step-by-step approach for it.
Thank you in advance.
Cheers,
Deepak.

Hi,
Check some links on SOAP,
RFC -> XI -> WebService - A Complete Walkthrough
/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
SOAP with attachments
/people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments
/people/padmankumar.sahoo/blog/2005/02/15/an-overview-of-soap
/people/siva.maranani/blog/2005/05/23/communication-between-sap-system-webservice-using-proxies
SOAP
An Overview of SOAP
/people/padmankumar.sahoo/blog/2005/02/15/an-overview-of-soap
JDBC ADAPTER
http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
/people/saravanakumar.kuppusamy2/blog/2005/01/19/rdbms-system-integration-using-xi-30-jdbc-senderreceiver-adapter
Regards,
phani
Reward points if Helpful

Similar Messages

  • File to JDBC Using RFC Adapter.

    Hi All,
    I've been trying to find out a scenario which is like a File-to-Database where RFC is the sender and JDBC is at Receiver end.
    Kindly guide me in:
    1) What are the steps I need to do when I use a RFC Adapter to pick a file from FTP?
    2) Are the steps same for the JDBC Adapter as we do normally in a JDBC Receiver Adapter?
    3) Is there any other configuration required for this type of scenario?
    4) If I import the RFC only I wanted to know how would the file be picked from FTP Server? Is it likewhile create a RFC we import the File from FTP server.
    My Plan of Action to do the scenario is:
    1) Import the RFC from R/3.
    2) Create the data types for target.
    3) Map them both.
    4) Use JDBC Adapter on the Receiver end.
    These are the steps which I think should be done, if there are any  other steps which I need to do, please do tell me.
    Please do let me know the steps if all the are wrong as I'm doing this type of scenario for the 1st time.
    Regards,
    Sreedhar.

    Hi,
    Though i am not very sure about your interface requirement/design but would suggest you the following links :
    Sender RFC :
    /people/swaroopa.vishwanath/blog/2006/12/28/send-rfc-to-sap-xi-150-asynchronous
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
    Reciever JDBC:
    JDBC Stored Procedures:
    /people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures 
    JDBC Receiver Adapter -- Synchronous Select u2013 Step by Step
    /people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
    /people/siva.maranani/blog/2005/09/16/xi-how-to-on-jdbc-receiver-response - XI: How-to
    on JDBC receiver response

  • RFC to Jdbc Synch Scenario

    Hi,
    I have a scenario like RFC to JDBC synch scenario, so what would be the QOS for sending( RFC) communication channel and as well as JDBC communicaiton channel.
    Thanks n Advance.,
    Xeon

    Hi,
    Neither the Sender RFC adapter nir the Receiver JDBC adapter provide the option to select the QOS.
    In your case if the report triggering the call to XI is making a Synch Call then the QOS in the SOAP header will be BE. If the Inbound Interface for the Receiver JDBC adapter is also a Synchronous Interface the QOS is taken as BE for the Receiver JDBC adapter.
    You need not manually change the QOS anywhere as long as you are using Synch message interfaces.
    Regards
    Bhavesh

  • RFC lookups&JDBC in 7.3

    Hi friends,
    Iam new to 7.3 so how can i use rfc and jdbc lookup in7.3 and rfc and jdbc can i use as graphical functions in different adapters
    please help me on this
    Regards,
    Rajendar K

    Hi Rajendar,
    This doc is best for learning RFC lookup
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20befc9a-aa72-2b10-ae9b-b0988791d457?QuickLink=index&…
    and rfc and jdbc can i use as graphical functions in different adapters
    you have to use rfc channel for rfc look up and soap cc for soap look up. if i did not get you please explain.
    Regards,
    Muni.

  • Help on RFC to JDBC and JDBC to RFC

    Help on RFC to JDBC and JDBC to RFC
    Hi Gurus
    I have the scenario where an RFC will be triggered in SAP , to write to a DB2 database and insert new records in a table
    and vice versa the JDBC has to read som data from a table based on a primary key, mark them as read for not be read next time and send the data to an RFC where a table in SAP will be updated.
    I have never worked with JDBC before , pls advice.
    is there any new issue to consider in PI 7.0 regarding JDBC
    Thanks.

    The requirement looks standard,
    SEARCH IN SDN FOR JDBC scenarios,you will find many docs for sender as well as Receiver.
    >
    > is there any new issue to consider in PI 7.0 regarding JDBC
    >
    no issue with PI7.0.
    Regards,
    Raj

  • Error"SYSTEM Failure" while testing the RFC in SE37  : RFC to JDBC Scenario

    Hi All,
    I am doing RFC to JDBC scenario. When I am testing the RFC in SE37 using the RFC destination created in SM59, I get an error "SYSTEM FAILURE".
    Please suggest.
    Thanks,
    Shyam
    Edited by: Shyam Sreepada on Dec 18, 2007 5:46 PM

    Hi,
    You must run RFC with RFC destination in background mode, I suggest to read following post in order to understand it better.
    Syntax would be:
    CALL FUNCTION func IN BACKGROUND TASK
                       [DESTINATION <your RFC destination>]
                       parameter list
    http://help.sap.com/saphelp_nw04/helpdata/en/8f/53b67ad30be445b0ccc968d69bc6ff/frameset.htm
    If you read it you will find that you can't test it directly from SE37, for this either you need to create dummy ABAP program or another RFC where you will call this RFC with background syntax.
    Regards,
    Gourav
    Reward points if it helps you
    Edited by: Gourav Khare on Dec 18, 2007 6:07 PM

  • Mapping problem in message response  RFC -- xi -- JDBC

    Hi all,
    I'm using the follow scenario:
    RFC <-> xi <-> JDBC
    It's a synchronous interface.
    In JDBC the message do a SELECT in database and returns selected rows in message response.
    The message response transfers selected rows to RFC.response in the mapping.
    It seems working right but no data are transfered to RFC.
    In SXMB_MONI I can see the selected rows from database.
    There is no error in JDBC and RFC adapter. Bellow is the message response in the SXMB_MONI:
      <ns1:MT_jbdc_select_response xmlns:ns1="http://braskem.com.br/xi/sapxi03">
      <t7_productionorder_response>
      <row>
      <PRODUCT>Nafta Media</PRODUCT>
      </row>
      <row>
      <PRODUCT>Nafta Media</PRODUCT>
      </row>
      </t7_productionorder_response>
      </ns1:MT_jbdc_select_response>
    I think that there is an error in message mapping between RFC.response <-- message_response, because I'm just mapping the fields <row> and <product>, because if I make a link beteween <t7_productionorder_response> and return table of RFC, a Short DUMP happens.
    Bellow the structure of MESSAGE RESPONSE:
       <t7_productionorder_response>
          <row>
             <PRODUCT/>
          </row>
       </t7_productionorder_response>
    Bellow the structure of RFC RESPONSE:
    <RFC.response>
      <t_return>
         <item>
             <product/>
         </item>
      </return>
    </RFC.response>
    When I make a link in the mapping between
    <t7_productionorder_response> -> <t_return>
    a short DUMP happens in RFC call in R/3.
    Anyone could help me about this problem ?
    Thanks in advance
    Regis Ferrato

    Hi,
      <i>because if I make a link beteween <t7_productionorder_response> and return table of RFC, a Short DUMP happens.</i>
    After doing this mapping, did you test it in the IR mapping editor? was it successful?
    Do specify the occurence of all the headers so we can help you better.
    Regards,
    Smitha.

  • Error in RFC-XI-JDBC scenario

    Hi All,
      I have a Interface like RFC-XI-JDBC and triggering the RFC in SAP system i am getting the error like "<b>alternativeServiceIdentifier: party/service from channel configuration are not equal to party/service from lookup of alternative</b>".
    Can anybody help me what could be the reason and where i need to do settings.
    Thanks and Regards,
    KP

    Go through  See SAP Note - 730870
    This should solve the issue
    OR
    <b>/people/michal.krawczyk2/blog/2005/09/07/xi-why-dont-start-searching-for-all-errors-from-one-place
    <b>alternativeServiceIdentifier: party/service from channel configuration are.
    <b>/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    Thanks '
    Abhishek Mahajan
    ******Please Reward points if Helpful**********

  • RFC - XI - JDBC - cannot insert in Table !

    Hi Experts...
    I have a scene RFC - XI - JDBC !
    When executing the application in the SXMB_MONI my status is processed successfully!
    But cannot insert the data in SQLServer Tables !
    Im Message Monitoring i have the erros:
    Error No "action" attribute found in XML document ("action" attribute missing or wrong XML structure)
    Error Exception caught by adapter framework: Error processing request in sax parser: No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure).
    I need to insert in 4 tables --> CRHE, CRFT, CRFV and TLINES
    Where CRHE is the father table.
    This is my RFC Structure:
    CONTROL_RECIPE_DOWNLOAD
      CLIENT
       CRFT
         item
           CRID
           FTNO
           FTTYP
           COSTR
           VORNR
           FTRNR
       CRFV
         item
           CRID
           FTNO
           FVNO
           ATNAM
           ATWRT
           ATFOR
           FVLNR
       CRHE
         item
           CRID
           WERK
           BID
           ADRES
           TSTKZ
           CRSTAT
           KTXT
           MATNR
           MATXT
           INSPLOT
           BATCH
           DEST
           SCHED_START_DATE
           SCHED_START_TIME
        TLINES
          item
            CRID
            FTNO
            FVNO
            TDFORMAT
            TDLINE
    This is my XML Receiver Structure:
    msgType_ibatch_po
       TABLE1
         Statement
            CRHE
              action
              access
                CRID
                WERK
                BID
                ADRES
                TSTKZ
                CRSTAT
                KTXT
                MATNR
                MATXT
                INSPLOT
                BATCH
                DEST
                SCHED_START_DATE
                SCHED_START_TIME
       TABLE2
         Statement
            CRFT
              action
              access
                CRID
                FTNO
                FTTYP
                COSTR
                VORNR
                FTRNR
       TABLE3
         Statement
            CRFV
              action
              access
                CRID
                FTNO
                FVNO
                ATNAM
                ATWRT
                ATFOR
                FVLNR 
       TABLE4
         Statement
            TLINES
              action
              access
                CRID
                FTNO
                FVNO
                TDFORMAT
                TDLINE 
    How to resolve this problem ??? ...i believe the problem is in the action of Message Mappings ?? ...but have some problems to resolve it !
    Some one can Help me !!!
    Thanks Very Much for the atention !!
    Regards..
    Boni.

    Hi Bravesh...
    I don't have error in JDBC adapter !! This is OK !!
    When i send the message from XI to R/3 ...in SXMB_MONI it does not contain errors !
    When executing the application in the SXMB_MONI my status is processed successfully!
    But cannot insert the data in SQLServer Tables !
    Im Message Monitoring i have the erros:
    Error No "action" attribute found in XML document ("action" attribute missing or wrong XML structure)
    Error Exception caught by adapter framework: Error processing request in sax parser: No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure).
    thanks.
    Boni.

  • JDBC to RFC- Error in RWB

    Gurus,
    Background :We have fresh installation of SAP PO 7.3 (Single Stack ) on SQL Server 2013.
    Scenraio is : JDBC to RFC async scerio; i can pull data from SQL database but not able to post to SAP
    Please advise what to do.
    I always provide points for helpful answers

    Hi V Jay - Did you check the below thread?
    RfcClientException: functiontemplate from repository was <null>
    Q 16: While sending a message to the RFC Adapter the error "... functiontemplate from repository was <null>" is shown. What is the reason?
                  A: After receiving a message from the Adapter Engine, the RFC Adapter extracts the payload from the message. Normally this should be an XML document in the RFC-XML format. In this format the root element of the XML document represents the name of the function module and is enclosed in the fixed RFC namespace 'urn:sap-com:document:sap:rfc:functions'. But this only will be checked at a later point, when the conversion from XML to native RFC is done. As prerequisite of this conversion the structures and types of the function module parameters has to be known. This is also called metadata or function template. To get this function template the name of the function module is extracted from the root element of the XML document and is queried against the metadata repository of the communication channel. If the metadata repository doesn't have a function module with this name, the exception named above is thrown. Possible reasons are
    The XML document, which was sent to the RFC Adapter, is not a RFC-XML document. So the root element name of this document is not the name of a function module and thus can't be found in the metadata repository.
    The metadata repository doesn't contain an entry for this function module name. Normally the metadata repository will be an R/3 system and it's function module repository can be searched with the transaction SE37
    Reference :  730870 - FAQ XI 3.0/ PI 7.0/ PI 7.1/ PI 7.11/ PI 7.2/ 7.3 RFC Adapter

  • Performance problem in RFC to JDBC interface

    Hello everybody!
    i'm working whit SAP PI 7.1
    We defined some interfaces RFC - PI - JDBC (SQL server) but we have some performance problem.
    If we have many row to write on the table then interface finish in timeout :
    Synchronous timeout exceeded.
    Returning to application. Exception: com.sap.engine.interfaces.messaging.api.exception.MessageExpiredException: Message 1d1f00b0-fecf-11de-8738-0015600446f0(OUTBOUND) expired.
    I read the PI tuning document and i tried to apply configuration whit Advanced Adapter Engine but whitout result.
    Now we want change the timeout in visual admin and maybe we solve the error but i'm asking myself....:
    It's normal that for write 1500 row in a table we need more than 4 minuts????
    It's possible accelerate this process??? After go live we will write messages whit more than 50.000 row.
    somebody may help me?
    PS: please no link to tuning guide or to notes (to increase the timeout parameter).

    This could be because your Database system (JDBC server) is taking more time to insert. The problem is not on PI side but on the receiving system side. Try inserting the same number od rows on the database server itself and check for the time taken for execution. Adding indexes on your database table solves the issue lot of times.
    Here PI is not the culprit but definitely  the receiver system.
    VJ

  • Reg error in interface mapping in RFC to JDBC scenario

    Hi Techies,
    Iam trying to map the scenario RFC to JDBC.
    In configuration window Iam testing the configuration.
    when Iam testing it is giving the error.
    " com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_mm_mapping_: Parsing an empty source. Root element expected! "
    My mapping is as follows
                       mt_receiver                    
                                                            statement               
                                                                ROW          
                                                     action---insert     
                 ZHRT002----
         Table     
         Item----
    access     
              MANDT               
              PERNR                                     PERNR
              PERID                            PERID
              SHOPN                           SHOPN
    Sender
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:ZTEST_PI_ZHRT002 xmlns:ns0="urn:sap-com:document:sap:rfc:functions">
       <ZHRT002>
          <item>
             <MANDT/>
             <PERNR/>
             <PERID/>
    </item>
       </ZHRT002>
    </ns0:ZTEST_PI_ZHRT002>
    Reciver
    <?xml version="1.0" encoding="UTF-8"?>
    <ns1:mt_receiver xmlns:ns1="urn:sap-com:RFC2JDBC"><Statement1><ROW action="INSERT"><TABLE>ZHRT002</TABLE><access><PERNR></PERNR><PERID></PERID></access></ROW></Statement1></ns1:mt_receiver>
    Please give suggestion how to go about this.
    Thanks in advance,
    Regards,
    Kiran

    Hi,
    Please check the payload you are using to test the configuration.
    The structure seems to be Incorrect.
    Regards,
    Deepak

  • Can we able to create a scenario in XI like, RFC to JDBC

    Hello,
    I want to know whether  there is any way to create a scenarion like RFC to JDBC.
    RFC sends a rfc call with some parameters on sender side.
    JDBC stores the data in the receiver side.
    Thanks ,
    Prakash

    Hi Prakash,
    Step-by-step RFC to JDBC scenario:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/step%2bby%2bstep%2brfc%2bto%2bjdbc%2bscenario
    XI: How-to on JDBC receiver response:
    /people/siva.maranani/blog/2005/09/16/xi-how-to-on-jdbc-receiver-response
    -Pinkle

  • Synchronous - asynchronous interface (RFC - XI - jdbc)

    hello to everybody!
    i want configure a synchronous - asynchronous interface (RFC - PI - jdbc) whit my PI 7.1
    This RFC send 2 output tables to PI/XI and i want write it into 2 different tables in a SQL Server Database.
    How can i do it?
    i tried whit one mapping to a unique outbound datatype...but only header table was insert and not rows.
    i tried whit 2 Receiver Interfaces but i have on mapping the follow error:
    Multiple inbound interfaces not supported for synchronous calls
    so??
    other possibility?
    BPM?
    please help me
    Thanks
    Alessandro

    Hi,
    I have a similar problem; I have JMS - PI - RFC synchronous scenario. I will receive message from JMS, and depending on the data received, I should call either of two RFCs (NOT BOTH). The BAPI return message should then be sent back to JMS.
    Hence, I have one "Sender/Outbound" Message Interface, one receiver determination for that Message Interface - in which there is "one" receiver (backend SAP system).
    In "Interface Determination", I specifed the two BAPIs as two Interfaces, and defined conditions based on "context objects" - since I need to know the Interface Mapping "dynamically"
    However, I get the error - "Multiple inbound interfaces not supported for synchronous calls ". any suggestions on how to proceed?
    I am posting this question here as it is a related issue. Hope it is fine.
    Thanks,
    Archana

  • Czech letters in RFC- XI-JDBC scenario

    Hello experts,
    we want to transfer data to a database in a RFC->XI->JDBC scenario. Everything works fine, but when we transfer czech characters, we only see "?" in the database where a "Č" is expected. In the XI system the letters are displayed correctly (before and after mapping).
    How can we solve this problem? Is there any setting for this in the receiver CC?
    Best regards,
    David

    hi David,
    try using ![CDATA[]] in your mapping, i mean send value in to the target field as ![CDATA[ Č ]].
    Regards,
    Karna...

Maybe you are looking for