Block Step

Hi
through SAp help i'm trying to  execute Block step in my scenrio..but its vey difficult for me at present..
with in the block i'm proecessing data from multiple receivers to transform one sender..
I need to catch all exceptions with in the block ..
so if you have any example kind of thing excuting this kind of scenrio..please let  me know..
Thnaks In Advance..
Regards..rambarki

hi,
check out these threads:
==>question on BLOCK in BPM
==>BPM: Block Processing: ParForEach
==>BPM 'block' uses ...
==>Exception inside a block [BPM]
Hope This will be useful...:)
Regards,
Sundararamaprasad

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

  • Parallel processing in a block step.

    Hi,
    I have  parallel processing in a block step. It is working fine. Now there is a request and so the question is, if there are 2 parallel loops created by the process block for user decision step and if one has become obselete, how do I deal with it.I need the process block to complete the 1 loop succesfully and proceed.
    Let me know in case of questions.
    Thanks.
    Sukumar.

    Hi
    I think you are using "ParForEach" in block. Let me know how you are making 1 parallel loop as obsolete.
    Is that block is not getting completed after the 2nd parallel loop gets excuted?
    Vinoth

  • 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

  • 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

  • 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

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

  • 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

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

  • 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

  • Problem with timeout exception on a block step

    Hi there, i have a BPM with a block step that has a 1 minute duration timeout,  when i see the steps on the sxmb_moni_bpe the block deadline is being reached after 2:50 more or less, on the block i have an infinite loop with a receive step, does anybody knows why is taking more than expected?, how can i fix it?, thanks for all the help on the matter,
    Regards,
    Robert.

    Hi ,
    This may be due to some missed runtime environment parameters.
    Go to trans - SWU3
    In Maintain Runtime Environment
    Execute the following activities :-
    1. Schedule background job for missed deadline
    2. Schedule background job for deadline Monitoring
    Also have a look at sap note 1117735, if you are not able to execute the above activities.
    Regards,
    Sunil Chandra
    Edited by: sunil chandra on Sep 29, 2009 8:18 PM

  • 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

  • Issue in completing the block step for parallel processing

    Hi,
    i have created a workflow where in i have used a block step to send workitems to multiple agents.  I have used parallel processing in block step. Number of agents are determined in the runtime. Lets say i have two items in my multiple line container( two agent id). Now inside block statement i have put user decesion step. So at the same time workitems goes to the two approver for approval. When both approver take the decesion after that also command is not coming out of the block step. I want the command to be out of block step after this and goes to the next step of workflow.
    Please suggest any helpful solution for it.
    Regards,
    Smit Shah

    I think theremust be a binding problem , the binding must be some thing like the below
    &USERID[&_WF_PARFOREACH_INDEX&]& ----->&_USERID_LINE&
    of the block step from WF container to Block Conatiner. Because when I checked in my system it is behaving as you want., I also include one Decision step inside the block, and then hard coded the userid values int the table USERID and made the above binding and it ia working fine and in the Decision Agent I mentiond the EXPRESSION and assigned the value &_USERID_LINE&

  • Parallel processing using BLOCK step..

    Hi,
    I have used parallel processing with a BLOCK step. I have put a multiline container element. In the BLOCK step, I have visibily to another container element generated because of the block step (multilne container_LINE). Thus the number of parallel processes are getting created as in the requirement, but the problem is the value in multilne container_LINE is not getting passed to the send mail step. I have checked the binding, everything is ok. Please
    Sukumar.

    Hi
    When I am sure that I am doing properly a binding but it doesn't work then:
    1. I activate workflow template definition (take a joke).
    2. I write the magic word
    /$sync
    in the command line, to refresh buffers.
    3. I delete the strange binding defined with drag&drop and define it one more time using old method from former binding editors in R/3 4.6c systems. I take container elements from the lists of possible entries or I write their name directly. I don't use drag&drop.
    Regards
    Mikolaj
    There are no problems, just "issues" and "improvement opportunities".

  • How to execute Block step in workflow so that Approval can be done by new

    Hi expertt.
    How to execute the block step in workflow with Local container passed to WF conatiner .
    so that wf can executed next step with event raised.

    Install the language packs for the additional languages available from http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.6.12/win32/xpi/
    As you have the Finnish version of Firefox, the additional language packs are Dutch - nl.xpi, Norwegian (Bokmål) - nb-NO.xpi, Norwegian (Nynorsk) - nn-NO.xpi, and if you want English you can use en-GB.xpi
    To assign a particular language, you can change a hidden preference:
    # Type '''about:config''' into the location bar and press enter
    # Accept the warning message that appears, you will be taken to a list of preferences
    # Locate the preference '''general.useragent.locale''', double-click on it and change it to the code for the language, for example '''nl''' for Dutch
    You can also use the [https://addons.mozilla.org/en-US/firefox/addon/1333/ Quick Locale Switcher] add-on to switch between installed languages.
    For more details see http://kb.mozillazine.org/Language_packs

Maybe you are looking for

  • How do I get rid of this arrow next to songs

    I want this arrow to go away. I don't use any of the things it drops down to and it gets in the way when trying to select a song, highly annoying location for something like that.

  • How To Call Function 'OnClick' of Button

    DWMX ... How do I call the function prc_SendEmail() written in VBScript above the head ... the following is the best I can do and, whilst the page shows, when I click the button, nothing happens and I get an Error on Page at bottom left of explorer p

  • Flash CS4 crashes at startup

    I have recently purchased CS4 Design Premium. The installation of all applications went fine (no error message) and all applications work perfect except Flash CS4. On startup I see shortly the stage screen and then the spinning beach ball. I tried un

  • IChat Video Conference Quality?

    Hello, I am thinking about purchasing a Macbook and using it for one-on-one video conferencing, but would like to know if the webcam video quality is really as good as it is in the store demo. That is, when you video conference with others (Mac and P

  • Formula in transformation file to remove trailing zeroes,BPC 7.5 NW

    Hi Experts, I have implemented automation of master data from BW info object to BPC dimension. I have few issues with the transformation file. employee percentage in BW is of type number and has lenght of 17. In BW 0EMPLPCT holds the value as 100,000