JDBC Synchronous ?

Hi
Is it possible to use JDBC adapter synchronous mode ? If so, how do we use it ?

If you want to use JDBC sender in Synchronous mode then you have to follow either of the below two approaches:
1) Make use of RequestResponseBean as shown in this wiki
[https://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File(WithoutBPM) |https://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File(WithoutBPM)]
2) Make use of BPM
If you want to use JDBC receiver in Synchronous mode then you can directly make a sync call....no need of any Bean/ BPM in this case......
Regards,
Abhishek.

Similar Messages

  • IDOC to JDBC Synchronous interface

    Hi Experts,
    I am using PI 7.1.
    Having requirement of IDOC to JDBC synchronous scenario. When data is coming from SAP to DB it is updating data in to u201CXu201D table, when data response from DB is u201CYu201D table.
    How can I configure this interface, Please suggest me.
    Best Regards,
    Pasi...

    Hello,
    For special problematic of IDOC -> JDBC and sending back acknowledgement have a look to One Logical System Name for serveral BPM Acknowledgements
    One Logical System Name for serveral BPM Acknowledgements
    Step by Step JDBC Synchornous
    JDBC Receiver Adapter -- Synchronous Select – Step by Step
    Integration with database made easy
    Integration with Databases made easy – Part 1.
    SOAP <=> JDBC Synchronous
    SYNCHRONOUS SOAP TO JDBC - END TO END WALKTHROUGH
    Serialize IDOC XML
    How to serialize IDoc XML messages fed into XI
    Regards,
    Phani

  • SOAP to JDBC Synchronous scenario

    Hi experts
    As per my requirement iam going to do SOAP to JDBC.
    Please guide me how to do SOAP to JDBC (synchronous)
    through XI .any step by step docs or blogs related to this
    please forward to
    [email protected]
    if helpful points will be rewarded.
    Regards,
    Naresh

    hi..
    To send SOAP request u have to download the Altova XML spy tool..
    follow this link for SOAP adapter.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    for JDBC receiver adapter follow
    /people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
    regards
    MAnas
    reward if helpful..

  • Proxy to jdbc synchronous considerations

    There is a scenario, abap program call proxy, send sql1 (select) and sql2(update), and get the sql response.
    so  solution A
    proxy--XI--
    jdbc synchronous.
    There is another solution B:
    jdbc--XI--
    proxy asynchronous
    One difference is, If failed between XI to proxy, It is NOT able to resend  for solution A.
    But the strength of soultion A is, we can send more SQL with jdbc receiver adapter, But we can only send one select and one update with jdbc sender adapter.
    I prefer  solution A.
    But is there anything more has to be considered?
    Edited by: Shen Peng on Nov 30, 2010 2:58 PM

    No, you do not have to add additional receiver determination
    Usually in sync scenario, make sure you have one receiver determination, no arbitration.
    If you have condition for receiver detemination, make sure the condition only return one true.
    Liang

  • Client Proxy to JDBC synchronous Scenario

    I'm using Proxy--PI---JDBC synchronous shcenario, when i execute the proxy from R/3 it is giving me error "RCVR_DETERMINATION.NO_RECEIVER_CASE_BE" in configuration i have used one inbound receiver determination for request, my question is do i need to have one more reciever determination for response.
    Thanks for help.

    No, you do not have to add additional receiver determination
    Usually in sync scenario, make sure you have one receiver determination, no arbitration.
    If you have condition for receiver detemination, make sure the condition only return one true.
    Liang

  • Jdbc synchronous not work

    I design a test scenario, http to jdbc synchronous.
    I send a test message in rwb, integration Engine. but I can't see message entry in sxmb_moni, and rwb message monitoring.
    When I send  error sql, I can see message in sxmb_moni.
    I don't know why.
    Reciever sql request message is
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:sd025QR xmlns:ns0="http://topfine.com/TG/BPM"><ST1><DML action="SQL_QUERY"><access>select  * from o_tns16_base where sapflag=&apos;0&apos;</access></DML></ST1></ns0:sd025QR>
    response message structure is:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:sd025QR_response xmlns:ns0="http://topfine.com/TG/BPM">
       <ST1_response>
          <row>
             <compcd/>
             <custcd/>
             <cigcd/>
             <baseqty/>
             <unitid/>
             <upddate/>
             <mq_lsh/>
          </row>
       </ST1_response>
    </ns0:sd025QR_response>

    got to SXMB_ADM -- > integration engine -- > specific configuration -- > change your logging_synch parameter value to 1

  • No response message in Proxy to JDBC synchronous scenario

    Dear Team,
    I am working on synchronous scenario Sender ABAP proxy <===> SAP PI 7.31 <===> Oracle Database.All the necessary proxy configuration has been successfully tested.
    Business Scenario:
    ABAP proxy will send a single Vendor Id to Oracle DB as request and in return , it has to retrieve all the columns related to Vendor as response.Oracle Database stores all the Vendor information.There are 11 columns including the vendor Id in the view for the Vendor records.
    Design :
    For Request structure:
    a-->Created MT for Sender ABAP Proxy with only 1 field for Vendor Id.
    b-->Created MT for Receiver JDBC  with Action as SELECT , Table with "View Name" , Access with Constant Blank for all 11 column and Key as Vendor Id.
    I have been following  the link and Bhavesh Kantilal document.
    http://help.sap.com/saphelp_nw73/helpdata/en/44/7b7171fde93673e10000000a114a6b/content.htm?frameset=/en/44/7b7855fde93673e10000000a114a6b/f
    rameset.htm&current_toc=/en/ca/b977f1c7814201954f20bb87ad7aab/plain.htm&node_id=71
    For Response structure:
    Created MT for Receiver JDBC with All the column names.
    Created MT for target ABAP ECC with the same 11 column name of JDBC response.
    Note :
    1.Database team shared a excel file as a sample payload which has all the column names of a vendor and I created my DT with the same naming conventions as they are maintaining in their database i.e. Column names are in CAPs, in the same order and even the special characters in the column name.
    2. The PING test connection for Cc works fine to database.
    Please read out my queries as the I am not receiving any response from Oracle DB and gives error as timeout exception:
    1.Since I am trying to retrieve all the column of the view , am I doing the correct procedure of putting all the column name in the JDBC request structure and making a Select statement. Can I add < * > to fetch all the column name and if so where can I add it.
    2. Whats the difference between SELECT and SQL_QUERY and on what circumstances I can add it?
    3. How can I test ICO in ID?
    4. Can I use any SOAP tool to test the messages? Is there any functionality in NWA to test the messages directly to JDBC .
    Hope all your inputs can improve my design part.
    Regards
    Rebecca

    Hi Rebecca,
    Did you go through all of these links below?
    PROXY to JDBC- SYNC
    Proxy to JDBC Sync, with Idoc Receiver
    JDBC to PROXY Sync Scenario | SCN
    JBDC Receiver Insert Statement Response
    Re: Synchronous JDBC select
    receiver JDBC structure
    Regards,
    Jannus Botha

  • JDBC Synchronous call  using BPM

    Guys,
    Scenario is like this.
    1. Initiator is file adopter
    2. JDBC select (Synchronous call) select data from 1 DB table
    3. Copy response into some FTP system as a file.
    File Initiator is working fine Synchronous call is giving the error.
    I have created the Message Interfaces
      1. Synchronous abstract (JDBC_select)
      2. Asynchronous abstract (JDBC_Select)
    I have done the 2 mappings like
    1. File Initiator as source and JDBC_Select as target,
       (I am passing all constants values to JDBC_select like action='SELECT' table='tablename' and keys as well)
       JDBC_Select structure i have created as
           <Root>
             <selectStatement1>
             <action>
             <tablename>
             <access>
             <c1>
             <c2>
             <key>
             <c1>
    2. JDBC_response as source to Target_FILE as target.
       Response structure is like this
        <root>
        <row>
        <c1> </c1>
        <c2>...</c2>
        </row>
        </root>
    I have created the BPM by using
      --> transformation and send steps.
    Can any body send me the Blogs for this scenario .
    Thanks
    M

    Moorthy,
    <u>Message Types</u>
    1) File_Input
    2) JDBC_Req
    3) JDBC_ Response
    4) Target_File
    <u>Message Interfaces</u>
    1) Async_Outbound,
         - File_Input
    2) Async_Inbound
         - Target_File
    3) Async_Absract
         - File_Input
    4) Sync_Abstract
         - Target_File (Output Message)
         - JDBC_Response (Input Message)
    5) Sync_Inbound
         - JDBC_Request (Input Message)
         - JDBC_Response (Output Message)
    <u>Message Mapping</u>
    1)Mapping1
      - File_Input as a Source
      - JDBC_Reqest as Target(Here I am passing all constants values like action, tablename , accessfields and keyfields)
    2)Mapping2
      - JDBC_Response
      - Target_file (Target file structure as same JDBC_Response structure)
    <u>Interface Mapping</u>
    Interface Mapping 1
       - Sync_Abstract (source Interface)
       - Sync_Inbound  (Target Interface)
    Here is my doubt I am not getting Mapping program in the dropdown (F4 help), it is problem with my source and target?.
    What are the source and target for second interface mapping.
    Thank you for helping me alot on this..
    M

  • IDOC to JDBC synchronous scenario

    Hi All,
    We have the following requirement:
    Idoc will be sent from ECC to SAP PI and from PI we update MS SQL server using JDBC receiver adapter synchronously and get the insert/update count as response and send this response back to ECC as ALEAUD or SYSTSTATUS idoc along with the initial IDOC number. So that status of the original idoc gets updated at ECC side.
    We have SAP PI 7.31 single stack system.
    Following are my queries:
    - Can this be achieved using BPM?
    - with BPM, how can we send the original IDOC number in the status IDOC  which we send back to ECC, is it through correlation feature  ?
    - Can this be achieved without BPM?
    -- How can we send the original IDOC number in the status idoc which we send back to ECC, without using BPM?
    Kindly help with suggestions.
    Thanks,
    Jane

    Hi,
    Using BPM you can capture the source IDoc no and also response from d/b(insert/update count) using 2:1 mapping in BPM (source IDoc,Resp-->Target IDoc).
    Try the below alternative if you don't want to go for BPM.
    Use request response bean and use
    "GetPayloadValuebean" ,RemovePayloadValueBeanto store the IDoc no in request flow and remove the same from payload while passing to target system .
    PutPayloadValueBean to retrieve the saved IDoc no and put it in response structure .Now in response flow you can pass as per your wish
    Sync-Async without ccBPM - Process Integration - SCN Wiki
    Insert value from Request message to Response message using GetPayloadValueBean and PutPayloadValueBean
    Regards
    Venkat

  • JDBC Synchronous Scenario Issue

    Hi,
    I am working on JDBC to RFC which is a synchronous scenario. My sender jdbc channel is configured QoS as Best Effort. Data is getting passed to JDBC to RFC, as this is synchronous the RFC(i.e. response) to JDBC is getting triggered. Now when the RFC to JDBC is triggered i am trying to delete some data in a jdbc table. This delete process is not happening. But in moni both the messages are successfull and in RWB also i couldn't find any error.
    Please help me out.
    Thanks in Advance.
    Regards,
    Sudheer

    Hi Aamir,
    As per your suggestion i have implemented BPM for this scenario and now it is triggering the receiver JDBC channel but in my apapter monitoring i found that my receiver channel is having an error and couldn't process my request.
    I have raised a forum thread for this error, please look at the below link for the same and kindly help -
    JDBC Receiver CC Error
    Looking forward for your help in this regard!!
    Thanks in advance!!

  • RFC to JDBC synchronous

    Hi experts,
    i have to scenario RFC to JDBC
    i need to know in R3 (parameter import by RFC) the number of lines inserted in database.
    receiver JDBC give mne this data, but my doubt is if is necessary mapping this statement?, is necessary to create this datatype, what is the datatype -string, int,..? have i to defined a synchronous scenario?, how many messages interfaces i need?
    very thanks,

    thanks all,
    how can i mapping this message, give me error..
    jdbc_response  1..1                      rfc_response 1..1
       insert_count  1..1                         count         0..1
         count          1..1
    my mapping is
    jdbc_response -> rfc_response
    count             -> count
    (insert count no mapping)
    the error is 'Returning synchronous error notification to calling application: com.sap.aii.af.ra.ms.api.DeliveryException: Application:EXCEPTION_DURING_EXECUTE:.'
    can you help me please?

  • JDBC-JDBC Synchronous scenario

    Dear All,
    We have a scenario below and required your valuable inputs:
    From Sender DB system, we have to read 1000 records and update the flag from 0 to 1. PI does the required transformation and using SQL statements, it has to insert in the Target DB system.
    Ex: If 100 records failed in Target DB due to some erros in execution of SQL stmt, we need to send these 100 records back to sender and update the flag 1 to 2.
    FYI.. There are no Stored Procedures at Target DB system.
    We created both Sender/Receiver interfaces as Synchronous interfaces and in the response structure we defined 2 fields to read the primary key of the records, but the response mapping is getting failed.
    because JDBC Receiver adapter is allowing to have only insert_count field as response structure.
    Is there any way that I can read the failed records.
    Please suggest.
    Regards,
    Srinivas

    Hi Srinivas,
    Kindly do like this: Create a JDBC Lookup based on the response with BPM with the Primary Key Fields, Also refer Martens provided blog will helps u a lot.
    For creating JDBC Lookups Please refere the following Blogs:
    /people/jin.shin/blog/2008/02/15/sap-pi-71-mapping-enhancements-series-graphical-support-for-jdbc-and-rfc-lookups
    /people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi
    /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    Also refer the following threads:
    Re: JDBC Lookup and populate fields for output
    Re: JDBC Lookup
    Re: JDBC Lookup UDF- To fetch multiple values
    Regards
    Venkata Rao .G

  • JDBC- RFC- JDBC Synchronous scenario (Can't see the response message)

    Hello Experts,
    I tried this step in creating a synchronous scenario by using steps found in this site -> [http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File%28Without%20BPM%29|http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File%28Without%20BPM%29] I just changes File to JDBC. But problem is I see the sent XML message in SXMB_MONI but to response message. I also can't see the Sender interface name for the response message when I tried to use F4 in the Interface Name portion.
    Do someone encountered this before? Please help
    Regards,
    Alfred

    Hello,
    I hope someone could guide me on how to set this up cause I only see the sent message but there's no response message in SXMB_MONI. Note that interface was successful, I just want to see what was sent by the response.
    Regards,
    Alfred

  • Help needed in HTTP to JDBC synchronous

    Hi,
    I am doing a interface which involves the HTTP and Database (JDBC), i need to send some two fields as request and based on the certain condition of these two fields i need to get some 4 fields as response.
    Can any one please help me out in this regard so that i can atleast frame an idea and start doing the interface?
    Thanks,
    PSV.

    Hi PSV,
    BPM Not Required.., just go through the blog and see how you can use JDBC Receiver adapter for Synchronous select...
    Information provided in the blog is sufficient to solve your problem.
    Regards,

  • AEX JDBC Synchronous Timeout

    Hi everyone!
    I have a synchronous scenario Proxy->JDBC On PI 7.4 Java Only.
    I have imported this scenario from another server dual stack, there it works.
    I following this thread
    SOAP Receiver adapter on 7.4 AEX exeeds synchronous timeout
    , but it´s not answered.
    do i forgot something?

    Hi guys,
    I found a solution.
    Applying the SAPnote 0001493502.
    Our problem was the paralelism, this wasn´t set.

Maybe you are looking for

  • How can I transfer a word doc to iPad?

    I am trying to tranfer a word doc to an iPad. Any answers?

  • Automatic Payment Programm -Edit postal error

    When i am running T.Code F110. After entering Select Edit posal then its getting following errror. Company codes 1000/1000 do not appear in proposal 14.09.2008  RRR; correct Message no. FZ003 Diagnosis No data exists for the specified paying company

  • PSE 10 with windows XP editor

    I select a picture from a catagory, click on single view and click the dropdown box for edit. It does not matter which I select full, quick or guided. the tools come up on the left as they should in full or quick but the selected picture does not app

  • What is LEFT JOIN ?

    I have gone through LEFT JOIN . Here is LEFT JOIN . Check the link http://i218.photobucket.com/albums/cc298/curseofgoldendragon/test-3.png I have a doubt here. I see we are picking all the records from Table A ...so, I dont think we need to join here

  • Bad DVD Playback on Computer

    I have a G5 2.5 GHz running OS X 10.3.9 and when I make a video in Final Cut Pro, export it either as a reference or self-contained Quicktime Movie, drag it into iDVD and burn it, it plays fine on my home DVD player but on my G5, it has horizontal ri