Reg: JDBC -- RFC Sync call

Hi All,
I have created a scenario between JDBC and SAP, which is a synchronous communication. In SXMB_MONI and in communication channel monitoring it is successful. JDBC synchronous communication channel is able to fetch the data, However it is not able to push the data to AS400 DB2 database. Can anybody suggest regarding the same. (I want to avoid BPM)
Regards,
Venu V

Thats the way SAP has implemented JDBC adapter.
May be the reason could be that opening a JDBC connection and waiting for a response would increase the performance overhead highly. To avoid this JDBC connection are made async so that once the message is sent, the database connection is closed and table could be used for other transactions maintaining the integrity of data.
Regards,
Prateek

Similar Messages

  • Need Clarification on JDBC--RFC Sync

    Hi All,
    in JDBC----RFC Sync scenario, do we use BPM to get the response from the RFC??
    Why because JDBC is not having the Sync nature.
    Regards
    Vamsi

    Hi,
    its not necessary to use BPM to get response with out BPM also we can get the response. Better try to avoid BPM because of the performance issue.
    Please refer this link
    http://help.sap.com/saphelp_nw70/helpdata/en/b0/676b3c255b1475e10000000a114084/content.htm
    Thanks
    Vikranth
    Edited by: Khimavath Vikranth on Jun 4, 2008 11:31 AM
    Edited by: Khimavath Vikranth on Jun 4, 2008 11:39 AM

  • RFC Sync Call

    Hello All,
    I am new the SAP-ABAP and XI environment.
    I am integrating HCM-Payroll/GL Posting to FI.
    i add BAPI_ACC_EMPLOYEE_EXP_CHECK a special method call at BD97.  Since i need to check before create the IDOC i add as RFC Sync.
    Then I ran the report RPCIPE00.  I am getting following the error message.
    The error Message.
    "The function module "BAPI_ACC_EMPLOYEE_EXP_CHECK" has been called remotely and has generated a progam termination in the receiving system "XI_XD1". For more information, see the dump analysis in the receiving system."
    Could you please guide what i am doing wrong.
    If i remove the BAPI from BD97 then the documents are created but no messages on SXMB_MONI.
    Thanks
    SV

    Hi SV,
    logging for synchronous messages is turned off by default but you can activate it by :-
    TCODE
       SXMB_ADM
         -> Integration Engine Configuration
          -> Specific Configuration
    Add the entry  
    <u><b>Category                            Parameters                         Value</b></u>
    RUNTIME                                     LOGGING_SYNC           1
    Regards
      Kenny

  • SOAP TO RFC SYNC call time out

    Hi,
    Did anyone know how to set the rfc timeout? I try to set it at visual admin but it didn't work. Is that others place to set it?
    Thanks.

    Hi,
    Thanks for respond. This is what i set on visual admin but seem it not work. For testing i put the value 10 after restart the adapter and test it the function still respond after 10ms.
    thanks.

  • RFC to JDBC to RFC sync

    Hi all,
    Anyone have any link for RFC to JDBC to RFC sync scenario step by step?
    (For reverse one means JDBC to RFC to JDBC used RRBEANS configuration in sender jdbc channel and created one receiver JDBC channel.)
    What should I do for the same?
    Any suggestion?
    Thanks,
    Arthita 

    Hi Inaki Vila,
    2. Where I need to configure the RRBEANS ? In which channel?
    In the RFC sender channel, the first channel to be used. You can check it in the wiki that i mentioned above.
    Could you please provide the wiki link for the same?it ll be very helpful.
    3. Is it applicable for reverse scenario?
        Suppose JDBC is sender and I'm using one RFC. For that also no need to use any bridge (RequestResponseBean) ?
    If you want to take the data from DB source and to pass to an ECC system via RFC you wont need any bridge, you can do a normal async scenario JDBC - RFC.
    I'm asking for JDBC - RFC sync scenario where I'm using one RFC.
    Thanks,
    Arthita

  • JDBC---RFC will Support Sync?????????

    Hi All,
    Wil JDBC--RFC Senario supports for Sync Comunication with out using BPM???
    Regards
    Vamsi

    Hi Vamshi,
    For JDBC (Sender/Receiver )Scenario we have to Install the JDBC Drivers on XI Server.
    Use those Driver name and Connection in JDBC Adapter to connect to the Database.
    For RFC Sender Adapter we have to create the Program ID in SAP R/3 side.
    For RFC Receiver no need of any Extra settings.
    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
    Tips and Tutorial for Sender JDBC Adapter
    /people/yining.mao/blog/2006/09/13/tips-and-tutorial-for-sender-jdbc-adapter
    http://help.sap.com/saphelp_nw04s/helpdata/en/22/b4d13b633f7748b4d34f3191529946/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/22/b4d13b633f7748b4d34f3191529946/content.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
    Also you can look at this scenario --> File to JDBC:-
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    /people/yining.mao/blog/2006/09/13/tips-and-tutorial-for-sender-jdbc-adapter
    /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
    /people/saravanakumar.kuppusamy2/blog/2005/01/19/rdbms-system-integration-using-xi-30-jdbc-senderreceiver-adapter
    SENDER RFC
    Registered server program name which is maintained in the ABAP should be called in the program ID.
    for more information follow this links
    /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
    How to test the RFC to Flat File scenario
    Type 3 ABAP Connection :
    ex 1) If we want to execute any function module from one SAP system in another , we need type 3.
    We define an RFC destination say ECC6CLNT100 with required parameters.
    and to test it go to SE37, select any common sap function module and when you execute that it will ask
    for RFC destination. you provide this destination and the function module will be executed in the target
    system.
    ex2) when you create a partner profile, you need to create a port and for creating a port, we need to
    specify an RFC destination. here also we use type 3.
    Type H.
    ex1) when we need to send xml messages from an SAP system to any other system, we need this.
    For example when we send messages using proxy from SAP system to the integration engine of XI, we
    need type H.
    Type T.
    ex1) To we make an RFC call from R/3 to XI , we use sender RFC adapter in XI.
    In R/3 system we need to create an RFC destination of type T.
    Different types of RFC are :-
    Asynchronous RFC - aRFC
    Synchronous RFC - sRFC
    Transactional RFC - tRFC
    Queue RFC - qRFC
    Parallel RFC - pRFC
    Chk this link also:
    Link :http://help.sap.com/saphelp_nw04/helpdata/en/6f/1bd5b6a85b11d6b28500508b5d5211/content.htm
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken]
    Please go through the following links.
    /people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step JDBC Receiver Adapter -- Synchronous Select – Step by Step
    /people/yining.mao/blog/2006/09/13/tips-and-tutorial-for-sender-jdbc-adapter Sender JDBC adapter
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    FILE- RFC-FILE Synchronous (Using BPM)
    /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009 Trouble Shooting RFC and SOAP Scenario
    Regards,
    Vinod.

  • JDBC to RFC Sync Error

    Dear All,
    I'm creating JDBC to RFC Sync scenario.
    Configured according to below link,
    http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/12/04/jdbc-to-jdbc-synchronous-scenario-with-rr-beans-and-without-bpm-and-rfc-lookup
    Sender JDBC structure is
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_JDBC_To_RFC_Source xmlns:ns0="http://FiletoFile.com">
       <row>
          <A>12</A>
          <B>34</B>
       </row>
    </ns0:MT_JDBC_To_RFC_Source>
    But in Test tab of MM_REQ is showing Red.
    Why its showing red?
    PFA the attached Screenshot.
    Thanks,
    Arthita

    Hi Arthitha
    You cannot create structure of some kind and use completely different kind of input payload.
    If your expected payload is of format
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_JDBC_To_RFC_Source xmlns:ns0="http://FiletoFile.com">
       <row>
          <A>12</A>
          <B>34</B>
       </row>
    </ns0:MT_JDBC_To_RFC_Source>
    Then your Data type should be created as below
    Regards
    Osman

  • JDBC/select/async statement to JDBC/stored procedure/sync call

    Hi
    We have JDBC/select/async statement to JDBC/stored procedure/sync call i.e sender and receiver are JDBC.
    PI has to pick all the the records of single internal order number at a time from sender system and upload to receiver JDBc,
    gets the response and routes to sender/insert statement.
    This should run only once per day.
    We will have multiple Internal orders daily, each order consisting of 10 to 20 records but only one IO related records has
    to upload to Receiver/JDBC
    What are the options available ?
    We have thought of following options
    1. SQL query is already to pick, but we have to pick records at one time daily. example: morning,evening or midnight.
       At that time it can pick multiple times but it should not pick through out day
    2. Is there any option in BPM so that we can group IO's at a time and upload ? If so what are the steps need to use
       Any additonal receive step need to be used to pick the records from the table.
    Thanks

    hi
    as i can understando you, you will receive mani IO and you must execute one IO in the receiver SP? if so, you can solve this usssing a ccBPM where you will have to create a mapping(0.N) where the source and the target structure will be the same, the diferrence will be in the occurrance of the target structure which will have to be 0.N (Tab signature in Message Mapping). then back to the ccBPM define a block with the property ForEach. this will  loop any times accord with the number of IO that you receive from the sender. as a result you will execute one SP for each IO.
    so, you ccBPM will be
    RS>TS>BLOCK(Multiline container and single container of source structure)>TS->SS
    RS:Receive Step
    TS:Trans. Step
    SS:Send Step
    Also the container will be:
    source--> type Abs
    source_multiline --> type Abs
    target -->type Abs
    Thanks
    Rodrigo P.
    Edited by: Rodrigo Alejandro Pertierra on Jun 24, 2010 4:54 PM

  • JDBC Sync - RFC Sync Scenario without BPM

    Hi Experts,
    I am using JDBC - RFC - JDBC Scnario. The concept is
    JDBC is reading data from tables and send data to RFC, after updating RFC is giving response to JDBC to update its tables.
    JDBC - RFC - JDBC.
    Is it possible to do this scnario without using BPM?
    Experts pls advise me.
    Regards
    Bala

    Hello Bala,
    These links are useful to you..
    JDBC Sender/Receiver adapter
    /people/saravanakumar.kuppusamy2/blog/2005/01/19/rdbms-system-integration-using-xi-30-jdbc-senderreceiver-adapter
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/jdbcTOJDBC&
    http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
    Thanks,
    Satya

  • Error while executing WS to RFC sync on 7.4 single stack

    Hi Experts
    I am working in ws..>sap pi..>Rfc sync scerio
    when  I have entered the data in RFC its working fi9 but I am using SOAPUI to test it, it's giving me error:
    <text>com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: functiontemplate from repository was &lt;null>
    pls note that I have reimported the RFC 
    pls suggest!

    Refer to question no 16 under the below note
    730870 - FAQ XI 3.0/ PI 7.0/ PI 7.1/ PI 7.11/ PI 7.2/ 7.3 RFC Adapter
    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.

  • SOAP to RFC sync scenario

    Hello members:
    we have a business scenario: SOAP to RFC sync
    an external system (ABC) sends documentrequest thru XI SOAP adapter and makes an RFC call to a BAPI and gets back the resposne to the ABC system.we are handling 4 mappings. 1. request msg to a common msg 2. common msg to BAPI request3.bapi response to common msg 4. common msg to response msg(which is same as the req msg)
    i have the request msg and common msg as external definitions. I did the following steps and wanted to
    know if i am right.
    1. there are no data type & msg type needed for this
    2.  4 msg interfaces
    i)  document o/b sysnc
    ii) document i/b sync
    iii)common o/b sync
    iiii) common i/b sync
    3) 4 mappings
    i) document to common
    ii) common to bapi req
    iii) bapi resp to common
    iiii) common to req/response
    4) 3 intf mappings
    source intf**********               target intf
    i)document o/b               common o/b uses mapping #1
    ii)request :common i/b         bapi i/b  uses mapping #2
       resposne:bapi i/b           common i/b uses mapping #3
    iii) common i/b             document i/b uses mapping # 4
    pls provide your inputs if my approach is rite? do i need to have 4 msg intefaces?has any made mappings where 4 mappings are involved ( without BPM)
    Thanks in advance

    Hi,
    I think you will have only 2 interfaces.
    1. Sync Outbound interface (SOAP Structure)
        Two message types Req and Res
    2. Sync Inbound interface (RFC Structure)
        Two message types Req and Res
    Then two message mapping
    1. SOAP Request  to RFC Request
    2. RFC Response to SOAP Response
    and finally one Interface mapping.
    Thanks,
    Prakash

  • Doubt Regarding Sender Rfc adapter calls

    Hi Experts,
         When we call RFC in R3 system by giving destination as XI system,
    1) where exaxtly RFC cal executes either in R3 or XI?
    In case of sender RFC syncronouse call?  where exaxtly RFC cal executes either in R3 or XI?
    In case of sender RFC asyncronse call? where exaxtly RFC cal executes either in R3 or XI?
    2) In case of Recever RFC syncronouse call, where exactly RFC call executes, is it in XI or R3 system?
    Please help me out.
    thanks
    siva

    <i>1) where exaxtly RFC cal executes either in R3 or XI? </i>
    It is at R3 for bothe sync and asyn sender scenario.
    <i>2) In case of Recever RFC syncronouse call, where exactly RFC call executes, is it in XI or R3 system?</i>
    RFC is called from XI. The call is actually executed at R3 receiver
    Regards,
    Prateek

  • Message expired during sync call from BPM to ECC

    Hi guys,
    I'm doing a sync call to ECC during my BPM processing and it takes approx 2 minutes to the function module there to process the data. And since it takes so long I'm getting following exception for the message in SXMB MONI
    com.sap.aii.af.ra.ms.api.MessageExpiredException: Message xxxxxxxxxxxxxxxxxxxxx (INBOUND) expired
    Any ideas why does this happen and how to solve it?
    Thanks
    Olian

    Hi,
    Check this links
    Timeout when calling a RFC
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414900)ID1430683750DB10832347498039929799End?blog=/pub/wlg/3802
    Regards
    Ramesh

  • Jdbc -rfc -jdbc

    hi all,
    i have jdbc - rfc - jdbc scenario,should i go with bpm or without bpm approach?

    i have jdbc - rfc - jdbc scenario,should i go with bpm or without bpm approach?
    we have 3 Approaches :
    1. using bpm synchasynchbridge
    2.RFC LooKUP it is standard function of the "CONVERSION" Function Group in pi 7.1
    Defining RFC Lookups Graphically
    http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/8661
    note: if you are using pi 7.1 below version, then you need to wite one udf for RFC Lookup.
    3.Standard Adapter Module BEans RequestResponseBean
    http://wiki.sdn.sap.com/wiki/display/XI/Sync-AsyncwithoutccBPM
    http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/7032

  • Dispay RFC sync payload in SXMB_MONI

    Hi all,
    I hava a synchronous scenario RCF-TO-SOAP (RFC sender is R3 client).
    On XI I want that the parameter LOGGING_SYNC is set to 0, but at the same time I want
    to see the inbound payload in SXMB_MONI. I want to see it only for this specific scenario.
    How to achive this ? (maybe to do some setting or programming on R/3 before making a synch rfc call ?)
    Thanx, Janos

    Thanx for the answers, but I wonder if it is possible to set up logging just for one type of messages -
    when RFC sync sender is R/3, as it is stated in the link below:
    http://help.sap.com/saphelp_nw70/helpdata/EN/d6/49543b1e49bc1fe10000000a114084/content.htm
    Set logging in the message header. This means that this message is logged even if logging
    is deactivated explicitly in the configuration. The logging information is part of the message
    header:
    <SAP:Logging>1</SAP:Logging>
    Thanx, Janos

Maybe you are looking for

  • Firewire cable MacBook to iMac

    What type of firewire cable do I buy to transfer data from my MacBook3,1 to my brand new iMac? I have a cable that fits my MacBook but not my iMac. Thanks Message was edited by: judobscure

  • Unable to scan

    OK-brand new iMac and have it hooked up to a HP Laserjet 3055 (about 6 years old)-I can print, but can't scan. I went to driver update on HP site, updated there, it seems to not want to download the HP update provided by Apple-Am I missing something,

  • Can't Get ACR Updates for PS CS6

    My computer is a PC with Windows 7 Home Premium 64-bit with 8GB of memory.  My problem is I don't seem to be able to get any of the Adobe Camera Raw updates for Photoshop CS6 (perpetual license).  It's stuck at ACR 8.1.  I also can't get the last upd

  • Error coding question

    public void run() {   while(input.hasNextLine()){     String firstName = input.nextString();     String lastName = input.nextString();     String midInitial = input.nextString();     int emplClass = input.nextInt();     int yrsEmplyd = input.nextInt(

  • HCM Form Dynamic UI Control change

    Hi, I need a solution on the dynamic UI control change in Adobe form, I am populating the backbend values in the dropdown, but the requirement is if i get only one value in the dropdown i need to show that in textfield It means that i need to change