BPM Scenario Block Step

Hi All,
In my scenario iam getting a message through RFC.Now i have to split the messsage into multiple messages and then send each message individually to a webservice and get the response.
I want to send them in Parallel mode by using Block step - Parforeach mode.
Following are the steps in my BPM.
1.Receive step - Open Syn/Async Bridge
2. Transformation step to split the message into multiple messages.
3.Opened a block in parforeach mode
4.Send step in synchronous mode
6.Collect the response in container.
7.Ouside the block close the ync/Async bridge.
When i exceute the scenario, i only see one message in SXMB_MONI which is from R3 system and even that message does not indicate what the problem is.The message recahed the BP engine.
Unable to figure out what the problem is.
Regards,
Srinivas.

But to use the response of all the sync messages, u must use the correlation
See this
http://help.sap.com/saphelp_nw04/helpdata/en/11/13283fd0ca8443e10000000a114084/content.htm
Regards,
Prateek

Similar Messages

  • Issue in File to RFC to File Scenario with BPM using Block Step

    Hi Everybody,
                           I am doing File to RFC to File Scenario for multiple records using BPM using Block Step. The File Message is getting posted and after that, the message is getting stuck up in the qRFC Monitor (Inbound Queue).
                        After seeing the message in Inbound Queue, I am trying to execute and release the message. But when i execute the LUW, it says " Function module doesnt exist or EXCEPTION raised" in Inbound queue.
    Could somebody suggest me the outcome of this? What does this mean and how to
    release the stuck up message in Queue.
    Thanks and Regards,
    N.Jayanth Kumar

    Hi Rajesh,
                           After going through the blog, i saw the trace messages. It says      
    " The   exception occurred (program: CL_SWF_XI_INBOUND=============CP, include CL_SWF_XI_INBOUND=============CM00F, line: 19)"
    Regards,
    N.Jayanth Kumar

  • BPM Scenario (4 steps in sequence)

    Hi gurus,
    I am facing following scenario:
    PI receives a WS request, with some info
    With this info, PI accesses a tabla in a DB in order to insert an STATUS field ('In_Progress' status)
    With the same info (received via SOAP) PI accesses to SAP via sRFC and gets its output fields.
    With this output, PI accesses the same tabla, updates the STATUS field ('Finished' status) and fills the table
    So I decided to create a BPM with 4 steps:
    Step1: RECEIVE the SOAP_Request_AI (async)
    Step2: SEND the JDBC_STATUS_AI to LEGACY (async)
    Step3:SEND the SEND_RECEIVE_sRFC_AI to SAP (sync)
    Step4: SEND the JDBC_RESPONSE_AI to LEGACY (async)
    I have created 7 MI's:
    SOAP_REQUEST_OI -> out of the BPM, it receives the message from WS
    SOAP_REQUEST_AI -> inside the BPM, it receives the message from SOAP_REQUEST_OI  (No IM)
    JDBC_STATUS_AI --> inside the BPM, it sends the message (that step1 received) to the DB (IM)
    JDBC_STATUS_II --> not used so far!
    SEND_RECEIVE_sRFC_AI -> inside the BPM, it sends the message (that step1 received) to SAP (IM)
    JDBC_RESPONSE_AI ->inside the BPM, it takes the response of step3
    JDBC_RESPONSE_II -> out of the BPM, it sends the message (that comes from step4) to DB (IM)
    All my mappings are out of the BPM.
    Interface Determinations:
    SOAP_REQUEST_OI to SOAP_REQUEST_AI (No Mapping)
    SOAP_REQUEST_AI to JDBC_STATUS_II (Mapping) --> here i have a doubt
    SEND_RECEIVE_sRFC_AI to ZRFC (Mapping)
    JDBC_RESPONSE_AI to JDBC_RESPONSE_II (No Mapping)
    I followed the instructions of the following blog regarding MI's and mappings but it doesnt work!!!
    RFC Scenario using BPM --Starter Kit
    However if i delete step2, it does work so i think i am missing something regarding the conversion between interfaces in step1&2 and step2&3.....
    Could you please give some indications?
    Thanks a lot in advance and best regards,
    David

    David,
    I think you need to change the objects. Please try the below logic, and let us know if it helps!
    Message Interfaces used
    SOAP_REQUEST_OI
    SOAP_REQUEST_AI
    SOAP_REQUEST_OI
    JDBC_STATUS_AI
    JDBC_STATUS_II
    SEND_RECEIVE_sRFC_AI
    JDBC_RESPONSE_AI
    JDBC_RESPONSE_II
    Sender Agreement:
    O/B Interface : SOAP Request_OI
    Receiver Determination -1
      Sender : SOAP Service
      Outbound Interface :SOAP_REQUEST_OI
      Configured Receiver : BPM
    Interface Determination-1
      Sender : SOAP Service
      Outbound Interface :SOAP_REQUEST_OI
      Inbound Interface :SOAP_REQUEST_AI
      No Interface Mapping
    Receiver Determination -2
      Sender : BPM
      Outbound Interface :SOAP_REQUEST_AI
      Configured Receiver : JDBC Service
    Interface Determination-2
      Sender : BPM
      Outbound Interface :SOAP_REQUEST_AI
      Inbound Interface :JDBC_STATUS_II
      Interface Mapping IM_WS_2_JDBC
    Receiver Determination -3
      Sender : BPM
      Outbound Interface :SEND_REC_RFC_AI
      Configured Receiver : RFCService
    Interface Determination-3
      Sender : BPM
      Outbound Interface :SEND_REC_RFC_AI
      Inbound Interface :ZRFC
      Interface Mapping from IM_WS_2_RFC_2_JDBC
    Receiver Determination -4
      Sender : BPM
      Outbound Interface :JDBC_RESPONSE_AI
      Configured Receiver : Receiver Service
    Interface Determination-4
      Sender : BPM
      Outbound Interface :JDBC_RESPONSE_AI
      Inbound Interface :JDBC_RESPONSE_II
      No Interface Mapping
    BPM Steps
    Step1:
    Receive: SOAP_REQUEST_AI
    Step2:
    Asynch Send:SOAP_REQUEST_AI
    Step3:
    Synch Send:
    Synch Interface:SEND_REC_RFC_AI
    Request:SOAP_REQUEST_AI
    Response:JDBC_RESPONSE_AI
    Step4:
    Asynch Send:JDBC_RESPONSE_AI
    I'm sure the above config will provide solution to the issue.
    Thanks,
    raj.

  • Block step in BPM

    Hi Experts,
      I am facing a problem in BPM,
    1) Receive the Message
    2) Split the Message
    3) Block starts
        a) Synchronous send to RFC
        b)Response from this is send to Send step
    In this scenario, the Message is going upto "BLOCK" step, and from there it is not geting executed correctly. To my surprise in SXMB_MONI, the message going to BPM succesfully and no other message found from BPM to any system(either synchronous send / send).
    Can you please help me in identifying the problem.
    Regards,
    Anudeep

    Hi,
      Problem is solved.
    Multi mapping is not giving target element. It is solved when we chnaged the input payload format, from,
    <ns1:Sender_SI xmlns:ns1="namespace">
      <rows>
         <field1>
         <field2>
      </rows>
    </ns1:Sender_SI>
    to
    <?xml version="1.0" encoding="UTF-8"?>  
    <ns0:Sender_SI xmlns:ns1="namespace">
      <rows>
         <field1>
         <field2>
      </rows>
    </ns0:Sender_SI>
    By this change the Mapping worked and scenario is running succesfully.

  • BPM Block step

    Hi everyone,
    In my scenario IDOC XI JDBC scenario I am using the BPM.
    My IDOC message type is Vendor master and needs to send to 4 Legacy systems.
    My BPM steps are:
    1)Receive step
    2)Transformation step.
    3)Fork step(4 branches).
    Inside the fork
    a)4 receiver determination steps.
    b)4 Send steps.
    My question is I need to monitor each and every step in BPM.
    So how many BLOCK steps can I have for my scenario?
    And in the BLOCK step properties can anyone explain me  what is Multiline element,Current Line element and End Condition?
    I have gone through the SAP BASIS BPM patterns in XI but it is very confusing for me.
    If any one can help me out that would be great and I appreciate your help.
    Thank you,
    Mili

    Hi Mili,
    imagine you have to a message that has a unknown number of order items. But your receiver wants to have messages separated by order items.
    Sample:
    You send a order IDOC from R/3 to your XI. The XI does not know how many order items are in the IDOC. So you do a transformation step. In this case a so called multi-mappping. the multi mapping splits your IDOC into several Messages.
    Imagine also that you BPM is generated coding! Now imagine a table (like in EXCEL) where these single messages (your order items) are. The multiline element is your excel.
    Now you want to send the EXCEL rows (=order items) step by step.
    So your send step has to take the actual message that should be processed.
    This is the SINGLE LINE.
    Take care: MULTILINE Container element and SINGLE Line Container element have to refer to the same message interface!
    But in your case you do not need a multi mapping as the number of receivers is known (=4).
    Also you do not need a end condition.
    You need only one send step!!!
    In Integration directory configure a receiver determination where your 4 receivers are!
    Also 4 interface determinations and 4 communication channels.
    One question:
    What do you mean by:
    >>>My question is I need to monitor each and every step in BPM.
    Thats all!
    Regards mario

  • BPM error at BLock step name

    hello experts,
    i am working on BPM scenario,
    in that i have few block steps..... one of block step, the step name is displaying the error.
    saying that the step name is already exists.
    but i have changed, then also it displaying the same error.
    can any body help me in this regard??

    Delete the block and recreate it. It will automatically assign it a unique name.
    Regards,
    Prateek

  • ParforEach Mode in Block Step in BPM

    Hi All,
    We designed a BPM with a block step in Parforeach mode.
    For this block step, a multiline container is the Input.It has all the messages to be processed in parallel. But during runtime this block step is not processed in parallel mode.The messages are processed one after the other in sequential mode.Only different instances of the block step are generated but they are processed sequentially.
    Any suggestions!!!
    Regards,
    Srinivas.

    Hello,
    You could read here:
    http://help.sap.com/saphelp_nw04s/helpdata/en/ce/bb2c421f3fda2ce10000000a1550b0/frameset.htm
    that:
    A ParForEach is not a means of improving performance. A ParForEach will not result in a split into threads.
    Could this be the reason?
    Regards
    Patrick

  • Where to chk the PipeLine process steps in BPM Scenario...

    hi experts,
    i hav a scenario where i need to send multile file formats to an synchronous R/3 system and from R/3 it needs to be forwarded to the Target system in file format... its a BPM scenario...
    i need to CHK the sequence of Steps or Pipeline process to knw where exaclty the message is at each piont of time...
    can any one help on this plz...
    Thanks and Regards,
    Srinivas

    its possible to do the same using the ALERT Framework also...for the same pls go through the info provided below.
    From SP 14 on PMI-free alerting was introduced. That means before SP 14 one has to configure and activate the End-to-End Monitoring, and to schedule the report SXMSALERT_PROCESS_DATA_GET in order to extract the alerts from the PMI data. For SP 14 and higher, that's not longer necessary.
    If no alerts are being delivered, please check if "Suppress multiple alerts of this rule" is checked for your rule.
    For SP 14 and higher you could also have a look at the report sxmsalert_logreader. This report shows some information about alerts being created or not.
    You'll find more information about trouble shooting the alerting in SAP Note 913858.
    Also just check if this batch program (RSALERTPROC) is running or not.
    The links below on Alert Management (ALM) will be of good help to you:
    http://help.sap.com/saphelp_nw04/helpdata/en/3f/567ddea69d3d4c93a6aedabd08899e/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/3f/81023cfa699508e10000000a11402f/frameset.htm
    Also go through these blogs:
    https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1382. [original link is broken] [original link is broken] [original link is broken]
    The specified item was not found.
    The specified item was not found.
    Meanwhile look at these forum threads also:
    Alerts not getting triggered from Adapter Framework
    Alert  Configs...
    Also, In ALRTCATDEF, go to SETTINGS--> CONFIGURATION. By default, the option selected is INTERNAL PROCESSING. Select the option SMTP FORWARDING AS XML and give the email id. This will enable you to send an email alert whenever an error occurs in XI.
    I hope it helps you in finding a solution to your problem.

  • Receiver Determination steps for BPM scenario

    Hi Experts,
    Scenario : SOAP -> Calling different webservices
    1. SOAP Client Request
    2. Call the Initial webserive to get the unique Id. No need to pass any request to call this webservice, but it will give the response.
    3. Take the Initial websrevice's response as a request to second webservice
    4. Pass the SOAP client request to Third webservice
    BPM steps
    1. Receive Step for SOAP Request
    2. Send Step for the Initial webservice call.
    3. Transformation step Initial webservice response to request change.
    4. Send Step for Second webservice (Pass the the Transformation step's target interface as a request)
    5. Send Step for Third webservice ( Pass SOAP client request)
    I am done with the BPM flow. Could you please help to do the Receiver Determination steps.
    Usually I follow the below steps.
    1. Sender Service to BPM
    2. BPM to other services. I have a doubt with the second step. I am not passing the SOAP client request to Initial webservice. So, please tell me how to proceed further for the BPM Receiver Determination steps..
    Thanks & Regards
    Sara

    Hey,
         First, what is th purpose of your SOAP client request.
    Is it just to trigger the BPM.
    Second on what basis are you fetching the unique Id from initial web service.
    If it is a normal scenario then, the reciever determination will be like this.
    Soap client-> BPM
    BPM->initial webservice
    BPM->second webservice
    BPM->third webservice
    but in this particular scenario i dont know which data is being used to fetch the unique Id.
    regards,
             Milan

  • What is the use of block step in BPM? Please help!

    Hi Experts,
             I would like to know what is the use of block step in BPM? In what cases we can use it?
    Can somebody explain BLOCK by relating to any programming language ( java) control step?
    Please help!
    Thanks
    Gopal

    Hi,
    Block step is similar to what we use curly braces in most of the languages which defines the scope. For example if we are using loop step in bpm to loop through some variable then we can use block step to restrict the scope of loop step up to some point.
    Thanks and Regards,
    Sudheer.

  • ABAP proxy in Block step in BPM

    Hi Experts,
    Can ABAP server proxy be used in the block step of BPM?
    Proxy cannot be generated using Abstract interfaces right?
    Thanks
    Suma S

    Hi Suma,
    Check the below links :-
    As far as my knowledge, you cannot use ABAP proxies in the block step.However, you can cross check it.
    Yes, you are right . You cannot create proxies from abstract interfaces.
    Check the below links. These will help u in better understanding :-
    http://help.sap.com/saphelp_nw04/helpdata/en/f6/e1283f2bbad036e10000000a114084/content.htm
    bpm send abap proxy problem
    Re: what is a block step where it is used
    What is the use of block step in BPM? Please help!
    Regards,
    Rohit

  • Error in Block step in BPM.

    Hi all,
    I am getting the error in block step, my design follows like this i defined one transformation before block step, the transformation step will splits the input bunch of records into equal no of record packets and sent to block step.. while defining block step i used foreach mode, in block step we kept one sync send step which will send message and gets response ....
    but my block step is getting error once message enters into the block...
    Thanks in advance for your valuable  suggestions and solutions...
    Srinivas

    Hello...
    >>the transformation step will splits the input bunch of records into equal no of record packets and sent to block step
    The transformation splits the message into bunch.. Put  the output in a multiline container and use this in the block step...
    >>but my block step is getting error once message enters into the block...
    What error are you getting??
    >>Thanks in advance for your valuable suggestions and solutions...
    Great to know that you are happy with the responses from the community member in this forum.. So I wish to point one more thing here.. Some of the recent threads closed by you were having closing comment as solved.. it will be better if you point out the problem and the solution which you have adopted to solve the same, so that other community member having the same problem will get a speedy solution... This is just a suggetsion from my end...
    Thanks
    Suraj

  • Sync Send step in Block step...in BPM

    Hi All is it possible to maintain a syncrounous send step in Block step, please let me know how....we can maintain for request message and response message.
    Thanks
    Srinivas

    Hi ,
    Its simple
    Receiver- transformation  -Block -
    Sync step -
    Container-----Block -
    Final send
    Exception -
    Regards,
    Jude

  • BPM Scenario: Message has error status on outbound side

    Hi All,
            I am doing one BPM scenario. In my scenario i am collecting 12 different type of idocs in BPM and bundling these idocs and sending these to the 12 different files.
            If i send 12 idocs from the R/3 then my scenario is working perfectly fine. If i send less than the 12 idocs that time i am getting the error message as "Message has error status on outbound side" with red flag.
               Can you please explain what minght be the problem. I have already checked in SM58,SMQ1 and SMQ2.
    Thanks & Regards,
    Purushotham

    Hi Nutan,
            I hv configured my scenario as follows
    1. Start
    2. Block ( Deadline and Control step for cancell the process)
       3. Fork(Necessary branches 12)
          4. Loop(12 loops)
              Under loop
              a. Receive Step
              b. Container Operation( For count)
              c. Container Operation(For append)
    5. Fork( Necessary branches 12)
        6. Transformation
        7. Send
    8 Stop
    This is my scenario. In the first Fork step i am checking end condition as total  number of idocs is reached then i am sending all the data to the target system. If the idocs are not reaching with in 1 hour then i am cancelling the process.
            Now can you please tell me what is the problem.
    Thanks & Regards,
    Purushotham

  • To configure alert for BPM scenario.

    Hi Experts
    I have one BPM scenario(Asyn-Syn-Asy).
    I have created one alert category for this and defined 3 alert rules:
    first rule from SAP to BPM
    second from BPM to 3rd party which is synchronous
    and third from BPM to SAP.
    But when i create faulty message by mapping error, alert is not triggered.
    Can anyone tell me where I m going wrong??
    And what additional configuration is required to trigger alert??
    Thanks
    Edited by: danishahmed on Jan 18, 2012 2:06 PM

    Hi Danish,
    Control Step is required to capture exceptions. If there is any error in main branch then Integration Process looks for alternate branch to execute which in this case should be Control step.
    This control step will throw alert which should already be defined in Alert Category of IR.
    Steps -
    1. Drag a BLOCK from tools pellete and assign to your main flow. Now this block will be having 2 branches.
      One branch will contain main flow and other will contain control step.
    2. Right Click on Block and Insert -> Exception Branch
    3. Drag and Drop CONTROL inside exception branch
    Now you can configure Alert as in above mentioned my EL Netweaver blog post.
    - Mandeep Virk

Maybe you are looking for

  • List workflow task details

    Hi all,<br> We're in the midst of evaluating oracle bpel pm 10.1.2 for our application. I had created an user task using jdeveloper bpel designer. Successfully tested the flow using bpel console and bpel worklist. I intended to develop a gui for disp

  • How do I revise "if" syntax in form validation JavaScript?

    I added a script to my "Contact" page to validate any submitted email. Just one problem: the visitor is not required to give me their reply email if they don't want to. I want the script to validate if they input an email, but do nothing if they leav

  • I cannot hear people over my phone when I make or receive calls

    This is a brand new iPhone 5 - did not drop it or has any other damage. I cannot hear people when I've answered. Volume on full, no plastic cover, just very poor quality of sound

  • [Desktop][Your Music] Option: Order artists in Your Music by number of songs

    I'd love to be able to sort artists by number of songs. That way I have some idea of which artists that I've +-d I want to listen to most, or have the most songs I like the most.  It could then be sorted by album within the songs. Thanks very much an

  • Document Failed to Load Error When Scanning a PDF

    Every time I try to scan a document as a Pdf, I get a failed to load message.   The scanner works fine if I use the JPEG setting.  I've tried reloading Adobe Acrobat, but it doesn't solve the problem. Any suggetions?