Doubt on Aync-Sync Bridge without BPM

I created a scenario using Aync-Sync Bridge without BPM:
File(Asyn) => Rfc:BAPI_PO_CREATE1(Syn)
1 which mode of message interface should be used in IR for File(Asyn)?
   Asyn or Syn?
2 if syn MSG interface should be used in the above question,how can i return BAPI_PO_CREATE1.response which includes PO number to the sender?
BTW:I had maintained the modules and their parameters(AF_Modules/RequestResponseBean and AF_Modules/ResponseOnewayBean)
in RFC CC.
Regards
Ming

Hi,
1) You have to use synchronous interface.
2) There will two message mappings(one request and one response) and one interface mapping between synchronous interface.
3) All the corresponding modules should ve added in File sender communication channel not in RFC CC.
Regards,
Sudheer
Message was edited by:
        Sudheer

Similar Messages

  • Async Sync Bridge without BPM (Proxy-Soap-Idoc)

    Hi,
    I have read some blogs how to do the Async Sync Bridge without BPM for JMS adapters. I have a requirement that I am getting a Async Proxy message to PI and then PI makes Sync Soap call then the result need to send through the Idoc adapter.
    Proxy - Soap- Idoc
    Here Proxy is a sender so no adapter required in the Config and also Soap is java based adapter and Idoc adapter is a ABAP based so I am not sure this is possible but I just wanted to check with you.
    Please let know if this is possible or not?
    PI 7.1 with EHP1
    Thanks,
    Laxman
    Edited by: Laxman  Molugu on Oct 14, 2010 2:15 PM

    The mapping programm can be defined as a user defined function. As sample of mine is "getGoogle()", which is doing some kind of address validation. The input parameter URL[0] contains source address. For that you need to import:
    org.apache.commons.logging.*;
    org.w3c.dom.*;
    javax.xml.parsers.*;
    org.xml.sax.SAXException;
    org.apache.commons.httpclient.*;
    org.apache.commons.httpclient.methods.*;
    org.apache.commons.codec.*;
    org.apache.log4j.*;
    Example code for UDF "getGoogle()" is:
    String sUrl = "http://maps.google.de/maps/api/geocode/xml?address=" + URL[0] + "&sensor=false";
    HttpClient client = new HttpClient();
    GetMethod method = new GetMethod(sUrl);
    byte[] responseBody = null;
        try {
    //      int statusCode = client.executeMethod(method);
    //      byte[] responseBody = method.getResponseBody();
    //     result.addValue(new String(responseBody));
    String sResponse = "initial";
    int statusCode = client.executeMethod(method);
    responseBody = method.getResponseBody();
    ByteArrayInputStream bis = new ByteArrayInputStream(responseBody);
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder db = factory.newDocumentBuilder();
    Document doc = db.parse(bis);
    doc.getDocumentElement().normalize();
    NodeList nodeLst = doc.getElementsByTagName("formatted_address");
    Node formAdr = nodeLst.item(0);
    NodeList nlFormAdr = formAdr.getChildNodes();
    sResponse = ((Node) nlFormAdr.item(0)).getNodeValue();
          // Deal with the response.
        result.addValue(sResponse);
        } catch (Exception e) {
          result.addValue(e.toString() + "######## exhrenda - googleResponse:############### URL=" + sUrl+"###########"+new String(responseBody));
        } finally {
          // Release the connection.
          method.releaseConnection();

  • Async-Sync Bridge without BPM for SOAP WS and JDBC

    I heard you can now have async-sync communication outside of BPM by utilizing adapter modules?
    My scenarios are:
    proxy (async) -> SOAP WS (sync)
    proxy (async) -> JDBC (sync)
    I will like to capture the synchronous responses in XI and perform some basic error handling.
    I read h[File - RFC - File without a BPM - Possible from SP 19.|File - RFC - File without a BPM - Possible from SP 19.] and the release notes for 2004s SP19 and there is no reference to JDBC or SOAP.
    tia

    Hi Megha,
    Plz do refer the below links u will get an idea:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a05b2347-01e7-2910-ceac-c45577e574e0
    Sync/Async communication in Adapter without BPM (SP19)
    Sync/Async communication in JMS adapter without BPM (SP19)
    Async/Sync Communication using JMS adapter without BPM (SP 19)
    Async/Sync Communication using JMS adapter without BPM (SP 19)
    also try this
    Sync/Async communication in JMS adapter without BPM (SP19)
    File - RFC - File without a BPM - Possible from SP 19.
    Collecting IDocs without using BPM
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5059f110-0d01-0010-7c8b-fdc983be70c0
    Have a look
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5059f110-0d01-0010-7c8b-fdc983be70c0
    HTTP to RFC - A Starter Kit
    Sync/Async communication in JMS adapter without BPM (SP19)
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
    Do refer this thread:
    JDBC Async-Sync bridge does not work
    Reward if found useful
    Regards,
    Vinod.

  • Async-Sync-Async Bridge Without BPM

    HI Folks,
    I have a requirement as
    u201CAn Asynchronous SOAP request is triggered to PI and then should get records from a (JDBC)database and write the result to a fileu201D
    It is of Aync-Sync-Async Bridge and i have to do without BPM
    I know by using some module parameters at sender communication channel we can do this.
    But my query
    1)Is that for SOAP sender communication channel can we provide the same module parameters
    Number - ModuleName - Type - ModuleKey
    1- AF_Modules/RequestResponseBean - Local Enterprise Bean - 1
    2- CallSapAdapter-Local Enterprise Bean - 2
    3-AF_Modules/ResponseOnewayBean-3
    Parameters
    ModuleKey - ParameterName - ParameterValue
    1 - passThrough - true
    3-receiverChannel - Receiver File Adapter Name
    3-receiverService - Receiver Business Service/ System
    2) Does the SOAP support the without BPM scenarios
    3)Scenario is like Soap --> JDBC -->File (Async - Sync - Async) and how abt for Soap --> RFC -->File (Async - Sync - Async)
    Thanks in Advance
    Lemon

    For your requirement , you can handle this scenario without BPM in two ways.
    1) Async sync bridge without BPM.   You are going to use request response bean and one way response bean module to achieve this. very simple. See this [link|http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File(Without%20BPM)]
    In the sender SOAP channel you have to configure first request response bean, second callsapadapter and third onewayresponse bean. Refer this link. Simply follow file sender configuration for your soap sender or RFC sender.
    Note: one receiver agreement , one receiver determination, one interface determination. only two receiver channels one jdbc and one file.
    2) You can create SOAP  to File asynchronous.  Using quality of service  EO and creating service interface asynchronous mode.   In the mapping area do JDBC lookup.  If your version is 7.1 then this lookup is available. This is pretty simple no need to do async to sync pattern.
    Hope that helps.

  • How to capture SOAPFault in an Async/Sync Scenario without BPM

    Hello friends,
    My scenario is ECC (async) to SOAP (sync) and back to ECC (async = ALEAUD). I'm using aync/sync bridge is receiver SOAP adapter.
    My scenario works fine with a normal response but when I get a SOAPFault as a response I get the following error in de receiver SOAP adapter:
    Message processing failed. Cause:
    com.sap.engine.interfaces.messaging.api.exception.ConfigException: No sender agreement configured that matches the message's header fields (sender party: "", sender service: "NONSAP", interface: "urn:test,  SII_Test_Sync", receiver party: "", receiver service: "BS_ECC")
    The configuration of my receiver SOAP adapter looks like this:
    Did I use parameters interfaceOnFault and interfaceNamespaceOnFault correctly?
    Your help is greatly appreciated,
    Kind regards,
    John

    Hi Nilesh,
    sorry for the delay. What I found every time i used the option "DO NOT use SOAP envelope is checked" is that the envelope is removed from request and response/fault messages as well. To solve those kind of errors I developed a module called ReplaceString. What this module does is to replace a string with another one passed as parameter. What do I archive with this? Well I sometimes use this module to include some parts in the xml message before it gets in PI. For example, lets say you receive something like this:
    <FaultMessage>
    <standard>
         <faultText>
         <faultUrl>
         <faultDetail>
              <severity>High</severity>
              <text>This is an error</text>
              <url></url>
              <id></id>
         </faultDetail>
    </standard>
    </FaultMessage>
    and you are expecting something like this:
    <soap:Envelope
    xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
    soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">
    <FaultMessage>
    <standard>
         <faultText>
         <faultUrl>
         <faultDetail>
              <severity>High</severity>
              <text>This is an error</text>
              <url></url>
              <id></id>
         </faultDetail>
    </standard>
    </FaultMessage>
    </soap:Envelope>
    You could use this module to replace the following strings:
    <FaultMessage>
    by
    <soap:Envelope
    xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
    soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding"><FaultMessage>
    And
    </FaultMessage>
    by
    </FaultMessage></soap:Envelope>
    If you find it useful, I can paste the code of the module here.
    Regards!

  • Sync / Async Bridge without BPM

    Hi All,
    I was trying to implement the Sync / Async Bridge without the BPM. I am trying a HTTP to JMS Sync / Async Bridge. I have followed the following link and done exactly the same as shown in the document
    http://help.sap.com/saphelp_nw04/helpdata/EN/45/20d2b4c20a0732e10000000a155369/content.htm
    I have used a Java application which will poll the request queue and then place the message in the response queue with the same correlation ID frm the request queue.
    After following the above link the response message was not appearing, the message were going to deilvering status and after some time i found that they were cancelled without errors
    I searched in the forums for many solutions but what i found was this thread which stated that since the XI message ID is 32 bytes and Correlation ID is only 24 bytes its difficult for Modules to identify the response since the correlation is truncated.
    JMS: Synch/Async bridge - how to configure
    I tried changing the configuration in the reciver JMS channel to XI Conversion ID instead of Message ID and this also doesnt give me fruitfull results. The message was not being placed in the request queue, it gave an error saying that the conversion id was null. Though in the thread it seems to have worked for him.
    After this i planned to dynamically generate a Correlation ID (a dummy one) of 24bytes and i sent it to the request queue this time the message was retrived from the response queue only to find that the correlation ID this time has been converted to some other format
    Corrletion ID sent to the request queue: ABCDEFGHIJKLMNOPQRSTUVWX
    Corrlation ID coming in the response queue : 4142434445464748494a4b4c4d4e4f505152535455565758
    Can anyone put some light on what i exactly need to do or tell me why the conversion ID worked for Daneil in the thread and it gave me an error saying that the Conversion id is null
    Rgds
    Aditya

    Hi Prateek,
    This is what was tried in my first case. I did exactly what was given in that link.But since the Message id being 32 bytes and length of correlation id is 24 bytes id is getting truncated.
    So its not working fine.
    @ke i am having a look at the note will update you on this
    Thanks for your response
    Rgds
    Aditya

  • Is there Async-Sync bridge in BPM

    Hi ,
        I am trying this scenario in ccBPM(PI7.10
    JMS(Async)>MDM(Sync)>SAP(Sync)
    The reason I cant use it without BPM  is that message in JMS is needed in SAP step.I am not sure of messages can be persisted without a ccBPM.
    When I give receive step as Async,in next send (Sync call) ,I cant see any Syn Abstract interfaces even though i have declared one.Only Asyn abstract interfaces appear to chose container element as abstract type.
    In what way can I specify Aysn-Sync bridge in ccBPM ?
    Regards,
    Premjit

    the async / sync scenarios can be configured via two options;
    ref these
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    Without BPM
    File - RFC - File without a BPM - Possible from SP 19.

  • Sync/Async without BPM

    Hello Experts,
    Can you please post your experiences on this issue.
    I am working on this SYNC/ASYNC scenario.
    REQUEST
    ABAP Proxy -> PI -> JMS receiver adatper -> IBM MQ
    RESPONSE
    IBM MQ --> JMS Sender adapter -> JMS receiver adapter
    Here it is going into a loop. The JMS sender adapter sends response back to the JMS receiver, but the JMS receiver thinks it is from the source sender SAP and sends it back toe IBM MQ, and this goes into a loop. Meaning, MQ receives this as a new request and proceses it and sends back a new response going into a loop.
    The reponse is sent back to the receiver, which is waiting. How does the JMS receiver know the message is a response not from Request. Please post your experiences.
    I need to know based on help.sap.com-http://help.sap.com/saphelp_nw04/helpdata/en/45/20d2b4c20a0732e10000000a155369/content.htm, the correct Receiver Agreements, and Receiver determinations for this scenario.
    Thanks for your answers.
    -praveen

    Hi Praveen,
    This looks straightforward if you are using the sync-async bridge modules.
    Sync/Async Bridge in the Receiver JMS Adapter
    http://help.sap.com/saphelp_tm70/helpdata/en/45/20d2b4c20a0732e10000000a155369/frameset.htm
    Sync/Async communication in JMS adapter without BPM
    /people/venkataramanan.parameswaran/blog/2007/01/18/syncasync-communication-in-jms-adapter-without-bpm-sp19
    Basically, in one configuration, you use RequestOnewayBean to send a request to your JMS receiver and then wait for a response at WaitResponeBean. In another configuration, where you are sending back a response, you use NotifyResponeBean to send this response back to the waiting call.
    Regards, Yza

  • How to handle system exception in Sync communication without BPM? Help!

    Hi Experts
       I have a Synchronous scenario in XI: webservice <------>RFC SAP R/3.
      Webservice is making a sync call to RFC FM in SAP R/3 system.
       I want to handle system exception when SAP R/3 is down and send an email alert.    
       Can I achieve this in graphical mapping without BPM? How? Kindly provide necessary steps/screenshots for the same.
       Are there any other alternatives for handling system exception apart from mapping and BPM?  
    Thanks
    Gopal

    Hi GopalKirshna,
          Yes,You can handle the Exception if at all you are using the RFC.You can achieve this without using BPM.
       Using Fault message you can catch the System Exception and even the primary role for Fault Message is to catch the RFC Exceptions.
       Please refer the Fault messages Notes to achieve this you will understand better.
    Hope I am clear.
    Please let me if you have any more queries regarding this..!
    Thanks and Rewards,
    Chandu.

  • Sync-Async without BPM- error(XIServer:TOO_MANY_RECEIVERS_CASE_BE)

    Hi all
    This is without BPM scenario.
    I am doing a SOAP - XI - RFC - XI - SOAP scenario(this is a sync call)......also at the same time i am writing a file onto a directory in async mode.
    What exactly i want is ...when i receive file from SOAP...i want to call RFC using an interface mapping in a sync  mode....also the SOAP request i have received...i want to write it as a backup file onto a directory....using FILE receiver adapter in Async mode.
    So basically wheen i configure it in a receiver determination.... i have two receiver 1. RFC 2. FILE and two interface determination and recevier agreement respectively ....but i am facing a problem where when i run this scenario...it gives me following error:
    <context>XIAdapter</context>
                             <code>ADAPTER.JAVA_EXCEPTION</code>
                             <text><![CDATA[
    com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:TOO_MANY_RECEIVERS_CASE_BE:
         at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:455)
         at com.sap.aii.af.ra.ms.impl.core.queue.consumer.CallConsumer.onMessage(CallConsumer.java:134)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:917)
         at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:219)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Please help !

    have two receivers.
    one for the RFC and other one for the File.
    The have their respective interface determinations.
    Plus you need to have a BPM in this case

  • Sync Async without BPM and JMS.

    Hi Guys,
    Searched SDN a lot but in vain...
    i have soap(Sync) to File(Async) synario...Soap response can have like this "PI system received message"..
    How can i, with out BPM?
    Thanks
    Prabhakar

    i have soap(Sync) to File(Async) synario...Soap response can have like this "PI system received message"..
    If the SOAP is mandatorily working in SYNC mode then the above solution wont work (SOAP --> XI --> SOAP)....this will be treated as two different calls for the SOAP and the solution would have worked for ASYNC flow.
    Why do you need PI system received message .... if i send a SOAP message and if it is successfully send from the SOAP application then I would get a 200 OK message which would indicate that everything was fine till sending the message to the XI/ PI system.
    If SYNC communication is needed then implement a BPM with a SYNC-ASYNC bridge.
    Regards,
    Abhishek.

  • 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

  • Async/ Sync without BPM where Async channels are different.

    Hi Guys,
    I've created a couple of async/ sync bridges without BPM for File to Web Service to File and for JMS to Web Service to JMS.
    Is it possible to use two different types of asynchronous communication channels when creating an async/ sync bridge? I've tried to create a File to Web Service to JMS queue, but it fails with the following error appearing on the File communication channel.
    Error: com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId
    All the best,
    John

    Hi John,
    Actually the fact that you get this error in the sender file CC makes me think is it purely related to the communication channel configuration. Try to make sure if your scenario works without the additional RequestResponseBean in the receiver (so as a simple Async scenario). When you have that one working, try to add the RequestResponseBean.
    Hope this helps,
    Greg

  • Correlation issue in JMS adapter - SYNC/ASYNC scenario without BPM

    Hi,
    I am working on a SYNC/ASYNC scenario with JMS adapter without using BPM. My scenario is SOAP<>PI>JMS. I configured the interface as below:
    1. SOAP Sender channel
    2. JMS Receiver Channel writing to Queue A.
         Module used:      a. RequestOneWayBean
                   b. WaitResponseBean
         Correlation Settings:
                   a. Set JMS Correlation ID to "XI Message ID"
                   b. Store JMS CorrelationID of request (Checked)
                   c. Set JMS Property to "JMS Correlation Id"
                   d. Value = "XI MEssage ID"
    3. JMS Sender channel reading from queue B ( I am exporting the message from queue A and importing into queue B)
         Module used:      a. NotifyResponseBean
         Correlation Settings:
                   a. Set XI MEssage Id to "GUID"
                   b. Set XI Conversation ID to "Stored JMS COrrelationID of Request"
    I can see the cid in the message from queue A. But I observed thhat the header format of the message in Queue A is "MQSTR".
    ISSUE:
    1. While writing the message to queue A, below adapter log details(part b) concerned me:
         a. Message '8747a7c2-2b06-11df-8055-005056a70ed6' successfully processed by channel
         b. Could not create acknowledgements for message '8747a7c2-2b06-11df-8055-005056a70ed6'
    I am not sure why I am receiving the message that "  could not create acknowledgements"
    2. While reading the message from the sender channel,I consistently get the error message as below:
         a. XI message ID corresponding to JMS message with ID 'ID:414d51205341504449442e514d202020c67b954b20005602'
              will be created as a new GUID with value '21bca916-424f-41f6-3347-c71090392b58'
         b. Error while processing message '21bca916-424f-41f6-3347-c71090392b58';  detailed error description:
              com.sap.aii.adapter.jms.api.channel.filter.MessageFilterException: found no correlation ID: RecoverableException:
              found no correlation ID at com.sap.aii.adapter.jms.core.channel.filter.SendToModuleProcessorFilter.filter(SendToModuleProcessorFilter.java:105) ...
    Below are the blogs which I have already gone through:
    1. JMS Synchronous Scenario without BPM - Correlation Settings and Transactional JMS Session
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b028f6f6-7da5-2a10-19bd-cf322cf5ae7b
    2. Note: 1086303
    3. Sync / Async Bridge without BPM
    In the note, they mentioned something about header being "MQRFH2". BUt in our case, the header is "MSSTR". Not sure whether it makes any difference.
    Please help.
    Edited by: GP on Mar 9, 2010 4:24 AM

    Hi,
    detailed error description:
    com.sap.aii.adapter.jms.api.channel.filter.MessageFilterException: found no correlation ID: RecoverableException:
    found no correlation ID at com.sap.aii.adapter.jms.core.channel.filter.SendToModuleProcessorFilter.filter(SendToModuleProcessorFilter.java:105) ...
    This error would generally arose when there are multiple messages, got stuck in the outbound queue. Try to stop both the sender and receiver JMS comunication channels and clear both the inbound and outbound queues.
    Once all the messages in the queue are cleraed, try posting the message again.
    Regards,
    Swetha.

  • Idoc to soap sync without bpm. is it possible? Helping me..

    Hi Experts,
    i have a small clarification Idoc to soap sync interface in sap pi 7.0. i created IDoc to Soap sync using BPM but some times the signals are stuck due to load issue in swpr, while reprocess those signals all going successfully to the receiver. So We are trying to eliminate BPM.
    I just wanted to know Idoc to Soap sync scenario without BPM is possible or not in SAP PI 7.0?
    if it is possible kindly send me the links
    Regards,
    Kiran polani

    Hi Kiran,
    Could you please let us know the exact requirement. How do you want to send the response back to IDOC?
    ASync - Sync Bridge with IDOC sender is not possible in PI 7.0.
    If It is something like IDOC --> SOAP --> IDOC , And If the SOAP request is small then you can use SOAP Lookup in IDOC to IDOC Scenario.
    In The mapping You can do a lookup and get the response from SOAP(Webservice) and map that to your Target IDOC.
    This is one possible way for you without BPM in PI7.0.
    Please let me know if you need more details about this.
    Thanks
    Jyothi A

Maybe you are looking for

  • How do I transfer my itunes music library to my new computer

    How do I transfer my itunes music library to my new computer (not a mac owner)?

  • I can't export in FCX 10.0.8, this time failed because of frame 13355 (error-1)

    What can I do to fix? I need to export my project. I've been working night and day for a week, trying to export. If I don't get this going, can you recommend someone who I can go to with my computer in Los Angeles to fix my FCX export problem? But be

  • Can you stop table indicator cell editing?

    Hello,   Is there a way to disable the ability of a user to edit the cells of a table indicator? I have a table indicator on my front panel and just want it to be a indicator, nothing else. I have found that I can change the contents of a cell in the

  • I have AVCHD in FCE4 now how do I export to DVD

    Its getting late and im struggling. I have transfered the video from my Sony HDR-SR11 to FCE4 and can view the files. Can someone please tell me if I can get these HD files onto a DVD to view in 1080i? Any help,tips or links would be greatly apprecia

  • Two version in One Laptop

    Hi, I had installed 9i (9.2.0......) version in my laptop on Xp. Then I have installed 10g on the same machine on XP . The system showed me installation successful but I found My Manager Console is not working and Listener error Ora-12514. I created