Response in BPM

Dear All
I am doing a scenario where I am receiving an asynchronous message in BPM and sending it Synchronously to the external system A.
When I get a response from the external system I have to check a condition in BPM and based on that either have to supress it or send it to another external system B.
My BPM works like this
Receive Step (Asynch)
Send Step (Synch)
Switch Step (with condition for the response message)
1. Branch: Transformation step for response message
2. Branch: No Step
The problem is that the System B component is not called even if the condition in the switch step is satisfied. I checked PE graph in moni and I can see the request message coming till Send Step (Synch).
Please guide
Sourabh

at least one of the branches in switch should be executed..
if not then i think the switch step must not be reached..chk if the sync send precious to switch is workign fine and u are getting the response..
also refresh SXI_Cache.....
sometimes after there is a error in BPM u have to delete the erroneous process instance using SWWL else the next message will alaso take that erroneous process instaqnce

Similar Messages

  • Webservice response in BPM scenario

    I am doing a BPM scenario where I take data from ERP asynchronously using proxy and send it as a request to a third party synchronous webservice. The webservice gives a response and I am using the response to send it further along to other systems.
    Everything works fine if correct messages are sent and received. The problem starts when PI/BPM receives an un-expected response from the webservice. If the webservice sends an unknown error message in the response, the mapping fails and goes into the error queue. (smq2)
    And the real problem is every successful message or response after that also goes into the same queue and getting stuck. Why is this happenning? Do we need to monitor and clear the error queues all the time so that subsequent successful messages go through BPM corrrectly?
    Do you guys think it is a cache problem or something else?
    Thank you.

    this is because there is no proper error handling in your BPM.
    you need to handle the exceptions in case of mapping or communication failures.
    refer : http://help.sap.com/saphelp_nw04/helpdata/en/33/4a773f12f14a18e10000000a114084/frameset.htm

  • Split Response without BPM

    Hi,
    i have a synchronous scenario:
    SAP (ABAP proxy) <-> 3rd Party (http)
    Is it possible to send in addtion to the (synchronous) proxy response some IDocs without use of BPM?
    synchr proxy request .................-> http service
    synchr proxy response...............<-
    IDoc A......................................<-
    IDoc B......................................<-
    Regards,
    Udo

    Hello,
    This is possible but with specific workarounds. The first one is already suggested by Rodrigo. The second one is to create a function module in R/3 that will trigger the IDOCs and then call that FM using RFCAccessor using the HTTP Response in message mapping.
    Although one of the downsides of this approach is transparency e.g not visible in monitoring unless you look at the code for the fm call.
    Hope this helps,
    Mark

  • BPM response

    Hi all,
    I have a File to RFC scnario, My RFC return message's internal table contains 5 entries. How can i capture all the 5 entries from the RFC as a response
    Is there a way?? Is it possible to capture multiple responses from a single RFC??
    or we have to make changes in RFC??
    Regards,

    Hi
    How can i capture all the 5 entries from the RFC as a response
    You can capture the response using a Sync interface and creating the message type for response
    With BPM
    RFC Scenario using BPM --Starter Kit
    Without BPM
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/file-rfc-file(Without%2bBPM)
    Is there a way?? Is it possible to capture multiple responses from a single RFC??
    or we have to make changes in RFC??
    Yes you can capture the response from RFC. If your RFC is not able to provide response then you need to make changes to RFC
    Thanks
    Gaurav

  • In BPM sync/async Step , can you have different message schema?

    Scenario:
    File to XI to BPM to SOAP to RFC
    In order to trigger the  webservice , I use  a dummy file which will be polled at a certain frequency- once in 30 minutes in Test mode - this will call the Webservice. The answer of webservice is sent to RFC Async.
    so these  are the Repository objects I created :
    1. File  Outbound Async Message Interface- Output Message (File_Request_MT)
    2.File Abstract Message Interface-Output Message (File_Request_MT)
    3.Async/ sync bridge Abstract interface to call the Webservice
    4 Webservice Inbound Sync Message interface-  with both input and output message
    5.RFC Inbound Async message interface- input message (RFC_Request)
    6 RFC Abstract Async Message interface-input message (RFC_Request)
    BPM
    a) Receive step  which uses the  the object 2.
    b) Sync send which uses object 3
    c) Send  step which uses Object 5
    I am using a BPM to Receive the file data/ "request " by using the File abstract message interface
    Then use the  the object  3 to call the webservice in BPM .
    My question is on this step
    Can I have for  the abstract Interface(Object 3) the Request message  as  File_Request_MT and
    response message as (RFC_Request) ?
    I  use a message mapping  to map Input and Ouput message of Object 3 with Object 4.
    Thanks for  your insight

    Raj,
    Thanks for the feedback , but I have  a question regarding your reply
    Interface Objects
    Object 1: File_Request_Abs
    Object 2: Soap_Response_Abs
    Object 3:Soap_Abs_Synch
    Output Message:File_Request_Abs
    Input Message:Soap_Response_Abs
    Object 4:Rfc_Request_Abs
    The question is  about
    a)SOAP_RESPONSE_ABS : could you please tell me why  do we need an abstract interface -SOAP_RESPONSE_ABS?
    I created a message type MT_SOAP_RESPONSE and used that in the BPM sync Send step as the Input message.
    b)Soap_Abs_Synch- I am using message types
    MT_File_request and MT_SOAP_Response From your reponse, it looks like you are suggesting to use
    Abstract Interfaces as Output message and Input Message, am I correct? Could you please tell me whether this has advantages over using message types MT_file_request and MT_soap_reponse? I haven't used Abstract interfaces  before as Input message and output message; infact, I wasn't even aware that it can be. Please confirm that it is possible. Thank you for increasing my knowledge !!!
    These are the Objects I created
    Message Type :
    a) MT_Filerequest
    b) MT_SOAPresponse
    Message Interface
    a)MI_Filerequest_out_async -
    Output message
    Mess. type MT_filerequst
    b)MI_filerequest_async_abs-
    Mess. type MT_filerequst 
    Used
    i) used for BPM receiver step- container definition
    ii) receiver determination
    c)MI_webservice_sync_in - This is created from External definition
    d)MI_webservice_sync_abs- 
    Input message  - MT_soapresponse
    Output message- MT_fierequest
    Used:
    i) used for BPM sync send step ,
    ii)Interface mapping between  MI_Webservice_sync_in and MI_webservice_sync_abs
    iii)Container element-SOAP_response
    e) MI_RFC_async_out
    Input message
    RFC_Request(This is imported from RFC definition)
    g) MI_RFC_async_abs
    Input message
    RFC_Request(This is imported from RFC definition)
    Mapping
    Message mapping
    i)Filerequest_TO_SOAPrequest
    Source: MT_Filerequest
    Target: SOAPrequest(Got from External definition)
    ii)SOAPresponse_TO_BPM_response
      Source : SOAPresponse(got from External definition)
    Target :   MT_SOAPresponse
    Interface Mapping
    i)IM_BPM_TO_SOAP
    Source Interface : MI_webservice_sync_abs
    Target :MI_webservice_sync_in
    uses following message mapping
    Request : filerequest_TO_SOAPrequest
    Response:SOAPresponse_TO_BPM_response
    BPM container element
    i)Receiver_container  TYPE MI_Filerequest_out_async
    ii)SOAP Responsecontainer TYPE MI_webservice_sync_abs
    iii)RFC_Request_container TYPE MI_RFC_async_abs
    BPM  flow
    Receive---->Send Synch-->Transformation----->Send Asynch
    Receive -
    > receiver_container
    Send Synch -
    > receiver_container(Request Message), Soap_response_container(Response Message)
    Transformation -
    > Source(Soap_response_container), Target(RFC_request_container)
    Send Asynch -
    > RFC_request_container
    Thanks for your help!!!

  • Calling a method in BPM Object from jsp page

    hi all,
    I try to call a method from BPM Object using <f:invokeUrl >
    I change server side method properties to yes.
    and then how can i get request and response object inside the BPM method.
    Thanks.

    Thanks for ur response,
    But i mention about BPM method inside BPM Object.
    i found this inside the documentation.
    methodName(Fuego.Net.HttpRequest request, Fuego.Net.HttpResponse response)
    i need to match above BPM method and <f:invokeUrl > tag. am i right?
    But i don't know how to create method with argument "Fuego.Net.HttpRequest request, Fuego.Net.HttpResponse response" inside BPM Object.
    I can't find any place to define method argument inside Oracle BPM studio.
    I don't know how to parse argument like "Fuego.Net.HttpRequest request, Fuego.Net.HttpResponse response"
    With Regards,
    Wai Phyo
    Edited by: user8729650 on Sep 9, 2009 7:03 PM
    Edited by: user8729650 on Sep 9, 2009 9:20 PM

  • How to send status message in SOAP to IDOC scenerio without BPM

    Hi,
    I have a SOAP to IDOC scenerio in which we require to send the status message back to user from XI that " IDOC has been sent successfully to SAP system"
    We do not want to use BPM bacause of performance issues.
    Can you please help me how to achieve this synchronous response without BPM.
    Note: We require the status message from XI that the IDOC has been successfully posted to WESAP system

    Idoc only support async behaviour. U can't get the Idoc response as per ur requirement without BPM.
    Better to go for abap proxy or RFC.
    Or u may get the ack till XI.
    Regards,
    Prateek

  • Idoc to soap using BPM

    Hi,
    Plz give inputs/blogs link to do this scenario.
    i want to send idoc from R3 to web service(SOAP) using BPM bec i want to get the response.
    how many Message Interface i need to develop for this?
    Edited by: ruban R on Apr 1, 2008 12:29 AM
    Edited by: ruban R on Apr 1, 2008 12:39 AM

    Hi,
    These Steps may help you
    Design objects:
    Data type & Message Type
    1) Import the IDOC and Later you import the Idoc, doble click on it a export it to your driver, next import it as External Definition for reason becouse if not, you wont be able to create a MI type synch with IDOC and genericResponse structure
    2) Create data type for your Response Type of IDOC
    3) Import the WSDL File For Request and the Response Type
    4) Create the Message types according to the Data types which we created
    Messgae Interface:
    1) Outbound synchronous:
        output message will be ur idoc external definition file
        input message will be ur message type that u have created.
    2) Abstract Outbound Synchronous:
        use the same as in Outbound Synchronous
    3) Inbound Synchronous:
        input message will be ur request message of RFC/WebService
        output message will be ur response message of RFC/Webservice
    4)Abstract Inbound Sunchronous:
        input message will be ur request message of RFC/WebService
        output message will be ur response message of RFC/Webservice
    Mapping
    Request Message Mapping:
    b/w ur idoc external definiton and request message of RFC/WS
    response Message Mapping:
    b/w ur Response message of RFC/WS and ur message type
    Interface Mapping
    Import MI(abstract) of IDOC
    Import MI of WS
    select the mapping for request and response Tab
    BPM
    1) In container window define a variable named IDoc_ABS with category abstract interface and   
        type (select the MI of IDOC alone)
       define a variable named GenericRespnse_abs with category abstract interface and type (select         
       MI of genericResponse alone)
    2) Create a Recieve Step --> in property message select the container you define before of idoc.
    3) Define a Send Step--> mode synchronous
        select MI type abstract and sync (idoc and genericResponse)
        for property request message selects container Idoc_ABS
        for property response message selects container GenericRespnse_abs.
    Save your Changes and thats all for BPM
    Configuration
    1) Create scenario
        Assign BS and create comunication channels with QoS (quality of service) type BE
    2) Import your BPM
       Create a Receiver Determination
    -->in the target service select the BPM. Save
    -->In overview windown at foot windowns select MI IDoc_abs only. nothing else
    Create a Receiver Determination
    -->here the system who send data is BPM
    -->in the target service select the BS of receiver system.Save
    -->In overview windown at foot windowns select interface mapping and assing communication channel
    what we do here. the flow is next
    1) Receive data from sender system and send it to BPM
    2) BPM call bs of target system (WS). how? because in interface determination you selected    
       before the interface mapping
    Regards
    Seshagiri

  • Integration Scenario in BPM

    My Scenario is
    PI7.1 -->PI7.0 -- > Webservice --->response from bpm to another system.
    iam doing the above scenario in BPM, I  have some queries on BPM in Integration Scenario.
    In the BPM iam using
    1.A Receive step to collect the data from XI 7.1
    2.A transformation step to append the file to the i/p payload from PI 7.1.
    3.A send async to write the payload into R3.
    4.A transformation step for the value mapping.
    5.A synchronous send step to send a request and get the response from the webservice.
    6.Finally a send asynch step to send the data out of BPM to another system.
    Somebody Please guide me about how to incorporate BPM in the integration scenario(how many  actions,application components and connections  do i need to create for the BPM).
    Expecting your replies.
    Thanks
    Srinivas
    Edited by: Srinivas on Mar 10, 2010 1:01 PM

    4 Application components would be for PI 7.1, BPM, R3, Webservice and if your final system is not among the 4 mentioned, then one component for that system too.
    Connections:
    Async with PI 7.1
    Async with R3
    Sync with Webservice
    Async with final system
    Actions would be required for all sending and receiving tasks.
    Regards,
    Prateek

  • Synchronous bpm scenario

    Hi All,
    I am doing scenario in which my sender ORION is webservice (It is synchronous to synchronous scenario)
    I have to use bpm for this,
    We are receiving webservice in XI and sending it to another PI system where i m doing soap look up (request,response mapping) and i m getting response in BPM and some transformation i have to do and send it back to the ORION.
    Can you poeple please suggest me steps how to execute in BPM,I have tried doing it as a asynchronous request from ORION and sending ASYNCHRONOUS response.
    Now requirement is changed they want us to do synchronously,
    Wht will be the BPM scenario of this?In BPM we cant have sync receive,We can open sync async bridge but that also we cant use in this case
    Please suggest me on this
    Thanks
    Best Regards,
    Harleen Kaur Chadha

    Hi,
    Yes you can do it in BPM. You need to do the following steps.
    Step 1.Receive step, receive request from ORION with mode as Open S/A bridge
    Step 2. Send Step, mode as Synchronous, synchronous send to PI and gets the response back from PI.
    Sep 3. Send Step, mode as Close S/A bridge , this will synchronously send the response back to ORION.
    In between you can have your transformation steps for any mappings.
    thanks
    amit
    reward point if answer is helpful

  • SOAP -- XI -- RFC , Duplicate check . BPM is Mandatory??

    Hi All,
    I haven't worked on BPM's.One of the consultant has developed this scenario by using BPM. Kindly let me know whether we can acheive it without using BPM.
    Scenario:
    We will be receving the messages from the webservice through SOAP adapter and we should not allow the duplicate messages into XI and we need to intimate back to webservice stating that we received duplicate entry.
    Solution:
    Right now they enabled the conversion parameters "use encoded parameters" and "Use Query string" in SOAP sender adapter. By this we are making use of MsgID and send the response back to webservice stating as " Message ID DE612012E63848B3DD1111DBA2295676 for pipeline CENTRAL, version already exists in system ".
    My Scenario is like
    Webservice -> XI -RFC(Request&Response)---->BW
    BPM :
    start ->Receive(Request)> Transformation(Responsemap)>Send(SendtoBW)->Send(Send Response) ---> stop.
    Questions:
    1. Is it mandatory to use BPM for these kind of scenarios.
    2. Request message has message Interface as "Outbound" with mode as "Synchronous". Is synchrous mode is enough to send the response back or do we need to create the separate channel in configuration. ??
    3. we did not use any separate channels to send back the response. Does the Synchrous mode will take care of sending back response? because we haven't configured separate channel to send back the response.
    4. Can I acheive this kind of duplicate check and sending response without using BPM?
    Kindly let me know if anyone has answers for the above questions.
    Thanks & Regards
    Deepthi.

    Hi Rajeev,
    >> For Webservice -
    > XI -
    RFC scenario, BPM is not required. But if based on >> the RFC response you have to decide to send the message to BW, then BPM will be required.
    I think you got my scenario wrongly. I need to send the request message to BW through BAPI and I will receive the response from the same BAPI which I need to send back to Webservice.
    - When I configure the Request mode in Synchronous then will the response go back to webservice since it is in Synchronous mode ? or I need to configure seperate channel to send back to webservice.?
    One more question , how I can I stop the duplicate messages from these SOAP messages which I receive from the webservices.?

  • Want to Receive Response Back From SOAP

    Hi ,
    My Scenario is IDOC-XI--SOAP
    Iam sending the IDOC from R/3 and want to hold the Response message from SOAP like "Success or Fail".
    I want to the response message in XI itself, no need to reach the response even to R/3.
    How can we achive this
    Regards
    Suman

    IDOC: Import it as Imported Object -->When you define the namespace of swc in IR select you can import Idocs and RFC option and complete the  textbox with correct information
    SID (system ID)
    Client
    Later you import the Idoc, doble click on it a export it to your driver, next import it as External Definition for reason in my previous post.
    Create a SWC type B_ in SLD and define it as dependence of A_. later import it into IR. there define the Data Type  and Message Type for genericResponse.
    How you will use (maybe) this structure en many interface is the reasson you define it into B_XXXX
    *•Basis Products (B_): Ideal for templates, generic structures, shareable java programs, etc.
    •Canonical Definitions(C_): For generic business objects, meant to be reused.
    •Exchange Infrastructure Application Products(A_): These products represent XI objects other than interface objects (e.g. Mappings, Integration Processes, etc).
    •Interface Products( I_ ): Represent extensions to current application. These are the extensions we will later import in Exchange Infrastructure (XI) and associate the corresponding interface objects and integration scenario actions.*
    h1IRh1
    Web Services
    Import your WS as external definition into IR
    Message Interface
    Define a Message Interface type abstract and sync.
    ............Request Message (External Definition Idoc)
    ............Response Message ( genericResponse)
    Define a Message Interface type abstract and async.
    ............Request Message (External Definition Idoc)
    Define a Message Interface type abstract and async.
    ............Response Message ( genericResponse)
    define them in A_
    Define a Message Interface type inbound and sync.
    ............Request Message (Request WS)
    ............Response Message (Response WS )
    Message Mapping
    Create a Message Mapping for Request
    Create a Message Mapping for Response
    Interface Mapping
    Import MI(abstract) of IDOC
    Import MI of WS
    select the mapping for request and response Tab
    BPM
    1)in container window define a variable named IDoc_ABS with category abstract interface and type (select the MI of IDOC alone)
    define a variable named GenericRespnse_abs with category abstract interface and type (select MI of genericResponse alone)
    2)create a Recieve Step --> in property message select the container you define before of idoc.
    3) define a Send Step--> mode synchronous
    select MI type abstract and sync (idoc and genericResponse)
    for property request message selects container Idoc_ABS
    for property response message selects container GenericRespnse_abs.
    Save your Changes and thats all for BPM
    h1IDh1
    it is too much complicated to explain, lets try
    Create scenario
    Assign BS and create comunication channels with QoS (quality of service) type BE
    Import your BPM
    Create a Receiver Determination
    -->in the target service select the BPM. Save
    -->In overview windown at foot windowns select  MI IDoc_abs only. nothing else
    Create a Receiver Determination
    -->here the system who send data is BPM
    -->in the target service select the BS of receiver system.Save
    -->In overview windown at foot windowns select  interface mapping and assing communication channel
    what we do here. the flow is next
    1)receive data from sender system and send it to BPM
    2)BPM call bs of target system (WS). how? because in interface determination you selected before the interface mapping
    hope you can understand and be useful

  • Problem with BPM Configuration

    Hi,
       I'm not able to get the process of BPM Configuration.
    My Scenario is
            File->R/3(BAPI)->File(Response),through BPM
       1.Do i need 2 Business Service?
       Is the flow like this?
          File->IP->SAP->IP->File.
       If it is correct then why do I need Business Service?
       Correct me if i am wrong.
       I'm very much confused with BPM,Need Help.
    Regards,
    Prashanth K.R,

    Hi Prashanth,
    >>1.Do i need 2 Business Service?
    no you don't need 2 one is enough
    but in fact sometimes it's good to have two...
    let's say one folder ackts as a foderl for storing XML files on one server for CRM data
    the second on is for txt data for EDI
    if you use two then you know which folder is responsible for what...
    BTW
    use can define Business Service in less then 20 seconds
    >>>File->IP->SAP->IP->File.
    If it is correct then why do I need Business Service?
    you use business services to define that file adapter
    is not connected to any other application
    if you just use a file folder on ftp then you have to create a business service to define the sender/receiver
    Regards,
    michal
    Message was edited by: Michal Krawczyk

  • Picking files based on the requested URL

    Hi Experts
    I have a requirement where I need to pick image files from SAP DMS server based on the URL requested.
    The scenario :
    Third-party sends a URL  corresponding to a particular image in DMS as request and PI needs to Pick the image
    file and send it as response.
    Due we need BPM? How to set up sender file adapter source directory as  the file name/directory   to be picked is dynamic in nature and there is no specifc pattern .We need to pick the exact file base on the Unique URL.
    Can we do this requirement in a synchronous interface by using HTTP or SOAP attachments for image? What about
    the performance impact as we have img files here.
    Regards,
    Srinivas
    Edited by: Srinivas on Sep 27, 2010 11:36 AM

    Third-party sends a URL corresponding to a particular image in DMS as request and PI needs to Pick the image
    file and send it as response.
    BPM would be required....We had a similar requirement wherein a URL was given at runtime to PI....then PI had to call the location and get back the details and we used SOAP for this (SYNC Call to the URL using SOAP channel from the BPM).
    Can we do this requirement in a synchronous interface by using HTTP or SOAP attachments for image?
    Not sure how the attachment will function inside a BPM....in my case I got the details as part of the message...even it was an image but it was stored as a base64 encoded message.
    Regards,
    Abhishek.

  • Integration Process in Integration Scenario

    Hi All,
    I am trying to create an Integration scenario which can be used at configuration time to create all the config object. But during configuration time, in Assign Services step in Integration Scenario Configurator, it is only showing Business Systems under the product, previously configured in SLD. But i want to use the Imported Integration Process as the sender service. Is it possible?
    Also the Assign Service screen is showing Assign Business System Services for A2A configuration. But we are using B2B configuration sometimes. So is there any way to do this?
    regards,
    Biranchi

    Hi
    Thanks for the reply. The above switch problem is solved. But now I am facing a new problem. I am making a synchronous call to BAPI from my BPM. How can this be implemented in Integration Scenario.
    So how can I send a input message from BPM to BAPI and then take further steps only after getting response from BAPI. Is there any way to define synchronous Action??? And another point to be noted is that we are not using any communication channel to send the message from BPM or receive the response in BPM. We have only a receiver communication channel which receives the message for the BAPI.
    So please help in solving this problem.
    regards,
    Biranchi

Maybe you are looking for

  • CMOS Checksum Error on MSI 785GM-E51

    Hi, I have 2 years old MSI 785GM-E51. Approximately 2 - 3 months ago, my PC just go hang without any reasons, even the mouse / keyboard won't respond to anything. After I reset, sometimes it's fine, but sometimes it's hang again, the interval is rand

  • How to add a colored vignette around the photo

    I am trying to just do basic things with Photoshop. I just take pics of my kids and I want to coordinate what they are wearing with a vingette, Can I do this with Adobe? I am so new to this I am not even sure where to go. Thanks

  • Adobe form- image overlapping

    Hi , I have  got a scenario in with one image needs to be printed on top of other. 1) the seal of the company 2) on top of seal the signature of the enduser. the seal of the company will be one and the signature of the user will be changing based on

  • Abap querry

    Hi, Can anyone provide me any documents on ABAP Querry. I need to modify one sap standard program on abap querry urgently, any help in this regard will be very much appreciated. Thanks. Lokesh.

  • Can I upgrade from 10.4.11 to 10.5?

    Can I upgrade from 10.4.11 to 10.5?