Block in bpm

HIi
The following statements seems to be contradicting...........are they true ??
Elements of the superordinate container are not visible in subordinate containers
Inner block can access the Outer Block steps.
thanks
kumar

><i>Inner block can access the Outer Block steps.</i>
Is this statement actually Can Inner Block can access Container Elements of the outer block,
if yes, then the answer is Yes.
Regards
Bhavesh

Similar Messages

  • Reg: Blocks in BPM

    Hi,
    We have a scenario where the requirement is to make 'n' number of transactions with SAP System using the Block in BPM. When the number of branches are around 700 the scenario works fine. But if we have more than 1000 branches the whole scenario fails. We are not able to start the proces again in BPM also.
    Regards,
    Venkatesh

    Hi,
    >>> is to make 'n' number of transactions with SAP System using the Block in BPM
    why do you need n numeber of transactions ?
    do you use IDOCs ?
    if you use IDOCs you can create number ot transactions (documents)
    with one call - wihtout the block - idoc bundling - described in my book
    <a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Question on BLOCK in BPM

    Hi, everybody.
    I have a question when develop a BPM.
    In my BPM scenario, I have a RECEIVE, a RECEIVER DETERMINATION, a BLOCK, and in the BLOCK I have a SEND.(all of these are configure as this sequence)
    I configurate it, and have test. The BPM log show that the process stop at BLOCK, no send action occur.
    The last log of BPM is 'Block item (local Workflow) created'.
    I use a 'ForEach' mode for BLOCK, multiline element is the Receivers container from the RECEIVER DETERMINATION.
    Can anyone help me to make clear where the problem probably in?
    And by the way, as using RECEIVER DETERMINATION in BPM, should I do some special setting in receiver determination of ID(integration directory) too?
    Any suggestion and reply is welcome,  thanks a lot

    Hi, Christophe DUMONT 
    As you say, the container of receiver determination is empty. 
    Now I think the problem is in RECEIVER DETERMINATION step, not the BLOCK.
    the online help say
    'In the receiver determination step, specify the send context and the multiline container element for the receiver list. The send context is an arbitrary string. You query this context in a condition in the receiver determination in the Integration Directory.'
    I don't set the SEND CONTEXT of it, and don't know how to set it. Does anyone know about it?
    I think the point of problem is clear now, we only need support from someone who is familiar with setting RECEIVER DETERMINATION step.
    thanks a lot

  • Sync JDBC call from ParForEach block in BPM (XI 3.0)

    Has anyone tried the following scenario:
    My BPM flow starts with a single message that I split using a message map into a list of messages to be sent synchronously to an Oracle stored procedure via the JDBC adapter.  After the mapping step, the flow goes into a ParForEach block that executes the sync Send step to the JDBC adapter, and then has a Container Action that collects the responses.
    My problem is that BPM seems to not like executing a synchronous send from inside a block.  The first execution of the send step will produce an error in the BPM flow.  The adapter framework, however, shows that the JDBC call executed normally and that the response message was sent back to the integration server.  There is no error indicated in SXMB_MONI, which inidicates to me that the response message was delivered successfully business server (the BPM flow).
    If anyone could shed any light or share any experience, it would be greatly appreciated.
    Chris

    Hi Chris,
    I am facing same situation how you configured BLOCK step for Sync response.Please let me know the flow how you configured.
    Srinivas.

  • Problem with ForEach block in BPM

    Hi,
    I have a scenario as follows:
    Collecting Idocs and send them separately via file channel (Does not make so much sense but I want to get used using the forEach Block)
    Loop (as long as "control" != false)
    Fork
    1. branch: Wait step 1 minute and container operation assign "control" = false (if no more idoc is received, loop stops after 1 minute)
    2. branch: receive step with correlation, container operation with append to multiline message, container operation assign "control" = true
    Mapping
    multiline message to single line message (same interface)
    ForEach Block
    Send Step with single line message
    My problem:
    x idocs get collected by the BPM and my file channel posts x idocs to the directory but it is always the same idoc and not x different ones.
    Any idea on that?
    Regards.
    Oliver.

    Yes, that's the blog I used.
    I have used the same interface for Send/Receive Steps, the Multi-Line Element and the Current Line Element. I restricted the Current Line Element to the block. Any other definition would not show up in the dropdown list, anyway.
    These are my settings for the Block:
    Step Name: Block1
    Description: [Blank]
    Mode: ForEach
    MultiLine Element: Idoc_Multi
    CurrentLine: Idoc_Local
    End Condition, Exceptions and Local Correlations: [Blank]
    Here are the settings for the Send Step:
    Step Name: Send1
    Description: [Blank]
    Mode: Asynchronous
    Create New transaction: [Not marked]
    Message: Idoc
    Ack: None
    Receiver from: Send Context
    All others: [Blank]
    I don't see any error?
    Regards.
    Oliver.

  • Sending IDocs from ForEach Block from BPM disables my XI for 10 Minutes!

    Hi guys,
    I have a scenarion, where my SOAP adapter sends XML into XI, this passes it into BPM, which splits this XML in block to multiple IDoc and these are sent into R/3 system. This really works, but unfortunately, when I send the message into the SOAP adapter, my BOX is unavailable for cca 10 minutes and the documents contains only 2 IDocs!!  After these 10 minutes is everything ok and the  IDocs are in the R/3 system ...
    What could be wrong??
    Any idea is welcome, thanx in advance!
    Peter

    Michal,
    First I tried to do this with my BPM:
    before the change, I was mapping the message to IDoc directly in the BPM block part (I had abstract interfaces for message and for IDoc) and sending the Idoc away from the BPM
    after the change, I tried to send away from the BPM just the message and try to make mapping to IDoc on the way from the BPM to rhe R/3 system
    (it didn't help, my box was unavailable for 6minutes again)
    I checked the BPM - sending of the both massage was in the same second! So the problem could be only in
    a, MAPPING (not very possible - tests take few seconds)
    b, in sending IDoc
    But what could be wrong?? What could take so many resources??
    To the header mapping: I have deleted the Ad Spec Ids and added the header mapping (sender service, receiver service)...  But the ALE error was there again!
    Honestly, I have read the header mapping docu, but didn't unterstand it, how could it be useful in this case..
    P.

  • Queue blocked after BPM error!

    Hi,
    Is there any configuration steps to do in order to avoid incoming message to be blocked (Scheduled on outbound side) in the queue when there is a bpm error.
    Thanks in advance,

    Hi,
    yes we can do through SXMB_ADMIN, SMQ1..
    Outbound Scheduler (Transaction SMQS)
    If the Outbound Scheduler is responsible for sending and executing these LUWs, and the logon data in transaction SM59 in the destination is incomplete, then any subsequent LUW calls might be executed under the logon data of a previous user. This occurs if the destination scheduler is already running under another user when the LUW is called and no logon data is maintained in transaction SM59. In this case, the destination scheduler runs under the user that started the scheduler (and this user's language). This means the destination scheduler runs under the wrong logon data, as does the processing of the subsequent LUWs.
    Until now, destinations could only be registered in the Outbound Scheduler if the logon data (client, user, password, language) had been defined completely in transaction SM59 (if LUWs always needed to be processed under a specific user and language). Destinations with incomplete logon data could be registered only if the user and language was not important. In addition, some internal destinations (NONE/SPACE) do not allow you to enter a user or language in transaction SM59. For this reason, and for tRFC compatibility, you can only register these destinations in the Outbound Scheduler with the optional Without tRFC flag.
    see below links
    http://help.sap.com/saphelp_nw04/helpdata/en/1a/d2fc40b2c7f96fe10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ba/665f3c482a7331e10000000a114084/frameset.htm
    The reason of blocking a queue
    Queues getting blocked on error
    Regards
    Chilla..

  • Diff between ForEach & ParForEach blocks in BPM

    Hi,
    Can anyone let me know the difference between ForEach & ParForEach blocks? I am aware of the fact that ForEach gets executed sequentially and ParForEach gets executed parallelly from SAP help. But what I require is "Does usage of ParForEach improve the performance, since it executes parallelly, when compared with ForEach which executes sequentially. If not, how does ForEach behave compared with ParForEach?
    Thanks
    Sreeks

    Hi,
    The main difference between the two is the scenarios where they are used,
    parforeach : is mainly used in places where you have to fork for seperate requests, and have to collect individual responses into a single message.
    foreach : is maily used in places where sequencial processing is important or the order of the message has to be preserved by executing.
    As for which is better you could probably judge interms of cost(memory) vs performance. Parforeach forks a seperate flow for each path(thread on java stack + work flow on abap stack), and if your message is huge, you will be having n*message+BPM initialization cost, where n is the number of paths.
    the very nature of Foreach enables recycling of memory and there by for each execution it uses only message+BPM initialization cost.
    Bottom line, use parforeach where you need to use fork-collect pattern.
    Naveen

  • Parent and Child Block in BPM

    Dear All,
                I have a scenario where I have a parent block that has a synchronous send and a child block which needs to use the Abstract response message of the above synchronous send which is present in the parent block. Is this design possible?
    Regards,
    Ashish

    i think it might be possible to the scope of the continaer in first block extended to the second block. if the scope of the contianer is local then it is acccessible within the block only

  • Blocks in BPM

    Hi Experts
    What does the below modes for Block operation signifies
    Default
    Parforeach
    For each
    Thanks
    Suma

    Hi Suma
    The ParForEach mode generates a block instance for each item (of a multiline container element), so all items are executed in parallel mode.
    With ForEach, you loop through all items, processing them one by one.
    It's explained here:
    http://help.sap.com/saphelp_nw70/helpdata/en/f6/e1283f2bbad036e10000000a114084/content.htm
    You can use the ParForEach mode when you want to send a message to multiple receivers simultaneously, for example. To do so, you use a receiver determination step to determine a multiline container element with the list of receivers. You then define that the message is sent to these receivers in a block with the ParForEach mode. You can use the ForEach mode when you want to send a message to multiple receivers one after the other, for example.
    Regards,
    Giuseppe

  • BPM For-Each Block

    Hello all,
          My scenario works like JDBC - XI - JDBC. I will get se of rows from Database I have to send each row to update target field using For-each block in BPM. Here I will be using Synchronous send to JDBC so that if the data gets updated I'll get update_count as response. My doubt is consider i'm having 5 rows i'm passing each row into the for-each block two messages successfully updated third row is throwing some SQL exception at this time is it possible for me to catch this error? Also bcoz of this exception the rest of the rows  should not be affected. Please help me regarding this regard.
    Best Regards,
    Raj.

    Hi,
    You can try this.
    After the send step in the BPM, use a container step to assign the response from the JDBC to a multiline container.
    Then you will have all the responses for the individual rows. Whenever the no. of records updated is 0, you can take appropriate action.
    Regards,
    Puloma.

  • Help needed in splitting files using BPM

    Hello experts,
    I am working on an interface where i need to split files within BPM.
    I know,i can achieve it in Message Mapping by mapping Recordset to Target structure and then using Interface Mapping within Transformation step.But i dont want to follow this.Is there an alternative way to achieve this within BPM.
    I have an input file with multiple headers and i need to split for each header.My input file looks like this:
    HXXXXXABCDVN01
    MXXXXXXXXXXXXXX
    MXXXXXXXXXXXXXX
    SXXXXXXXXXXXXXX
    HXXXXXABCDVN02
    MXXXXXXXXXXXXXX
    MXXXXXXXXXXXXXX
    SXXXXXXXXXXXXXX
    HXXXXXABCDVN03
    MXXXXXXXXXXXXXX
    SXXXXXXXXXXXXXX
    Is there a way, where i can specify this condition within BPM , that split files for every H.
    Thanks in advance.
    Regards,
    Swathi

    Hi,
    have your target structure with occurence as 0...unbounded in the mapping and map the header filed to the root node (repeating parent node) of the target structure....this will create as many target messages as the header fileds....if you want to send these messages separately then use a block in BPM with ForEach option....
    Splitting and Dynamic configuration can be applied in the same mapping.
    Regards,
    Abhishek.
    Edited by: abhishek salvi on Dec 18, 2008 12:59 PM

  • Handling fault messages in BPM

    Hi,
    I am using BPM for a RFC to SOAP scenario to handle Fault messages. (Please have a look at my previous post also SOAP Fault message )
    I have created an exception block in BPM to catch the fault message from SOAP service. Inside the exception block i need to map the fault message to RFC response. But fault message is not accessible in Exception block.
    Let me know if you have any idea to solve this.
    Thanks,
    Uma

    Uma:
    Let me make clear the requiremt. You have RFC Import(aka Request message) and Export(aka Response + Exception) and you have Web Service with Request, Response, Fault messages. And you want to send the fault messages back to the RFC in addition to the response. I was wondering, If we do the following mapping without BPM, does that fulfill your requirement.
    RFC-Import <----
    > SOAP Request
    RFC-Export <----
    > SOAP Response
    RFC-Export <----
    > SOAP Fault
    Can you let me know if you face any problems with this one. I have seen your other thread and was wondering, whats the problem is. May be I didn't understand the requirement properly. Please clarify me

  • BPM Start Process

    We have scenario(file to file) where we get multiple files and is merged using BPM, transformed and sent to the receiver. We have file This is a time based collection. Incoming file adapter is set to poll every 30 sec, and the block in BPM timeout in 2 mins ( for testing purpose).
    The BPM receive step (inside the loop) has the start process turned on. The expected behaviour was to receive all files in one instance of BPM and send the merged one out.
    It is spawning the multiple BPM instance based on number of files in the sender file adapter. My guess is it is doing this since we have the start process on receive step and for each receive it is starting a new process. How do we eliminate this to have only one instance start as I am not finding any other step prior to receive ( block , and loop) where I can start the process.
    Any help is appericiated.
    Thanks,
    Samir

    1. If you want to merge the same file format , Use "Loop" step before "Recevie" step. Put some deadline branch , which will ensure your time limit.
    This would resolve your problem.
    2. If you want to merge different file format , you need to have multiple "Receive" steps and for that you need to use the "Fork" step.
    Let me know if you still find any problem.
    Thanks & Regards,
    Dijesh Tanna.

  • Sync Send step in BPM.

    hi all,
    My BPM flow starts with a single message that I split using a message map into a list of messages into a block which is foreach mode to be sent synchronously one by one splitted messages to an Oracle stored procedure via the JDBC adapter. After the mapping step, the flow goes into a ParForEach block that executes the sync Send step to the JDBC adapter, and then has a Container Action that collects the responses.
    My problem is that BPM seems to not like executing a synchronous send from inside a block. The first execution of the send step will produce an error in the BPM flow.
    thanks in advance.
    srinivas.
    Edited by: sri_rambo on Nov 27, 2009 8:06 AM

    My problem is that BPM seems to not like executing a synchronous send from inside a block.
    BPM does support SYNCSend step inside a Block....but not for ForEach/ ParForEach mode of execution.
    I think you are following this procedure from quite a long time.....sync send inside a foreach block.
    Regards,
    Abhishek.

Maybe you are looking for

  • Oracle 9i R2 Installation on RH Linux 7.3 -- Have a few questions.

    Hello, I am at the end of the Oracle 9i R2 installation and have a few questions. 1) The "Agent Configuration Assistant" keeps failing. I get the following message. Parameters "orahome" = /opt/oracle/product/9.2.0 Parameters "nodeinfo" = NODE_VALUE A

  • SD pricing based on Batch characteristics

    Hi, I have a requirement whereby the pricing in the billing document is dependent on the batches in the delivery document. Eg. For a single material, I may two batches each one having its % of impurities - 2% for the Batch 1, and 5% for Batch 2 in th

  • Problem in using Currency Field in EXTRACTOR

    hello,         I have a requirement to create Extractor involving some fields from a Ztable. While creating extractor (data source) in RSO2 transaction, when i enter the Z table name in "Extraction from DB view - View/Table" and click on SAVE, i get

  • PLSQL 10g on Windows 7 Professional

    Hi everyone, I have installed Oracle Client 10g on Windows 7 Professional, but when I run PLSQL and type all of my user credentials my PLSQL window closes, but if I right click on the icon and choose run as administrator or run this program in compat

  • My desktop apps are signed out and I can't sync my preferences

    Hi, I tried to log out and in from adobe manager and fron adobe cloud website but indesign and illustrator are still in a "not signed in" status and won't sync my preferences. Any ideas? Thanks a lot