PI BPM synchronous scenario

Hi,
I'm new to PI and have a question about synchronous scenario in PI using BPM.
Basically my scenario is like this.
RFC1 --> (RFC2 >RFC3>RFC4) --> RFC1.response  (  ( ) means 'inside BPM')
What I'm having difficulty is that I call RFC1 and it needs to get result from RFC4.
I have done asynchronous scenario in BPM but for this case,
everything is synchronous and I don't know how RFC1 can call RFC 2 and get response from RFC4.
Please help.
Thank you.
Edited by: WON HWANG on Aug 30, 2010 3:30 AM

hi,  I have a BPM scenario which have these steps;
1) write a WS request to txt file
2) then  a java mappnig(no problem in this step)
3) call an rfc get the response
4) write the rfc response to ftp server
5) if writing ftp is ok return a response else give an alert
my bpm steps
open s/a bridge- send step asycn(txt)-transformation-send to rfc sycn-send to ftp 
I did these, how should I continue?

Similar Messages

  • IDoc to soap synchronous scenario with BPM

    Hi,
    I am working on IDoc to soap synchronous scenario using BPM. Here i am facing lot of soap exceptions in my production system. I handled the exceptions. The data getting excuted for the first time, the same data(just changed the description)is giving exceptions for the second time. Please let me know why the exceptions are getting, and different type of exceptions and solutions for the same.(Blog also is fine)
    Thanks & Regards,
    Pragathi.

    The data getting excuted for the first time, the same data(just changed the description)is giving exceptions for the second
    time.
    Ideally you should not get an exception for the same data....can you tell is the description and where are you getting the exception...is it a part of the SOAP message or some object?
    An exception might have occured because the description would be something unacceptable by the target application.
    and different type of exceptions and solutions for the same
    there would be many blogs....your thread would be spammed...better make a search on SDN with exception text that you are getting.
    Regards,
    Abhishek.

  • Using BPM in full synchronous scenario

    Hi PI Experts,
    I'm trying to use a single BPM in a "full synchronous scenario" like this :
    -Portal EP call webservice -> SAP PI. This one then execute a BPM with 2 successives steps/calls of Bapis :
        -first Bapi call on Backend ECC
        -second Bapi call on Backend SRM
        -...and then return response message to EP caller
    When designing BPM, i can only create variables in container using "Abstract Asynchronous interface"'
    => I don't understand how to design the response message from BPM to EP caller....
    Thanks a lot for your help
    Best regards
    Etienne

    Hi,
    use Sync/Async bridge in your BPM.
    check this blog: https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
    Also check this section from help.sap.com: http://help.sap.com/saphelp_nw04/helpdata/en/43/65d4dab39b0398e10000000a1553f6/frameset.htm
    Primary porpose of the bridge is to enable communication between a Synchronously calling system and an Asynchronous system....can also use for Sync <--> Sync communication.
    Your BPM design will be:
    Receive(Open S/A bridge) --> Send(Sync..ECC) >Send(Sync..SRM)> Transformation --> Send(EP...close bridge)
    I mentioned transformation because i suppose that you will get response from both ECC and SRM and hence you will need to map it to a single message structure that you wil send to EP....2:1 Mapping required then..
    When designing BPM, i can only create variables in container using "Abstract Asynchronous interface"'
    Not only Asynchronous but also Synchronous message interfaces can be used....the only condition is that each and every MI has to be Abstract
    Regards,
    Abhishek.

  • IDOC to WS Synchronous Scenario Without BPM

    Hi Experts,
    I am dealing with Idoc to WS synchronous scenario. Can this be done without BPM??
    ALEAUD can make IDOC to handle WS response??
    Please suggest.
    Regards,
    Sushama

    Please suggest since BPM involves performance issue
    BPM surely has performance issue...only when there are a lot of steps/ logic implemented in it and when the processing load is too much for the XI/ PI server to handle.
    The BPM design in your case will be just of following steps: Receive --> SyncSend --> AsyncSend .... excluding Transformation...and a BPM with these steps wont cause a big harm to processing of other messages.
    Regards,
    Abhishek.

  • BPM Synchronous file to file scenario

    Hi All,
    Could anyone please guide me for BPM Synchronous FILE2FILE steps. I am learning BPM.
    Design: I want the sender file to be put to receiver. and from receiver i need to fetch the same output file and give back to the sender after transforming back to sender structure.(I want to learn the flow.).
    Regards,
    Senthilprakash.

    Hi guys and my old friend Navneet,
    File doesnt support Sysnchronous as we all know. and when we try to achive Synhronous via BPM. It will not execute the Synchronous Send Step Interface in the BPM. As this step will require a Sync Interface so this interface will require Response Message(Target to Source) immediately once it process the request message(Source to Target).
    Thou we will schedule the CC and have another Seder Adapter from (Target to Sender). The Synchronous interface in the syn Send step inside the BPM will fail as File wont Trigger any Response Message for the Sync Interface once the Request Message is processed.
    File to File is not possible with a Synchronous Interface.
    We can acheive the design with BPM in a way that it sends from Source to Target with a Asynchronous Interface(Source to Target).
    and anohter Interface with scheduled CC to pick the file from Target to Source with another Asynchronous Interface(Target to Source).
    NOTE: Above all can be done without BPM also. But as i had already told i just wanted to Design and check a BPM :).
    Regards,
    Senthilprakash.
    Edited by: senthilprakash selvaraj on Nov 12, 2008 4:12 AM

  • Treatement of Fault Messages in Synchronous Scenarios?!

    Hi all,
    I got a question concerning the use of fault messages in
    synchronous scenarios...
    1. When I define a fault message for my synchronous   
       receiver interface, a fault message, coming back
       would  not be handled by my sync. Interface- and
       Messagemapping, right?
       So how can I give the fault messageinformation back to
       the sender?
    2. Will I have to define a second scenario for handling
       the fault message?
       (Meaning new Communication Channel, MI, IM, MM and so
       on)
       Thanks for help, anwers are quickly rewarded...
       Daniel

    > 1. When I define a fault message for my synchronous
    >   
    >    receiver interface, a fault message, coming back
    >    would  not be handled by my sync. Interface- and
    >    Messagemapping, right?
    > So how can I give the fault messageinformation
    > ion back to
    >    the sender?
    The fault message has to be handled in your BPM using an exception branch. You can create an exception branch in a block and assign it to be the handler for a particular exception(fault message).
    How can we handle Exception Branch in BPM effectively
    > 2. Will I have to define a second scenario for
    > handling
    >    the fault message?
    > (Meaning new Communication Channel, MI, IM, MM and
    > and so
    >    on)
    It depends on what you want to do with your fault message. If you want to throw an alert, that could trigger emails, you can do it by configuring alerts and using a control step in your exception branch to throw alerts. Only if you want to do something else like log a message into a database, you will need separate jdbc communication channel, MI etc.
    Regards,
    Suresh

  • Synchronous scenario using receiver mail adapter

    Hi All,
    I am trying to do a Http to Mail synchronous scenario. My requirement is, if the mail has been delivered to the reciver mail server, it should send an acknowledgement/response back to XI. Simlarly when it fails to deliver the message it should send an acknowledgement/response back to XI.
    Is it possible to do? If yes, please tell me how can i do this?
    Thanks & Regards,
    Senthil.

    >
    prakasu wrote:
    > Hi,
    >   In the mail receiver adapter mark the check box send delivery status notification.It will give the acknowledgement to the from address mail is deliverd or fails.There is no need of synchronous scenario.
    >
    > Regards,
    > Prakasu.M
    using this method a delivery ack mail is send to the TO address as rightly pointed out.
    Now senthil, if you want to you can have a mail sender adapter polling for mails and you can maybe correlate the To address using a BPM and then recognize this to be a delivery ack for the mail you send. Its not concrete as maybe a delivery ack might say it was not successfully delivered too so then you might have to enhance your logic to check the content to see what the mail is all about. Pheww ....
    Doesnt seem right.. so I gather the best is to redesign the interface if the flexibility is in your hands.
    Other option is to have a acknowledgment request in your Send step of the BPM

  • HTTP-RFC(BPM)-FILE Scenario

    I have a problem on using the 'http-RFC(BPM)-File scenario'. When i enter values using the  Client http adapter, it displays message telling that "BPE_ADDAPTER.SYNCHONOUS_MESSAGE"
    The error msg is displayed below:
    Result:  
    <SAP:Error>
    <SAP:Category>XIAdapter</SAP:Category>
    <SAP:Code>BPE_ADAPTER.SYNCHONOUS_MESSAGE</SAP:Code>
    <SAP:Stack>The process does not support the given synchronous interface or does not support synchronous messages</SAP:Stack>
    </SAP:Error>
    Also in SAP XI monitor, the sender services along with the corresponding sender interfaces.
    Expecting this prob will be off soon.
    thanks
    vinod v

    Hi Vinod,
    your process is asynchronous (no sync async bridge). But you send "Quality of Service = Best Effort" (Url paramater qos=BE). You should send "Exactly Once" (EO).
    Regards,
    Udo

  • 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!!

  • Synchronous Scenario. How to reduce time. Pls advice urgent.

    Hi All,
    I have Synchronous Scenario. It has no BPM , simple synchronous scenario (HTTP --- Webservice).
    It is taking 10 seconds. How can I reduce time of this scenario.
    Pls advice

    Hi,
    The Time Consumption is based on below factors
    1. the amount of data to be processed across the interface.
    2. The response time of Receiver system
    3. Type of Mapping used and implementations of any complex logics with Advanced UDFs etc
    4. Hardware configurations
    5. Resource Consumptions etc.
    please refer below fine tunning docs.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/489f5844-0c01-0010-79be-acc3b52250fd
    XI Performance Benchmarks ?
    Thanks
    Swarup

  • File - BAPI -  File Synchronous scenario

    Hi all,
    I am working on a 'flat file--> BAPI --> flat file' scenario. This is a synchronous scenario in which data from input flat file will be sent to BAPI on R/3 side and from the response of BAPI a flat file will be created.
    Is it possible to implement this scenario without using BPM ?
    Thanks.

    Hi Minal,
         For this, you hv to use BPM
    The BPM procee will look like this
    1. Receive step (Receive the data from file)
    2. Sync send to R/3 and get a response
    3. Async send (response) to File
    Check the following link
    <a href="/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit:///people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    Regards,
    Akshay
    Message was edited by:
            Akshay Salunke

  • Jdbc-rfc synchronous scenario

    Hi...All,
    we r plaing to do JDBC-RFC Synchronous Scenario with out BPM,please tell me any settings are required for this scenario.any body is having any links regarding this type of scenario pls share with me...that is helpfull for me...
    thanks in advance,
    Pasi.

    Hello Pasi,
    JDBC-RFC Synchronous Scenario with out BPM,
    Go through this links...
    JDBC Sync - RFC Sync Scenario without BPM
    File - RFC - File without a BPM - Possible from SP 19.
    JDBC-RFC-File
    Re: jdbc-rfc synchronous
    /people/yining.mao/blog/2006/09/13/tips-and-tutorial-for-sender-jdbc-adapter
    /people/siva.maranani/blog/2005/09/16/xi-how-to-on-jdbc-receiver-response
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    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
    JDBC-RFC Scnario mapping problem
    Thanks,
    Satya Kumar
    JDBC---RFC will Support Sync?????????

  • Message flow in SAP PI 7.31 JAVA only for ABAP Proxy synchronous scenario with Oracle DB

    Dear Experts,
    I am working on a synchronous scenario Sender ABAP Proxy <===> SAP PI 7.31 JAVA only <===> Oracle Database.I have successfully
    configured all the proxy configurations as well both Sender SOAP and JDBC receiver channels are showing no error when pinged from
    Cc monitoring in NWA.
    1.During testing at Tx SPROXY , I am triggering a message and after 5 minutes I receive an PARSING error message with 2 messages in ECC
    local IE i.e. Tx SXMB_MONI.
    Note : In NWA , I can see only 1 message that too in cancelled status.
    2.Seeing the trace of the messages I assume that the messages have not moved from sender ECC system. I am still confused with flow of message
    from the Message Audit log. Audit log of error messages.Could any one share the full Audit log of a successful message generated in SAP PI 7.31 JAVA only.
    3.I observed that the QIN Scheduler status in ECC is in INACTIVE status. There is no queue id for 2 messages generated in ECC. Does
    it should in ACTIVE status in Tx SMQR..
    Regards
    Rebecca

    Hi Thomas,
    Valuable inputs..
    1. Since I don't have any audit log for successful message, would you be able to share referring to the
    below screenshot whether the message was put into receiver JDBC adapter and JDBC adapter tried to retrieve the Select response from Oracle Database.
    2.I have done some setting in Advance mode of the receiver JDBC to increase the time out and other parameters as per SAP note but still the issue is same. If you perhaps have some experience in such scenarios, please share some input so that I can ask the Oracle Database administrator exactly what is required from our side.
    3.Regarding the slow response from Oracle , there was some suggestion that the datatype of the request and response should match the column name of the Oracle database. I did that.. Do you have any more suggestion that may be hampering the generation of the response message from the Oracle like SAP note or document.
    Regards
    Rebecca

  • FILE to SOAP synchronous scenario - config of SOAP channel

    Hi All,
    I have a scenario where I want PI to pull some files from 3rd party application.
    Adapters to be used: SOAP receiver, FILE adapters.
    I am aware of the use of Request/Response beans in File sender channel and the File receiver channel to dump the received files in a particular location.
    I need help with the configuration of the SOAP channel.
    The files to be pulled will be Encrypted.
    Summary:
    File sender(RequestResponse & ResponseOneWay Beans) , File receiver( to receive the files), SOAP receiver.
    Need help with the config of SOAP.
    Kindly let me know your views.
    Thanks,
    Pratibha.

    Hi,
    Let me put it in detail steps:
    In forward flow we will be sending an IDoc. It will be processed and later an Acknowledgement file will be generated.
    Now, we want to PULL this Ack file. If the other party had to push the Ack file, the scenario would have been simple.
    But, we want to poll for this file and then pull it.
    So, we would have something like this:
    1. FILE SENDER sends a sample file.
    2. We will be applying the beans in file sender to make it a synchronous scenario. So, the Ack file will be received at the location mentioned in the corresponding FILE RECEIVER adapter.
    3. We have a SOAP RECEIVER which should send the ACK file in response.
    I have configured the same scenario where the RECEIVER was HTTP adapter. The 3rd party had provided us the URL and ENT-APRF value. When I used to send the sample file via FILE SENDER to this HTTP receiver, I was able to retrieve the ACK file via the FILE RECEIVER.
    Now, I wish to configure the same using RECEIVER SOAP adapter.
    I need to know about the config at SOAP end i.e. how and where  the ACK file will be available at the SOAP end for the FILE sender to pull the file.
    Ack files will be encrypted..
    Any views/suggestions will be of great help.
    Thanks,
    Pratibha.

  • Respone message in an synchronous scenario

    Hi,
    I want to create a scenario:
    third party system  (via WebService) <->  SAP PI <-> SAP (ABAP Proxy)
    I have a SOAP to Proxy synchronous scenario.
    Its an synchronous outbound and an synchronous inbound interface.
    It is possible to transfer the response message from the inbound interface to the outbound interface?
    The response message is a very elemetary mesage (only a key).
    With the message from the third party system I will insert data in the SAP system. The new key I will return to the third party system via the response messages.
    Any help please?

    Surely you will have two mappings in place.One mapping will correspond to the request message, while the other one will correspond to the response.When you are doing the mapping for response, then however do it in reverse manner. For example suppose in your case System A is the sender and System B is receiver. Then you make two message types for each system,one for request and one for response.In the mapping for request, the  message type of System A will be source and that of system B will be target because request is going from A to B. However in the response mapping, as the response is coming from B to A, in the mapping you will have the message type for system B as source structure  and that of System A in target..And you will add both of these mappings in the Operation mapping in the message mapping tab.

Maybe you are looking for