BPM in RFC to Jdbc

Hi,
Can you send me any RFC to Jdbc sync BPM links?. Also, Can you please tell me how is the design when  we use RFC and Message Interfaces involved.
Thanks,
Raj.

hi Raj,
<b>Defining Sync/Async Communication</b>
http://help.sap.com/saphelp_nw04/helpdata/en/43/65d4dab39b0398e10000000a1553f6/content.htm
<b>Example: Sync/Async Communication</b>
http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/content.htm
<b>RFC</b> Scenario using <b>BPM</b> --Starter Kit
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
Walkthrough with <b>BPM</b>
/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
FILE to <b>JDBC</b> Adapter using SAP XI 3.0
/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
Regards,
michal

Similar Messages

  • 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

  • RFC- XI- JDBC- XI- RFC

    Hi All,
    Can we do RFC->XI->JDBC->XI->RFC scenario without BPM?
    In this SAP-RFC executed with SELECT and Table name
    And SAP-RFC expect data from JDBC connection.
    If not then what could be the expected steps of BPM?
    Regards

    Hi,
    Are you talking about a Sync call. I mean are the Sender and Receiver RFC are the same. If it is a Sync step you can do without a BPM.
    Like RFC will initiate the process the XI and the the data is selected from JDBC and the response is given back to RFC.
    If the above is not the case you can avoide using BPM by having to separate scenarios.
    1. Scenario 1 RFC --> XI --> JDBC
    2. Scenario 2 JDBC --> XI --> RFC
    If there are some dependencies or due to some constraints if you need to use BPM then you will have the steps like
    Receiver Async(RFC)Send Sync(JDBC)Send Async(RFC)
    Thanks,
    Prakash

  • Synch Scenario ( RFC to JDBC)

    Hi,
    I have a synch scenario like RFC to JDBC.
    1. I have a qurey regarding JDBC receiver side structure. What would be the structure I have to create on receiver side ( JDBC) for the same.
    2. Mainly, what would be the constants I have to map for the action, table, statement fileds??!! If possible try to explain for each and every scenario.( synch/asynch)
    Cheers.,
    Stallin

    Hi Stallin,
    Check these links:
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    /people/siva.maranani/blog/2005/09/16/xi-how-to-on-jdbc-receiver-response
    http://help.sap.com/saphelp_nw04s/helpdata/en/33/c6e63b60c25767e10000000a11402f/frameset.htm
    Regards,
    Subhasha Ranjan

  • RFC to JDBC response

    Hello,
    I have a scenario SAP-> RFC -> XI -> JDBC. Where i'm using data from SAP R/3 to update a table in an Oracle database of a third party system. Is there any way i can find out if the fields have been updated succesfully or not?
    I know that only if i use a synchronous JDBC reciever i will get a response.
    Helpful suggestions will be rewarded.

    Hi,
    The Response sent by your JDBC adapter will be not be a Apllication Level Acknowledgement, but rather a System Level Acknowledgement and so, you will have to configure a BPM, if you want to send the number of rows Updated as a response to your RFC.
    For more info, just take  a look at this link,
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    It contains the info,
    <b>The response documents described below can only be evaluated by the Integration Server/PCK if the call is synchronous because the content of the response document is not accessible if the call is asynchronous. The response is put in a separate element <StatementName_response> for each statement element.</b>
    So, if you want to send the response, then you will have to configure your receiver JDBC adapter sysnchronous, use a BPM to route the response message to whichever system you want.
    Regards,
    Bhavesh

  • Jdbc to rfc to jdbc scenario is not working

    Hi...
    We have done the JDBC to RFC to JDBC scenario using BPM, it was working fine in the last month. now we started testing the same scenario, that is not working. In SXMB_MONI it is showing only sender data is successful, it is not showing any RFC Receiver data & Jdbc Receiver data. in the CCM also Jdbc Sender CC is showing successfull and it is showing the successful messages also, but in RFC Receiver CC
    & JDBC Receiver CC it is not showing any thing.
    please help on this...
    Regards,
    Pasi.

    Hi
    Check u r RFC response (put external break point)
    and check wether it has data
    rgds
    srini

  • RFC to JDBC Async Acknowledgements

    Hi All,
    My scenarion is RFC to JDBC async. I want a ack back from JDBC side after successful uploading of data. This is a schedule job(Once in a day).
    How to configure an acknowledgements?any step by step guide?
    Thanks,
    Arthita

    Hi,
    You can find more information about acknowledgements using these links:
    http://help.sap.com/saphelp_nwpi71/helpdata/en/55/65c844539349e9b1450581ab44a5e6/frameset.htm
    Acknowledgment Support in the Adapter Engine - Integration Directory - SAP Library
    The documents above say that acknowledgements need to be requested by the sending application. But from the definition, you can only request acknowledgements if you are using Java/Abap Proxies and Integration Process (BPM).
    Regards,
    Mark

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

  • 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

Maybe you are looking for

  • Validate data in r/3 while upload frm external source to bw

    Hi My requirement is while uploading data(2lacs to 5lacs of records) from external source file(xls or notpad) to BW i have to check whether that data is present in R/3 system or not. can anyone suggest the best way for validation(any FMs exist) for p

  • Recreating User GW Account

    Hello All, A little background... we have one user who has had GroupWise issues since she started with our company about two years ago. These issues have manifested as random crashes and lock ups in the GroupWise client. Sometimes it's related to cli

  • Error message while releasing to accounting

    hi guys I created sales order, delivery and pgi and invoice and after that when i release to accounting this following error message coming. Error Message Error in account determination: table T030K key INT EXD Message no. FF709 Diagnosis In the char

  • How to restore my thunderbird account

    I tried to log on to my thunderbird account and it is not there. A window pops up asking me if I want to open a new account, which I did, but all of my saved information is gone. How can I restore the account with all of my saved files? Thanks for yo

  • WD Passport problems with Imac

    Just bought aWD Passport external hard drive for my Mac.  It was working in a fashion and backing up but there seemed to be problems with Time Machine.   this morning it is not showing up at all on disc utility.