Synchronous sender JDBC to RFC

Hi alll
in case of sender JDBC Adapter,
i would like to put a result value of processing of target system at sender side.
but i have no idea with sender JDBC,
anyone has idea?  if i am not going to use BPM

Hi Tony,
Check these threads, they contain solution to your scenario.
JDBC source in a Synchronous BAPI call.
Re: Can I configure JDBC Sender to process the RFC response message?
Re: JDBC Sender Synchronously?
Configuring JDBC sender
http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
Configuring JDBC Receiver
http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm
Regards
Anand

Similar Messages

  • Sender JDBC adapter can be Synchronous?

    Hi,
    can we use sender JDBC adapter as synchronous in JDBC-XI-RFC Scenario without BPM?
    thank you
    babu

    thank you for your reply.
    Agasthuri,
    that link doesn't explain about sender JDBC,it explains about reciever JDBC adapter and more over using BPM,I have asked without BPM.
    Chandra
    do you know how can we achieve this?please stick to my question sender JDBC-xi-RFC without BPM.
    thank you again.
    babu

  • JDBC to RFC with BPM

    Hi,
    Please find details of my scenario.
    Oracle(VIEW)
    Sender JDBC--> PI--
    > RFC request
    and RFC response I need to update some other table in Oracle  using storeprocedure.
    and have one more storeprocesdure to update the View so that I will not get duplicate entry.
    I am not using UPDATE statement in JDBC sender communication channel, insted of that to update VIEW I am using storeprocedure.
    Please let me know how I can achive it with BPM.
    Thanks,
    Bhupesh

    Hi,
    1) If the structure send by JDBC is not acceptable by the BPM then you need one Mapping in JDBC ---> BPM flow.
    2) If the structure send by JDBC is same as the receiving structure of BPM then no need of Mapping.
    3) You will need one Mapping to map JDBC req message to the RFC req message; one mapping program to convert RFC response to the JDBC stored-procedure message....
    So your scenario with mappings will be:
    JDBC --> Interface Determination (Mapping Optional as per pt.1) -
    > BPM
    BPM <-> Interface Determination (Request-Response Mapping) <--> RFC
    In the above mapping program your ABS MI of BPM should have below MTs
    Req Message -
    > Original Message Received from JDBC
    Response Message ---> Message which needs to be send to the JDBC stored-procedure.
    Now your IN SYNC MI at the RFC end should have below MTs
    Req Message ---> RFC request message
    Resp Message ---> RFC response massage.
    Then in the Interface Detremination of BPM <----> RFC flow develop a IM with below mapping programs:
    Request Mapping between ---> MessageFromJDBC_to_RFCRequest
    ResponseMapping between ---> RFCResponse_to_JDBCStoredProcedure
    BPM -
    > JDBCStoredProcedure
    For this flow there is no need of Mapping program...
    using the above mappings programs you can ensure that there is no Transformation step in your BPM...this is to help you in achieving a good performance out of your BPM...
    You need a Syns ABS and Sync IN message Interface for BPM <---> RFC communication.
    Regards,
    Abhishek.

  • Sender JDBC Adapter and Synchronous Interfaces

    Hello
    I have a Oracle/JDBC -> XI -> ECC/RFC scenario. The communication mode is Synchronous.
    In the Oracle database I have a table with a "STATUS" field.  When JDBC Adapter Sends the rows from this table to the Integration Engine, it updates the "STATUS" from "G" (GENERATED) to "R" (READ).
    The response from the RFC contains for each row sent to RFC a "STATUS_from_RFC" field, that I would like to use to update Oracle STATUS field to "S" (SUCCESS) or "E" (ERROR).
    Can the Sender JDBC Adapter use the response from the Synchronous RFC to update Oracle "STATUS" field itself ?
    Or do I need a Receiver JDBC Adapter? In this case, I have to use asynchronous communication and BPM, ok ?
    thanks
    Julio

    Bhavesh,
    <i>>>>But, the online help states it supports QOS of BE and so it does support Synchronous Processing.</i>
    Even File adapter has QOS of BE
    To my understanding response back is possible only if it is PUSH + Sync
    Adapters PUSH + Sync
    HTTP
    SOAP
    RFC
    XI
    etc...
    For the above response is possible
    Adapter PULL + Sync
    File
    JDBC
    etc..
    In general there can be a response if there is a request. In the case of File and JDBC there is no request message coming to the adapter, its the adapter which is actually requesting.
    This is just an idea and my understanding.. might not be true If possible do try it and let everyone know I will also give it a try when time permits
    Thanks,
    Prakash

  • Sender JDBC Adapter in a synchronous szenario

    Hi,
    i am trying to set up following szenario:
    A JDBC Sender Adapter is polling data from a database, this data is beeing mapped to a synchronous RFC-Call to the R/3 backend. The result from the RFC-Call contains an order-number, which should be stored in the database.
    The query of the DB and the rfc-call works fine. The query is also doing the UPDATE statement to the DB, marking this line of data as beeing processed.
    The QOS in the sender-jdbc-adapter is set to "Best Effort", which should allow a synchronous communication.
    I am mapping the response of the rfc-call to a jdbc-receiver-like structure, in the monitoring i can see the rfc-result and also the message to update the databae. There are no errors in the adapter-monitoring and everything looks fine, except that the database is not beeing updated.
    Is there another messageformat for the synchronous answer to a sender-jdbc-adapter?  Or is it possible, that the commit for the answer is not beeing sent?
    We have an XI3.0 with SP16 installed.
    Thanks for your help.
    Ingo

    hi,
    you cannot use the Sender JDBC adapter to Upate.
    Create a receibver JDBC adapter with the format as mentioned and use it to update the DB.
    the steps in BPM wil be ,
    1. Receive -- for Sender JDBC adapter
    2- Send Synchronous -- RFC call synchrnous
    3 - Send -- using Receievr JDBC adapter to Insert / Update the DB.
    Do let me know if u need further info,
    regards,
    Bhavesh

  • JDBC to RFC synchronous scenario (Urgent).

    Dear forum,
    My requirement is data is populated in oracle data base.we are fecthing the data from database through XI and sending it to R/3. RFC is sending the response (suceess/failure) to XI. And XI is updating the status message into database.
    For this,I have done the JDBC - RFC - JDBC syncronous scenario using BPM. .I got the successfull message under message monitering.Problem is I cannot able to find the data for RFC and JDBC reciever.
    Please find the following Configuration steps for the above scenario
    3 data types
    JDBC request, JDBC response one dummy structure to capture RFC response messages.
    3 message types for the above data types
    5 message interfaces.
    OB request,
    OB ABS request,
    IB Asyn for dummy,
    Syn ABS (JDBC req and dummy structure),
    IB JDBC response.
    4 message mappings.
    Mapping between JDBC request to JDBC request dummy.
    Mapping between JDBC request dummy to RFC request.
    Mapping between RFC response to JDBC response dummy.
    Mapping between JDBC response dummy to JDBC response.
    3 Interface Mappings.
    JDBC request to JDBC request dummy.
    JDBC request dummy to RFC request and RFC response to JDBC dummy response(Synchronous request and responce) .
    JDBC dummy response to JDBC response.
    Integration Process.
    Used following steps.
    Recieve step asynchronous -> Send synchronous -> Send asynchronous
    I can able to see the payload for sender under communication channel.But the data is not reached to RFC.can any one help me to come out of this problem.
    Points will be awarded for helpfull answers.
    Thanks & Regards,
    Naresh.K

    Hi Seshagiri,
    We are trying the same scenario with out using BPM.
    Following steps has been done in design(IR).
    2 data types for JDBC request & JDBC response.
    2 message types for the above data types.
    1 outbound synchronous message Interface.
    2 message mappings (JDBC request -> RFC request) and (RFC response -> JDBC  response)
    1 Interface Mapping.
    Could you please let me know how to maintain the collaborative profiles & and agreement details in Configuration(ID).
    Your valuable assistence is required to complete the interface.
    Thanks in advance.
    Kind Regards,
    Naresh.K

  • Sender JDBC to Receiver RFC scenario

    Hi All,
    I have to configure an scenario of sender JDBC to receiver RFC wherein SAP PI will be pulling data from third party database (Oracle).
    Since I am configuring such scenario of sender JDBC, I want help on every important key aspects/prerequisites of configuring sender JDBC adapter/channel. I want to understand about Database Connection, Processing Parameters, etc. details while configuring sender JDBC channel and their significance/relevance.
    Also I need guidelines about the source data structure (message type or external definition) to be used/created in ESR.
    How sender JDBC channel and receiver JDBC channel differs from each other?
    Please guide me on this.
    Thanks & Regards,
    Amit Patil

    Hi Amit,
    First of all you should read the sap.help documentation:
    Configuring the Sender JDBC Adapter - Advanced Adapter Engine - SAP Library
    Configuring the Receiver JDBC Adapter - Advanced Adapter Engine - SAP Library
    Later, you can read Rajs's blog to advance concepts and perfomance JDBC Receiver scenarios best practices part-1
    Finally, search the other blogs and documents in the SCN.
    How sender JDBC channel and receiver JDBC channel differs from each other?
    JDBC sender always does a poll to a DB table (with join some tables) in wich table you will need a field checkbox to mark the registers read, and the the receiver JDBC you can do a typical SQL construction like SELECT, INSERT, DELETE, etc. Both cases need the JDBC DB driver installed (check the SAP notes for this, also you can find some examples in the SCN:http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8000cffc-6b92-2d10-3493-f2ac1399242f?quicklink=index&…  PI/XI: deploy a JMS/JDBC driver without JSPM? ).
    Regards.

  • Very strange issue regarding Sender JDBC to Recevier RFC?

    I've been testing sender JDBC to Receiver RFC,
    but i realized that target RFC was not performed even though moni is clear and RFC adapter monitoring is clear,
    both monitoring is successful.
    also checked that RFC_Receiver adapter setting is correct.
    i also checked RFC Function at Target side whether it is running or not correctly, it is no problem with test value.
    i've never been seen such issue.
    Dose anyone has such experience?
    Message was edited by: Tony
    Message was edited by: Tony

    yes, nothing there.
    but i forgot to tell you one thing,
    sender has one and target has two each communication channel on service, JDBC to JDBC and RFC.
    JDBC to JDBC is ok, but JDBC to RFC is above issue.
    sxmb_moni has two message according to above two receivers when i execute, and two messages are correct
    adapter monitoring is correct
    Message was edited by: Tony

  • Question regarding JDBC - XI -RFC

    Hi all,
    I have a scenario which XI will get data from database (using jdbc adpater) then send data to execute in RFC. This is an asynchronous call. My question is that.
    1. If XI can get many records from database in 1 select, will it send many records to RFC at once? Is there any way i could tell XI to split input data into many message (1 message for each record) without using BPM? or Is it possible or better to set import parameter of RFC into table to get many record from XI at once?
    2. If i manage to make 1 message for each record, Could i use queue for sending data to RFC? I want the first record to be completed before sending second record. Since this is an asynchronous call, I'm not sure that XI could be able to know when to send the second record or Do I have to make it synchronous call to get return response from RFC after RFC finish execution and use BPM to get return response before sending next data to RFC.
    Any suggestion from expert?
    Thanks,
    Pavin

    Hi
    1. If XI can get many records from database in 1 select, will it send many records to RFC at once? Is there any way i could tell XI to split input data into many message (1 message for each record) without using BPM? or Is it possible or better to set import parameter of RFC into table to get many record from XI at once?
    Yes you can do multi mapping 1:N without BPM
    Message Splitting Using the Graphical Mapping Tool
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    2. If i manage to make 1 message for each record, Could i use queue for sending data to RFC? I want the first record to be completed before sending second record. Since this is an asynchronous call, I'm not sure that XI could be able to know when to send the second record or Do I have to make it synchronous call to get return response from RFC after RFC finish execution and use BPM to get return response before sending next data to RFC.
    You can queue to process one by one. Response can be obtained with or without BPM
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/file-rfc-file(Without%2bBPM)
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/jdbcTOJDBC
    JDBC to RFC Mapping Problem.
    Thanks
    Gaurav

  • 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

  • Can you explain steps in the Async and Sync scenarios JDBC to RFC.

    Hi,
    Can you explain some basic steps in the Async and Sync scenarios for sending data from JDBC to RFC.
    Like,
    The data is picked up from the  database table through JDBC adapter.
    It is passed on to SAP  by calling the RFC. RFC gets executed         
    successfully. The status is returned by the RFC. The status needs to be
    updated back into the SQL database table.
    Is this a sync case or async case.
    What si the diffrences in the sync and async scenarios in the above JDBC to RFC scenarios.
    Soorya

    hi check the below link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5474f19e-0701-0010-4eaa-97c4f78dbf9b
    JDBC Synchronous call using BPM  
    Data Types -
    1) File Input
    2) JDBC Req
    3) JDBC Response
    4) File Response of similar type of JDBC Response.. ( This you can avoid also..let it be for first time)
    Message Types
    4 for each data type
    Message Interfaces
    1) Async, Outbound, Interface, to receieve the file
    2) Async, Inbound , Interface to send the file from XI
    3) Async, Absract , Interface of type File message type to recieve the message in the BPM
    4) Sync, Abstract Interface with Req message type as File Request, and Response Message type as a file Response
    5) Sync , Inbound interface for JDBC with Input message type as a JDBC Request and Output Message type as a JDBC Response
    Message Mapping:
    1)Mapping between File Req to the JDBC req
    2) JDBC Response to File Response
    Interface mapping:
    1) Sender Interface as a Sync,Abstract Interface created for the file type and target interface as Synchrnous JDBC interface.
    Use corresponding mapping for Req and Resp..
    note:reward points if solution found helpfull.....
    regards
    chandrakanth.k

  • JDBC to RFC & Mail

    Scenario:
    In JDBC to RFC
    Output of above sender adapter will pass through 1:N mapping to generate individual records as separate message.
    Each individual records is passed to attached XSLT to genarate RFC format message
    RFC response has to be evaluated for errors. If there are errors there should be an email to a support group (we have to use email adapter here)
    Along with the email, if there are errors, we need to update  the source table.
    How to acheive this using bpm?
    i mean how many
    Data Types,Message Types,Service Intrefce (obibabs),message mapping & operation mapping in IR
    SenderAgreement,ReceiverAgreement,InterfaceDetermination,and ReceiverDetermination in ID
    Thanks
    Sri

    How to trigger a mail adapter from BPM??
    I need to fetch the data from database table through XI, and mapping to Synchronous RFC. Then, RFC response is send to both JDBC and email also. I am using BPM scenario for this. Please, let me know, how can I map with RFC response to email and JDBC. How can I handled in BPM scenario.
    Can you please suggest me steps.
    Thanks You
    Edited by: Srilak on Mar 8, 2011 3:49 AM

  • 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

  • Mapping Issue in JDBC-- XI-- RFC

    Hi All,
    I have developed a scenario, where data flow is as follows...
    sql->JDBC sender-> XI->RFC Reciever---> SAP.
    Now, the data is retrieved from SQL and queued in Message monitoring.
    I am unable to pass it to RFC reciever and then to SAP.
    I hope it may be problem with the message mapping.
    In this scenario, what should be the message mapping...???
    Can anyone explain me how many mappings needed...????
    Regards
    Pavan

    I am not using any BPM or context objects.
    Business systems are properly associated with the communication channels.
    Doubt about the configuration.....
    sql>sender jdbc-> Xi Reciever RFC---->Sap
    Integration Repository:
    data types:
    sender_dt, reciver_dt
    Message types:
    sender_mt, reciever_mt
    Imported RFC:
    ZBAPI_pavan
    (Reciver_dt will be having same structure as ZBAPI_pavan)
    Message Interfaces:
    jdbc_ob_mi (o/b, Async. sender_mt)
    rfc_ib_mi (I/B, Async, reciever_mt)
    Message Mapping:
    sender_mm
    (Mapped sender and reciever message types)
    Interface Mapping:
    jdbc_rfc_im
    (Source Interface: jdbc_ob_mi and Target Interface: rfc_ib_mi)
    (Source message: sender_mt, mapping pgm: sender_mm and Target mesg: reciever_mt)
    Integration Directory:
    Sender (sql to XI)
    Business Sys: JDBC_SENDER_BS
    Comm Channel: JDBC_SENDER_CC
    Reciever (XI to SAP)
    Business Sys: RFC_RECIEVER_BS
    Comm Channel: RFC_RECIEVER_CC
    Reciever Det:
    In this Buss Sys wil be sender business sys.
    Interface wil be jdbc_ob_mi... (sender Outbound)
    Configured Recievers--->service = RFC_RECIEVER_BS (Reciever Buss sys)Configuration Overview->RFC_RECIEVER_BS->RFC_IB_MI, jdbc_rfc_im,  rfc_reciever_cc
    Interface Determination:
    Sender---> Buss Sys: JDBC-SENDER_BS, Interface: jdbc_ob_mi,
    Reciever--->Buss Sys: RFC_RECiever_BS
    Configured inbound interfaces:
    I/b interface: rfc_ib_mi, interface mapping: jdbc_rfc_im
    Sender Agreement:
    Sender--> Buss Sys: jdbc_sender_BS, interface: jdbc_ob_mi,
    sender comm channel: JDBC_SENDER_CC
    Reciever Agreement:
    Sender-->service: jdbc_sender_bsReciever:
    service: rfc_reciever_bs,
    Interface: rfc_ib_mi
    With the above configuration, messages are qued up in the SXMB_MONI.
    They are not passing into SAP.
    When i tested in Configuraion->Tools-->Test Configuration,
    error is displayed as follows.... Error is at Interface Determination and Mapping.
    Interface Mapping
    ... (109 lines)
    can any one Help me out.....?
    Mappings are perfectly alright..
    I have created interface det, rec/sender agreements again anad again.....
    Restarted server...cleared cache...
    Kindly go through above configurations and help m ein solving this problem....Any help...????
    Message was edited by:
            Pavan Sanganal

  • Two select query in sender JDBC adaptor

    Hi
    We are doing JDFC-RFC scenario, in which i need to fetch the data from two tables (header  and item table) whch correspondes to the 2 table parameter of RFC .
    Any clues how to configure sender jdbc CC having  2 select query ??????
    Regards
    Vijay

    Swatantra,
    You can have a look at the below URL for more info on JOIN.
    http://www.w3schools.com/sql/sql_join.asp
    Best regards,
    raj.

Maybe you are looking for

  • How to create a group and add class instances to that group using VSAE

    how can i create a group in VSAE and add the objects to the group that too instances of a class. should i use the ID of the object or some other rule to add members to that group Thanks & Regards, Suresh Gaddam

  • How can I fix my Ipod nano 5 gen

    I got a refurbished Ipod nano 5 gen at a Gamestop and I have been having fits with it since. I tried using it on my laptop and it wont show and I used it on the family computer and formatted it and all it shows me is that it is a removeable disk and

  • Special Characters in phone numbers - 6085

    I have looked through the entire User's Guide for my 6085 and cannot find how to store special characters, such as pause, in the telephone number. Lots of info about special characters for texting but not phone number. Is this feature not available?

  • Date Comparision in apex 3.0.1

    How to compare dates using this date picker collection. SELECT APEX_ITEM.DATE_POPUP(1, 1, null, 'DD-Mon-YYYY',10, 15, ' ','apex_date_f01_' || LPAD(rownum, 4, 0) ) "Baseline Start", APEX_ITEM.DATE_POPUP(2, 2, null, 'DD-Mon-YYYY',10,15, ' ','apex_date_

  • Dota 2 problems on Macbook pro 13 inch

    Hey everyone I'm having this problem on my MacBook Pro 13 inch mid 2009 OSX 10.9 while playing dota 2. When I'm about to play it is so lagggggyyyyyyy like I can't land a skill. I have fast consistent internet and I'm trying to download bootcamp to se