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>

Similar Messages

  • Reg: Message and BPM

    Hi
    I'm having a scenario where i use a JDBC adapter to extract data from a DB. As a result of the query say, 10 rows are returned as message to XI server. I have a transformation (BPM) set and the receiver(target system) is a file. When i open the file to see its contents i can see only the first record been transfered. The mapping part used for the transformation node is having IF condition. But all the fetched records satisfies the conditions in the mapping.
    Pls let me know the corrective step.
    reg: Prabhu

    Hi,
    1)Check the input XML i.e all 10 records are coming into XI . This you can check in SXMB_MONI
    2) Then you can test the mapping in the integration Reposiotry .. So now you can get if any mapping problem. For this , check is the occurence of target strcuture is 1..n or 0.n
    /people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
    3) If mapping is correct , then check the RWB->Message Monitoring->Message Display Tool and check the payload.
    4) If this is correct, then check the File COntent Conversion of the Receiver File Adapter.
    Hope this helps,
    Regards,
    Moorthy

  • 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

  • Reg: Block purchase order item level using MEMASSPO

    Hi,
    I am checking to see if we can block PO item level  in MEMASSPO.There is field for deletion indicator but i could'nt find any option to block.I searched forum but i found that deletion indicator LOEKZ value could be S for blocking and L for deletion.I want to know if any enhancemet or exit is required to include the feature of blocking PO item through MEMASSPO.Any information on this would be appreciated.Thanks in advance

    why do you want to set the block?
    Blocking an item is from s SAP point of view a short term solution until you have decided about a final solution. E.g. you have not yet an accurate price, hence you wont allow a GR, so you set a block.
    But blocking does not close a business case. Someday you want archive old purchasing documents, but archiving is only possible for not blocked  items.

  • 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

  • Reg Blocked Export Documents Runtime Error

    Hi..
    I am using the transaction '/SAPSLL/BL_DOC_SD_R3' to see blocked export documents.......
    Now when i run it for a plant and about 40 thousand sales orders... it is going for a runtime error.....
    I need to know for how many records can i run this transaction at one time..  ......
    Regards.

    Gautham..
    The selection screen stuff did not help....
    This is the error which i am getting...
    Runtime errors         DBIF_RSQL_INVALID_RSQL
    Exception              CX_SY_OPEN_SQL_DB
    Possible errors:
    o The maximum size of an SQL statement has been exceeded.
    o The statement contains too many input variables.
    o The space needed for the input data exceeds the available memory.

  • Reg blocking of batch on expiry date

    Dear all,
    What are the selections to be done in QA07 for blocking a batch on expiry date which is 3 days from today, we also have batch status active.
    Thanks in advance
    Madhav

    Hi
    In QA07 select
    1. Block batch at lot creation.
    2.Initial Run  in days : 3 or maore
    3.click on the check box of Block batch
    Also Mainatin shelf life data in MM and keep expiry date 3 days later.
    schedule the batch run in the background.
    I hope this will add some values
    Regards
    Sujit

  • 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

  • Reg mulitmapping using BPM

    HI Every one
    i have requirement like the below
    XI  gets three request from third party at a time (no time interval between the these requests) it should goes to SAP as single request.
    containg the 3req.
    after that we should get the response from SAP for that request . again this response i have to route into three messages at target end.
    Third party|--req1--
    >     
                     |--req2 - >   XIreq--
    >SAP
                     |--req3>       <resp-----                           
    can we do this with BPM or with out bpm ?
    please let me know

    Hi Katakoti,
    to be precise, you will need ccBPM (which is part of XI/PI). BPM is the workflow engine within CE.
    In ccBPM you can use the standard SAP patterns for collecting and sending messages from multiple senders/receivers.
    You can find these patterns under:
    SWCV:
    SAP Basis ==> SAP Basis <Version>
    Namespace:
    http://sap.com/xi/XI/System/Patterns
    further info about the patterns:
    http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/11/13283fd0ca8443e10000000a114084/content.htm
    best regards,
    Markus

Maybe you are looking for