Can I configure JDBC Sender to process the RFC response message?

Dear All,
We're working on an integration scenario of synchronous messaging from database to RFC. Is there any way to update or insert the record(s) onto the source database according to the BAPI response?
Any inputs are welcome. Many thanks for your time and support.
Regards,
Matthew

Hi Chun,
As far as I know you will not be able update the database back based on RFC response in a synchronous way though you have option of selecting BE in sender JDBC adapter.
This is sentence from SAP training material...
"In the case of a JDBC sender, the database table is queried via a SELECT statement. The message is by definition asynchronous hence the QoS should be set as EO or EOIO. "   
The only option i can think of is JDBC Sender(async)->BPM->RFC(synch)->response mapping to JDBC receiver structure->JDBC receiver to update the table.
Also check these threads...
JDBC source in a Synchronous BAPI call.
Re: JDBC Sender Synchronously?
Anand
Message was edited by: Anand Torgal

Similar Messages

  • How can you configure mail settings in process chains?

    HI Experts,
    please let me know how can you configure mail settings in process chains?

    Dear Suman,
    To initiate the mails we first need to have SMTP connection. To check the same go to so00 and try sending mails to ur ID. If is successful it states that u have the SMTP access.
    To create mails to Process chains:
    Right Click on the Process varient select the Create Message in the context menu.
    Select the type of mail i.e for successful, Error, Anyways.
    Then follow the screens.
    Note: The recipient type should be Via Internet.
    Hope this helps u.
    Regards,
    Kishore.Pulla

  • Can I configure file sender to take only 1 file per time?

    Hello,
    Can I configure file sender to take only 1 file per time?
    I have scenario from file to ECC.
    The poll interval is 300 seconds.
    I want that the sender channel will take only 1 file per time.
    Thank you
    Elad

    Hi,
    Definely there will be some specific reason for doing this. If your purpose of doing this is to read the files one after another then there are other alternatives for that like using QoS as EOIO and then putting a delay of 30 sec in your message mapping so that each message will be process after 30 sec.
    If you describe more than probably someone can give his/her best opinion.
    Regards,
    Sarvesh

  • Configure Mail to have only the 50 last messages.

    Is it possible to configure Mail to have only the 50 last messages, as it is on iPhone?
    Thanks.

    Ok, thanks for the tip.
    But It is not exactly what I want to do. Maybe it is not possible.
    In th iPhone mail app, you can configure your imap acount to be synchronised with your mail sever loading only the 50th last messages, in order to save spaces in your iPhone. I am looking for this opotion on my macbook, for the same reason.

  • Error: Unable to process the following response from FOI server

    Hi
    While integrating BI with mapviewer, I am getting the following error:
    Unable to process the following response from FOI server
    Please let me know how this can be fixed
    Thanks & Rgds
    Dipesh
    Message was edited by:
    user542575

    One more question about NSDP, Im still wondering how can NSDP work as you only need to declare nsdpInfo.setKeyColumn("xx") --xx
    Eg. My result set come from OBIEE, it hase 2 column xx and yy.
    Im just copy the sample code to translate the output into xml, the output sample is like:
    Column 1 Column 2
    440100 0
    440200 5
    440300 1
    So how can MapViewer know that the second column is the value column?
    The same question is about when the output is multiple column.

  • How to populate the RFC .Exception Message Type?

    Hi All,
    I am invoking an RFC synchronously from PI.
    I am using the RFC.Exception message type to capture the exception raised from the RFC.
    In the RFC, I have created a Non-class based exceptino anf raising it using the "Raise" command.
    But it is only pupulating "Name" and "Text" of the Exception message. All other fileds are blank.
    Is their a special way to raise the excpetion in rfc so as to populate the Exceptoin message type in PI completely?
    thanks,
    Piyush

    But it is only pupulating "Name" and "Text" of the Exception message. All other fileds are blank.
    Did you follow the steps as mentioned in this blog: /people/jin.shin/blog/2007/05/21/handling-web-service-soap-fault-responses-in-sap-netweaver-xi
    Regards,
    Abhishek.

  • Problem with Sender JDBC adapter while processing the message

    Hi,
    I am facing some problem while using the JDBC sender adapter.
    Here is the trace where i have seen the Socket Closed problem. But it was for few seconds.
    Later on it was working fine. This happens intermittently. So it was very difficult to collect the traces.
    Please check the trace,
    #1.5 #001A4B06B868008500001FF10000555D00045C190344E1D3#1227162409422#c
    om.sap.aii.adapter.jdbc.JDBC2XI##com.sap.aii.adapter.jdbc.JDBC2XI.invoke()
    #J2EE_GUEST#0##n/a##f30c1fd0b6ca11ddc489001a4b06b868#XI JDBC2XI[JDBC_Send/BSC/]_1235135
    ##0#0#Warning##Java###Catching #1#java.sql.SQLException:
    [Microsoft][SQLServer 2000 Driver for JDBC]Socket closed
         at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
         at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSExecuteRequest.submitRequest(Unknown Source)
         at com.microsoft.jdbc.sqlserver.SQLServerImplStatement.execute(Unknown Source)
         at com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown Source)
         at com.microsoft.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)
         at com.microsoft.jdbc.base.BaseStatement.executeQuery(Unknown Source)
         at com.sap.aii.adapter.jdbc.JDBC2XI.invoke(JDBC2XI.java:418)
         at com.sap.aii.af.service.scheduler.JobBroker$Worker.run(JobBroker.java:475)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Can anyone please help me out why I am getting this error intermittently?
    Any specific reason so that i can rectify.
    Urs,
    Soorya

    Hi,
    We have checked all those but still we could not find any problem.  And we are not getting this error for
    continously . Only intermittently. So what could be the reason behind this. It is not remaining for long time.
    so please tell me the exact reason behind this problem to overcome this problem for ever.
    Thanks
    Soorya

  • Can't configure FingerScan after re-install the system

    I had to re-install the whole system from the image. All went well and works fine now BUT... I can't configure the finger scann utility with my fingerprints. Every time I try, I am able to scan it and I can see that it works. But then the tool asks to save the configuration.
    When I try to save it I get a message which in German says.
    Vorgang fehlgeschlagen. Doppelte Vorlagen sind bereits vorhanden.
    I'll try to translate in English :
    Operation failed. Double templates are already available.
    I don't have any idea what I have to do now and I want to use it.
    Who can help me with this problem?
    Thank you in advance
    thunderstorm 007

    Hi
    Thanks for all the help...BUT... I haven't anything that has such an icon or is named like "True suite access manager". And if Toshiba people would sometimes try to read forums, they could helpus.
    I also wrote them about this problem but didn't get an answer yet.
    What is the next step if this tool isn't in the list and I also couldn't find d file in the TOSHIBA directories (c:) with such an icon.
    I hope you have another idea ;-))
    Cheers from Switzerland

  • Can't send emails. The server response was: 1060208403.

    Nobody in my office can send emails today. All eight of us can access the Internet and send emails normally on our computers.
    When attempting to send a message I get the following error message:
    Cannot send message using the server mail.ourserver.org
    The server response was: 1060208403
    We are using Port 26 to send email.
    Our web/email host did not find any issue with the mail server or with our account. They suggested it's a problem with our mail client.
    Any ideas?

    It would appear somebody needs to connect into your network and/or your client system(s), and to dig around.
    So there are presently eight separate systems have eight separate cases of the same problem, and your email vendor says it is a client issue?
    Ok; that would not be my first guess here.
    An initial suspicion would involve hardware common to all of the client systems. At your network, wireless, router(s) or switch(es) and/or at your firewall. At the connection with your network and the rest of the Internet.
    And a look at the email vendor and the vendor's server(s), since the vendor is also common to all eight clients here.
    Has anyone been working with your DNS, firewall or other such? (I'm going to assume not, but it is worth a mention.)
    Use of port 26 is odd. I'd expect port 25 or port 587. Can you confirm that port? Port 25 is comparatively unusual for sending email of late; many entities now use 587.
    Are you running a local email server? If so, that could be having an issue. I'd expect to see a local SMTP email server connect to the next SMTP server via port 25 or potentially via 587.
    Can the clients make connections to other networks and servers; are other web servers and sites accessible? If so, that tends to rule out the common pieces of hardware; hunks such as the firewall and the Internet connection.
    There's no obvious translation of that specified error code; that's not an SMTP error, nor is it visible anywhere on the 'net. It may well be something from the client, or something from the network somewhere.
    Here is Thunderbird troubleshooting information, which might give you some ideas of where to look here (even though you're probably using Mail.app):
    http://kb.mozillazine.org/Cannotsendmail
    If you have an email server running locally, the spectrum of potential problems becomes rather larger.

  • I can´t configure my contact sync on the BB Desktop Software

    After my last update, I can´t configure the Sync of contact from outlook windows7 in the BB Desktopsoftware.
    The option can not be choosen. How could I fix that problem. Any hints?

    Thanks for the Post...!!
    Go to contacts > menu (BB Sign) > Option > Click on available contact list > Uncheck wireless sync.
    Now contact BB with PC using USB cable and check...

  • Sending BUPA_MAIN into the RFC queue

    Hello,
    I would like to send BDoc <b>BUPA_MAIN</b> into the RFC queue
    (must be default for Business Partner), for selected BP from my report.
    I know how to send bupa_main direct to the site, but it is not the same.
    Can anyone help me with this ?
    Regards, Robert

    Hi Vikash,
    thanks for the answer.
    Unfortunately this tx has sent BP <b>direct to the site</b> not to the queue.
    Flow context (smw01) shows MO4 (mBDoc Direct Send) for Bupa_Main.
    And for test I stopped all queues in tx: SMQ2.
    And maybe there is a problem with the RFC configuration ?
    In transaction after BP is selected new window "SELECT SITE" shows,
    and what I can see is one line where :
    RFC Destination = NONE
    #          = empty
    Log.System     = empty
    Site Type ID      =  CDB
    Site ID           = some guid
    What do you think ?
    Best Regards,
    Robert

  • Interesting Reqrmnt - How to avoid sending namespace in the xml response

    Hi,
    Below is the XML response we generate and send it to HTTP Receiver.
    - <ns1:CATSIMPORT xmlns:ns1="urn:pweh.com:erp:hr" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <Version>1.0</Version>
      <TrackID>{5A3C87A5-48FD-4BCD-9178-A200F10F118D}</TrackID>
    - <ReturnCode>
      <value>Success</value>
      </ReturnCode>
      </ns1:CATSIMPORT>
    Can we remove the first and last line of the xml content and send it.
    Please send in your suggestions or answers.
    Regards,
    Amar Nemalikanti

    Hi Amareshwar,
    Check my replies in this link.
    just like java code to add a tag, you can use to remove a tag, before it goes to http adapter.
    Re: How to change the incoming xml to a different namespace
    Hope that helps you to fix your issue
    Regards
    Vishnu

  • Handling/Mapping a SOAP response message back to the RFC request Message

    Hi
    I was wondering if you could kindly offer some advice on how to handle the SOAP response back to an RFC in a RFC>SOAP>RFC.Response scenario. When executing an RFC function module that triggers a message to XI, the outbound message seems to process successfully, however, there is an error in the response message. I am not sure how to map the response back to the function module response message because it looks like the response payload is empty. It is also strange that the interface seems to run in synchronous mode despite being configured as an asynchronous interface. If it ran in asynchronous mode, there would not be a problem because we actually do not need a response back. The interface also runs perfectly when executing it from the Runtime Workbench, and it also runs in asynchronous mode as it should.     
    I would really appreciate any suggestions on how to solve this problem.
    Thank you,
    Brendon

    Hi Reyaz,
    This is actually an RFC-->SOAP scenario where the message structure of the source and target systems are different. We don't actually need a reponse back from the SOAP system. I was wondering if you perhaps know how we can cancel the Response response back to the requestor or at leaset map the SOAP response back?
    The interface runs perfectly in asynchronous mode when executing it from the Runtime Workbench in the test section, but it runs in synchronous mode for some reason when executing the RFC function call in SAP.
    Thank you,
    Brendon

  • The RFC Receiver adapter giving the proper response message

    Hi Experts,
    I done the one interface, that is Soap to RFC synchronous communication. I am passing the data from soap client and at the same time getting the response from sap system. but that is the wrong response. if i am testing the function module it giving proper response. at the calling interface level i am getting the wrong response. can you please help the this query.
    Thanks & regards,
    Veera.

    Hi Sathish,
    As per ur post...
    If the RFC working  fine when testing and it's giving wrong response from Pi means...
    1.there may be a chance of error in mapping.
    I hope u may made the RFC as remote Enabled.
    Also make sure that if u change the interface input and output parameters... u import the new RFC again and activate it.
    before actually using it mapping.. u can test it once by using same RFC for both sender and receiver.
    If it works fine.. then ur mapping should work.
    If still problem occurs please do post.
    Babu

  • SOAP Sender Adapter Attachment Handling in Response message

    Hi Experts,
    I have a SOAP <> XI <> Proxy scenario where an external WS client sends a SOAP request and receives a SOAP response along with an attachment.
    The problem is that the WS client is unable to retrieve the attachment from the SOAP response although the SXI_MONITOR shows both the payload and attachment beign sent out. In the SOAP sender I 'DO NOT' tick the 'Keep Attachment' parameter.
    If I tick the 'Keep Attachment' parameter, then the payload and attachment both goes as attachment.
    I need help in writing an adapter module which would ensure that the payload remains as the main payload and only the additional attachment goes out as an attachment.
    Regards,
    Shobhit

    Hi Shobhit
    You can refer this generic guide
    How to create adapter modules for J2EE engine
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3bdc14e1-0901-0010-b5a9-a01e29d75a6a
    How-to create a web service with attachments (SOAP With Attachments)
    How-to create a web service with attachments (SOAP With Attachments)
    Rename Attachment Adapter Module
    Rename Attachment Adapter Module
    Hope this will help
    Thanks
    Gaurav

Maybe you are looking for