BPM Looping

I Have a Synchronous BPM and for some reason it is LOOPING indefinitely.
1 )How should I find the Corresponding Work Item from SXMB_MONI?
2) How to stop the looping work item (I am executing the transaction /nSWWL  but unable to find the corresponding Workitem)
Please help me.
Thanks

HI Naveen
In sxmb_moni, you find your message, in this case, you have outbound as PE just double on pe engine it will take you to event queue browser,
there you will find option work item,
Just select the event and click it, you will get work item
Enjoy......
Here you will get work item details also so you can stop looping.
If this does not work then go for <u>sxmb_moni_bpe</u> trasaction
Cheers
Regards
Piyush

Similar Messages

  • BPM Loop in PI  7.1

    I have an scenerio where I need to traverse through an xml file , and for each node of XML I need to loop with certain operation in BPM .
    e.g  
    xml as per the XSD --> Loop through each node --> with in each loop BPM will call a different webservice to get a confirmation depending on which it will insert some data in db.
    Will it be possible through BPM loop or there is some other work around. Please help
    Edited by: Riju Adhikary on Sep 18, 2009 7:09 AM

    Post this in the XI forum.. THis is for NW BPM not CCBPM

  • Problem with BPM loop end condition

    Hi,
    I'm working with PI 7.1 in a BPM process which have a loop. I cant stop this loop in anyway, even, I have put a COUNTER != COUNTER as condition.
    Can someone help me with this issue?
    Regards,
    Alberto Pla.

    The BPM loops are while loop, so it will execute indefinitely if the condition given is true. The condition editor what we have in the BPM is not flexible. Can you just try the drag and drop facility available in the condition editor rather than writing on our own. it should look like this COUNTER!=COUNTER  without any spaces in between.

  • BPM: Loop condition not coming outside of the loop

    Hi Experts,
    I am working on BPM. In the loop I am giving the condition as
    (ForSyncResponse./p1:MT_Test_JDBC_Req_response/row_response/Row/indicator u2260 9)
    If indication not equal to the 9(Integer) then it should come out of the loop otherwise loop needs to be repeat( Iam getting this data from the database through Send Synch step). When ever iam sending data other than 9 then it repeating if I send 9 also even though the loop condition is not satisfying and its keep on repeating the loop. Can you please let me know what might be ther problem.
    Thanks & Regards,
    Purushotham

    Hi Prasadh,
             I am able to give thie "Create the following expression in the expression editor:
    /MT_Test_JDBC_Req_response/row_responseindicator != 9"  expression
               How can i give the second"(/MT_Test_JDBC_Req_response/row_responseindicator != 9 EX)" condition??
              I tried with giving the AND but it is not allowing me to enter the 9.
         Can you please let me know.
    Thanks & Regards,
    Purushotham

  • BPM Loop Condition ?

    We have a output xml in BPM as shown below :
    <?xml version="1.0" encoding="utf-8" ?>
    <Product>
    <ProductRecord>
      <ProductID schemeID="MaterialNumber" schemeAgencyID="MDM30_FILEADAPTER01" schemeAgencySchemeAgencyID="ZZZ">KRANTI_MAT1</ProductID>
      <ProductID schemeID="ProductGUID" schemeAgencyID="QM3_002" schemeAgencySchemeAgencyID="ZZZ">416452CBD0746B23E10000000A1553FC</ProductID>
      <ProductTypeCode>01</ProductTypeCode>
    <Category>
      <CategoryID schemeID="ProductCategoryGUID" schemeAgencyID="QM3_002" schemeAgencySchemeAgencyID="ZZZ">4162C19D0C250E78E10000000A1553FC</CategoryID>
      <CategoryID schemeID="StandardCategoryID" schemeAgencyID="MDM30_FILEADAPTER01" schemeAgencySchemeAgencyID="ZZZ">MATCLASS2_ROOT</CategoryID>
      </Category>
      </ProductRecord>
      </Product>
    The product id tag is 1..undbounded.
    We want a loop condition in BPM wherein as soon as  we get a line of ProductID with   schemeID="ProductGUID" then we want to exit the loop.
    Can anybody help us with the loop condition.
    Regards,
    Anurag

    Hi Prasadh,
             I am able to give thie "Create the following expression in the expression editor:
    /MT_Test_JDBC_Req_response/row_responseindicator != 9"  expression
               How can i give the second"(/MT_Test_JDBC_Req_response/row_responseindicator != 9 EX)" condition??
              I tried with giving the AND but it is not allowing me to enter the 9.
         Can you please let me know.
    Thanks & Regards,
    Purushotham

  • BPM Loop controlled by time

    I'm working in a scenario mapping n:1 message. In my case i need receive a number(100) of message until process mapping transformation will be executed. But i need too the loop that receive message and save in a multiline container break when one hour past. How can I control the loop with a timer? How can I use time or date functions to assign a value to a simple data?.
    Thanks a lot.

    Hi Carlos,
    Welcome to the SDN Forums!
    You can you possibly have a fork with two branches that needs at least one branch to complete. Have your loop to collect the messages in one branch and the Wait step in the other. Process should continue when one of them is complete - that is 100 messages are collected or 1 hour has elapsed. I had a very brief overview of BPM in XI and do not exactly remember how the start time for the wait step is determined.

  • BPM loop

    Dear All,
    My requirement is to get the PO details (Header in one table and Items in another table) and send it to R/3 for PO creation. Now I am doing it by taking one record from header and all it corresponding line items from item table.
    But if I need to select all header records from header and corresponding item records and process it in BPM such that only one header and all its item details are sent to R/3, how can I do it? Can you pls list the steps that would be required in the BPM?
    Thanks in Advance.
    Thanks & Regards,
    Jai Shankar.

    Hi,
    You can do with graphical mapping with UDF, but I think it would be bit complex. You can go for Java/ABAP or XSLT mapping.
    Eg: for XSLT mapping.
    [code]<?xml version='1.0'?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
    <xsl:template match="/">
    <xsl:variable name="msg2" select="//MT_Src2"/>
    <ns0:MT_Targ xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
    <xsl:for-each select="ns0:Messages/ns0:Message1/MT_Src1/Row">
    <Row>
    <PONum><xsl:value-of select="PONum"/></PONum>
    <ItemNum><xsl:value-of select="ItemNum"/></ItemNum>
    <Matno><xsl:value-of select="Material"/></MatNo>
    <xsl:variable name="empid" select="EmpID"/>
    <xsl:for-each select="$msg2/Row">
    <xsl:if test="EmpID = $PONum">
    <Vendor><xsl:value-of select="vendor"/></Vendor>
    </xsl:if>
    </xsl:for-each>
    </Row>
    </xsl:for-each>
    </ns0:MT_Targ>
    </xsl:template>
    </xsl:stylesheet>[/code]
    Here the assumed source and target as
    [code]<b>Src1</b>
    MT_Src1
    - Row
       - PONum
       - ItemNum
       - Material
    <b>Src2</b>
    MT_Src2
    - Row
       - PONum
       - vendor
    <b>Target</b>
    MT_Targ
    - Row
       - PONum
       - ItemNum
       - MatNo
       - Vendor[/code]
    Thanks,
    Prakash
    Message was edited by: Prakash Arunachalam

  • BPM finishes when reaching exception in loop block

    Hi everybody,
    we got a loop block in BMP. In the loop block we catch mapping errors by using an exception branch.
    What we can see is that when an exception is thrown the process steps into the exception branch an than is leaving the loop block!! So the remaining single messages are not processed!
    Is there a workaround?
    Regards Mario

    Hi Mario,
    Have you used the local correlation for block step.
    Can you please give steps you used in BPM, also try to see the below threads
    What is the use of block step in BPM? Please help!
    BPM ParforEach Loop
    BPM loop
    also,
    BPM Block step
    Using BPM (Blocks) when Incoming message has multilple rows
    Doubt in BPM
    BPM: Block Processing: ParForEach
    Regards
    Chilla

  • Why doesn't Logic recognize my loop as an Apple Loop

    I have challenges with getting LPX to recognize my wav > aiff file as a bona fide apple loop that I can then stretch tempos.
    I have a drum brushes loop that I exported in WIN7/Audition, saved as wav and moved over the my mac. Then I dragged it into LPX, found the correct exact tempo manually (60bpm) in order to make an Apple Loop. Couldn't do it with the wav so saved it as an aiff from within LPX. LPX sees the "tempo information" (not really) and then was able to drag into Apple Loops browser, still, didn't create the tempo meta data or whatever it does to allow me to stretch it. I drag the re-indexed loop on an audio track and it's juts the same 60 bpm loop. Changing my global tempo does not alter the tempo of the loop.
    Appreciate any help it getting another 10 bpm outta this thing for a project. Took forever to find a decent ballad drum with brushes!
    thanks

    OK that works insofar as it saves the file with no issues and I can drag into the track area (does say there is time data to import- "YES") but it doesn't change with global tempo changes.
    Also maybe there is a problem with the index? I deleted the other attempts from User Loops >SingleFiles folder but LPX still is searching for the file at every index.
    So two problems now:
    index still looks for older files
    ALU is saving but LPX not changing tempo of Apple Loop
    I read the manual re: file type.
    The File Type tag determines if an application treats a file as a looping or non-looping file. Looping files are matched to the project tempo and key— if the Key tag is set to a value other than None. Non-looping files are not matched to the project tempo or key. (Untagged files added to a project are treated as non-looping.)
    When I choose "Looping" in ALU, it changes the sound drastically which although would give tempo stretch, is probably ties to it thinking it's 120 bpm (and not 60)?
    Yet it was recorded at 60 bpm.
    The catch-22 is that the ALU can't recognize my tempo and if I change it (via choosing "looping", the only way to correct the beats btw) it messes with the sound because it's twice as fast.
    Otherwise, as a non-loop, I'm stuck with only 60 bpm (even though it has "time data" to import)

  • Adding User Loops

    I'd like to confirm the results an experiment I tried with adding loops that seems like a bug.
    I created a loop using the Apple Loop Utility and set the bpm and key. Then I imported the loop into GB. GB correctly interpreted the bpm and key when I changed the project key and tempo.
    I added this loop to the Apple Loop Library by dragging it to the Loop Browser. When I looked in the Loop Browser the bpm and key were incorrectly shown as the current project key.
    However, when I dragged the loop back into the project, the loop behaved as though it still had the bpm and key that I originally set in the Apple Loop Utility. So it looks to me like the info that shows up in the Loop Browser is getting incorrectly updated.
    Is there any other way to add user loops to the Apple Loop Library and have them show up in the loop browser. I tried dragging the loop directly to the Apple Loop Library, but it didn't appear in the Loop Browser.

    you can drag it directly
    into the Loop Browser and it will retain its original
    loop properties.
    Tangoloco,
    You have indirectly touched upon a weakness of the GB browser that I must continually work around. Since I am tonight in the process of implementing that work around I thought I would find this post and flesh it out.
    Once an "Apple Loop" is in the GB browser no matter what its original BPM and key are you can only hear it in the BPM and Key of the master track. This is convenient in most cases but in some cases it is very inconvenient.
    Inconvenient in the sense that one can only hear the loop in its original BPM and key by either matching GB's Tempos and Key to that loop OR you must use the Mac Finder to listen to the loop in its original condition.
    Often I like to hear the loop in its original BPM tempo and key. Often I will find one loop that inspires me to create a tune around that loop in its original BPM tempo. But if I am making a GB tune in 120 BPM and go thru the browser and see an 80 BPM loop I can ONLY hear it thru the browser in 120 BPM.
    I may even want to take that loop at its original 80 BPM and drop it into my 120 Track AT 80 BPM. So what I have to do is work around and find the loop in the Finder and then move it into the GB time line from outside the application. Kind of what your question is about in a way. Dropping a loop into GB so it can retain its original BPM and NOT be affected by whatever the tracks BPM is.
    If I could change one thing in GB it would be the browser ability to playback. I would love to see a browser that can play a loop in the current tracks BPM (like it does now) and also give me the option to hear it in its original BPM.
    Well back to music making.......

  • How to loop through single XML File and send multiple RFC calls?

    I am looking for the best approach to use for making multiple RFC calls (can be sequential) using a single XML file of data.  I have been attempting to get a BPM loop working, but to no avail.  My RFC only accepts a single set of delivery input and I have been told to try to work with it as is.
    input xml sample:
    <?xml version="1.0" encoding="UTF-8"?>
    <ProofOfDelivery>
       <POD>
          <delivery_number>1</delivery_number>
          <carrier_name>UPS</carrier_name>
       </POD>
       <POD>
          <delivery_number>2</delivery_number>
          <carrier_name>UPS</carrier_name>
       </POD>
    </ProofOfDelivery>
    I need to make a synchronous RFC call for each set of POD data.
    Thanks in advance!

    Thanks for the inputs.
    I tried with a BPM and multi-mapping transformation before a ForEach block.  I am getting this error:
    Work item 000000028028: Object FLOWITEM method EXECUTE cannot be executed
    Error during result processing of work item 000000028029
    com/sap/xi/tf/_ProofOfDeliveryMultiMapping_com.sap.aii.utilxi.misc.api.BaseRuntimeExceptionRuntim
    Error: Exception CX_MERGE_SPLIT occurred (program: CL_MERGE_SPLIT_SERVICE========CP, include: CL_
    Probably because I am not making/using the container objects properly.  Here is a screenshot of my BPM.  Can anyone spot my issue or point me to an example on this sort of container use?
    [http://kdwendel.brinkster.net/images/bpm.jpg|http://kdwendel.brinkster.net/images/bpm.jpg]
    Thanks

  • Flat file to RFC need help

    Hello , i have a flat file scenario : XML to RFC and response back to xml , in which case i have a more complex scenario.
    Instead of calling RFC multiple times i need to call RFC multiple times through a BPM loop through one xml with duplicated strcutures how is it possible please help me
    Krishna

    Hi ,
    Just More info-
    Actually if you do the occurence as 0-n then you will be having structure like this-
    <Messages>
         <Message1>
              <Source>
                   <Header> </Header> (1..1)
                   <Line> </Line> (1..1)
              </Source>
              <Source>
                   <Header> </Header> (1..1)
                   <Line> </Line> (1..1)
              </Source>
         </Message1>
         <Message1>
                   <Source>
                        <Header> </Header> (1..1)
                        <Line> </Line> (1..1)
                   </Source>
                   <Source>
                        <Header> </Header> (1..1)
                        <Line> </Line> (1..1)
                   </Source>
         </Message1>
    </Messages>     
    In this case you have multiple Message1 under Messages node. So now it is N number of messages under one tag.
    For your scenario, you can try like this-
    1) No need of changing any occurence anywhere.
    2) Use BPM -mentioned in my earlier reply
    I think it will work without 1:N or N:1 mapping Because in your case there is no multiple messages, but you have multiple occurences of each set. So I think you can easily handle with parForEach loop.
    For eg. on ParForEach -
    http://help.sap.com/saphelp_nw2004s/helpdata/en/27/db283fd0ca8443e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/27/db283fd0ca8443e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/27/db283fd0ca8443e10000000a114084/frameset.htm
    Also check in BPM Patterns for ParForEach.
    Regards,
    Moorthy
    Just check it

  • How effective splitting one file in to multiple in PI

    Hi Forum,
    Is it possible to split one file in to 20 or more using PI.
    If yes,how effective it is.

    Yes. And there are various ways for doing this.
    1. In the adapter engine while picking the flat file using option "Recordset per Message"
    2. Using multi-mapping message split.
    3. Using BPM loops.
    The effectiveness would depend upon the size of message and no of records it contain. e.g. if the size is small, say only 20 records, then splitting the message in 20 parts would not be a good option. But if the size is too large with say thousands of messages, then splitting would turn out to be effective.
    Regards,
    Prateek

  • Problem with Integration Process

    Hi all,
    I have a problem within a Integration Process.
    I created a loop with help of a local integer element.
    On the development system it was running without any issued. But on the productive machine the Integration process runs until he has to increase my local element by one.
    The system is raising the following error message. (Within the graphical BPM log / Process Engine)
    Expression ''1'{TYPE=SWFXST_INTEGER}' does not correspond to data type () of element
    In general I understand the error message. The Integer expression 1 (should increase variable by one) is the wrong
    data type.
    But I am not able to understand why it is running on the development system but not on the productive system.
    I already compared the main configuration settings for BPM between development and production but the settings are equal.
    Do you have any ideas about such a problem. Ideas about additional logs ...
    cheers,
    Stefan

    Hi,
    Your container operation is perfect. there is no iisue with assigning valuee to counter
    I am telling about the condition in Loop step
    in BPM loop step you need to provide a condition . its basically a while loop.
    i guess you are providing condition based on Counter element
    What are  you putting there as loop condition? Please check that one.

  • General beginner Q about sampling

    Hi Guys, I never usually sample, I mainly just record audio, so please forgive me if this question is a little basic. here goes....
    for eg. say you made a beat at 90 bpm you like... your trying to fit a sample over it (from a record say) and you dont know its tempo...but its alot slower maybe 70 bpm
    if you cut the samples from the record to start on beat (or at peak of wave) and then play them through your keyboard/pads in time with the original beat you made at 90bpm ..... Will it work??
    or do you need to stretch the sample from the record to match your beat that you made in the first place, before you slice it and assign it to pads in exs24?

    The technique you described about cutting up the 70 BPM loop, and playing the individual slices from the keyboard, at the new tempo, is a technique that has been around for quite some time.
    It is built in to Spectrasonics RMX, and other loop players. So yes, that will definitely "work"
    You could also simply try time stretching the loop as a whole, and see what results you get. This often works fine, using the right algorithm, and almost always works admirably, when stretching (or in this case, compressing) from a slower tempo to a faster one.
    On a side note... read the EXS manual about rex files. There is actually a procedure (although admittedly I haven't done this in years), where using Propellerheads REX software, you can create a REX file (an automatically sliced version of your loop), import that REX file into the EXS (this creates an EXS instrument with each slice assigned chromatically up the keyboard), and a MIDI file of that sliced loop appears right on Logics arrange page.

Maybe you are looking for