Check condition in Loop step in BPM

Hi All,
  Need urgent help... I have to specify the condition in loop in such away I need to receive and bundle IDOC1 till I get IDOC2.  Please let me know how to specify the condtion in loop.
Thank you in advance
Regards,
Dhill.

HI
See the below link
/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File
/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change - IDOC bundling
Also we have Collection of messages based on the message a pattern in SAP BASIS see the BpmPatternCollectMessage and check for correct IP config..
Regards
Chilla

Similar Messages

  • Checking condition in switch step of BPM

    hi all,
    i am doing an 1to1 transformation where: i am converting my source into a target. the target has
    header 1
    lineitem 1..unbouneded.
    lets say there are three line items:
    header1
    lineitem
    lineitem
    lineitem
    i am using a send step where i am sending this target msg to a switch step. in the switch step i am checking for a condition.i am checking for the occurence of a field in the line item. but when specifying in the condition editor, it allows only to choose from the root of the structure. how can i check the ocuurence of a particuler field for the lineitem alone??
    is there a way to to do it??
    Any help will be greatly appreciated.
    Thanks

    Hello,
    This is the condition i have currently given: but if i have 2 or more lineitems in the incoming msg does this condition also check for :
    MI_DOC./p1:SRC_ROOT.lineitem/itemfield2 EX
    MI_DOC./p1:SRC_ROOT.lineitem/itemfield3 EX
    etc...
    and in one of the line item the field may EX and some it does`nt. when it doesn`t i am cancelling the process, if the field EX then it is sent to further processing.so if i have 3 lineitems in which two of the line items the field EX and in the other one the field does the EX, are the msgs split accordingly??
    Message was edited by: Aarthi R

  • Checking Payload of WorkFlow Step in BPM

    Hello All,
                    I was trying the scenario MessageSplit Using BPM
    I am stuck at send Step after receiver determination ,I want to know what is the payload (input output)
    after each workflow step in the BPM ,but i am unable to check .
    Is there any way to check this. Basically i want to know how to check the i/o and o/p of the each workflow step.
    Thanks in Advance
    Rajesh

    Hello Experts,
                            Could somebody guide me in this scenario as i am not able to carry on
    I want to see the payload for BPM workFlow steps ,first of all is this possible ,if yes i am at step
    container (list technical details) where the option payload is display but no data is found .
    If no how can we check or monitor the BPM workflow step by step. I hope some body might have faced this problem ,could some BPM experts throw light on this.
    Thanks in Advance
    Rajesh

  • Where best to check conditions, main loop?

    Ok, with a little tinkering, I now have a nearly functional app.
    As I put pieces up on the board, I keep count. When I remove a piece from the board, I decrement my count, and the level is complete when the count reaches 0.
    So, where is the best place to do my check for 0 pieces left?
    I know for a fact the last piece is removed while in my 'move a piece' logic. The actual piece removal is down several levels into the code, which I need to unwind from to keep things clean. So, where is the main application loop, a point that I know will get called, once a cycle?
    I'm using a Utility Application template, in case that makes a difference.

    reststop wrote:
    Are you saying I should do the win code at the point where I detect all pieces are gone?
    Yes. That's the natural place. I think that's where most games would start whatever code needed to run after the zero count. If after a zero, you need to wait for something else to happen, then the code that handles the terminal event would be the natural place to start the win code. But if the zero is the end of the game, then end it.
    But remember, forum helpers can only give you general principles. I doubt many developers here are willing to grok all the details of your particular game in order to see if the general rule applies. That's your job. For example, Q told you that notifications are better than polling. That's totally true, and if that advice doesn't help you right now, sooner or later you'll want to remember it. But it's your job to see if the advice applies to your current project.
    All I can do is point out that I can't see why your win code shouldn't be started by the code that manages the counter. That doesn't mean my opinion applies to your project. It just means maybe stand back and try to see the forest instead of the trees. Ask yourself: "Hmm... This developer who has no clue how my game operates is telling me that I, who have lived with this puppy day and night for weeks, might be looking in the wrong place to do something... Why is that??" So check it out.
    Maybe what works for most games is simply inappropriate for yours. Or maybe it's impossible to do the natural thing anymore because the structure of your game has been twisted into a pretzel by newbie design decisions. That doesn't mean you need to tear your game apart and start over. It just means you'll do a better job next time because you now have some experience with the consequences of early, structural decisions.
    Anyway customers don't care if you write professional code, and they don't care if your app is MVC. They care whether they like the game. So maybe your code will never make it into a magazine, but you'll make a gazillion dollars and wind up employing all the programmers who used to criticize your code.
    \- Ray

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

  • Should the condition in the loop step

    Should the condition in the loop step in the integration process(BPM) be = or not= ?I need to do the following>>perform certain operation only when the container value is less than 3 Else then get out of the loop.
    Regards,
    Mansi

    The loop step in ccBPM implements a while loop.
    So, while count not = 3, it will be executed.
    Once the counter reachs 3, the loop will be terminated.
    Regards,
    Henrique.

  • Sync send step in a loop step

    Hi Gurus,
    I want to query a database and based on the return value I will proceed to the next step. For this I have a 'sync send' step where I am finding if the count(*) is 0 or greater than 0. If it is only '0' then only I will proceed to the next step.
    For this functionality I am using a loop step with in which I have this sync send step (querying the database). The control will come out of the loop only when the count is 0.
    But, I found that the response message container is not loading. That is the reason why the loop condition is always coming out as 'true'.
    I want to know if I can use the send step with in a loop in BPM.
    Please let me know your solutions.
    Thanks
    Kalyan

    Hi,
    see the counter variable , initial value is 0 ,then the loop always true.
    second thing is when you send the request for synchronously and the response message to receive step, is it correct,
    if so why do you want to maintain the loop, are more messages sending the messages in seqencially /syncrounously .
    I think you want to check the response interface value is it , check this correctly..
    See the below links for Sync Send .
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    Regards
    Chilla

  • BPM status is "IN Process" even after all the steps in BPM are completed

    Hi All,
    we have designed a BPM for collection of messages and have a transform step .
    In some cases all the steps in BPM get completed but the status of BPM is still in" In Process"  and in SWWL transaction the status is "Started".
    Even though the status is started we are able to get the desired output.
    Ideally after the steps in BPM get completed the status should be "Completed".
    please suggest why we are  getting this status and how can this be resolved.
    Thanks and Regards,
    Rajesh

    hi ,
    I am using a fork and loop with a condition to end this loop.the condition gets satsfied.
    The messages are coming out of the loop and fork but even then the status is in "InProcess"
    thanks,
    Rajesh

  • Problem with Switch Step in BPM

    Hi,
    I am using Switch Step in BPM, to check a condition. I created following condition (App_Resp./p1:App_Resp_MT/Response = true). The mentioned is correct and it should succeed but it is failing. Its going thru OTHERWISE branch. Can anybody help me to solve this out?
    Thanks,
    Yaseen.

    HI,
    I checked in the workflow the xml file generated contains value 'true'.
    Its not multiline and looks xpath reflects for the changes made.
    I think it may be problem that needs to deploy any OSS notes.
    Please throw some idea.
    Thanks,
    Yaseen.

  • Expression must return the interface type in Transformation Step in BPM

    hi,
    We are getting below while activating the IP,
    Expression must return the interface type SI_Send_AA
    Expression must return the interface type SI_Get_AA
    No semantic errors found
    We have a Transformation Step in BPM,
    In OM, Source is SI_Send_AA and Target is SI_Get_AA
    Also Container variable points to  the same Abstract SI's.
    Few Thread's for Same are error are:
    Error in  BPM
    expression must return the interface type
    Transformation step in ccBPM scenario
    Error while compiling Business Process
    Even after checking these i am getting this Exception.
    Please Help!
    Thanks,
    Mayank

    Also Container variable points to the same Abstract SI's
    Are you sure that you are using Abstract Message Interfaces only and that these are referring to relevant container variables.
    Normally it happens that there is some mis-match between the message types/ interfaces that we use in the mapping and that we use in the BPM.
    If still not solved, then delete the Transformation step --> save --> activate......then again Edit the BPM to include the Transformation Step.
    Regards,
    Abhishek.

  • Multiple source messages in transformation step in bpm

    Hello,
    I am using a transformation step in bpm, I have two source messages and 1 target message, I got an error 'expression must return the interface type XXXX(in source message)', I checked my source message in interface mapping and the container element, the types do match.
    All the interfaces in the OM as well as in the bpm container definition are of type abstract.
    It seems to have something to do with the interfaces belonging to different software components?
    I declared a usage dependency from one swcv (holding the bpm) to another (holding the abstract interfaces which cause the error in the transformation step), so that I can reference them in the bpm.
    I thought it might have something to do on how  the message interfaces are selected in the operation mapping. so I tried to select the messages through the depencency path, but that was of no help either.
    Have I been clear?
    Any ideas?
    Thanks
    Matthias

    Since no receiver information is available in the transformation step, there can be no value mapping within the transformation  step. If the messages to be transformed give values in different formats, for example different date formats, you must first normalize the values before the messages can be processed in the process. To do so, define a message mapping with a corresponding value mapping.
    Check the help page below for reference
    http://help.sap.com/saphelp_nwpi71/helpdata/en/27/db283fd0ca8443e10000000a114084/content.htm

  • Regarding send step in bpm--"send context"

    i want to use the send step in my bpm with send context.
    The send context is a freely definable string, which you specify in the send step. You query the send context in a condition in the receiver determination in the Integration Directory. You must specify the send context to be able to send messages from the same message interfaces to different receivers in different send steps.
    but i did n't understand regarding the explanation given above.
    could u plz help me out

    Hi
    When you use Receiver determination step in BPM to get a list of receivers for a send step.
    You need to define send context to send messages from the same interface to different receivers in different send steps. As list of receivers is collected using receiver determination.
    Now you can use this to set condition(send context) based receiver in ID Receiver determination.
    Thanks
    Gaurav

  • Receiver Determination with Synchrnous Send step in BPM

    Hi,
       Is there any way to use BPM Receiver Determination step type with Synchronous send step ?
    Is it possible to send a request to multiple receivers synchronously and capture the response?
    Appreciate for your response.
    Thanks,
    Rao.Mallikarjuna

    Use malticasting, check out these blogs
    Multicasting using Receiver Determination Step in BPM
    and pattern number 6 in BPM with Patterns explained Part-2
    Thanks!

  • Receiver determination step in BPM

    Hi, I have open a topic about BLOCK in BPM, as this link
    Re: question on BLOCK in BPM
    I descript the symptom in it, you can have a look.
    But now I find that the problem is due to receiver determination step in BPM, not block.
    So I think I'd better post it as a new topic.
    Are there anyone familiar with the receiver determination step in BPM, or know how to correctly use receiver determination step in BPM. Specially the 'send context', how to set it and how to combine it in Integration Directory.
    Thanks a lot

    You use the send context to specify a condition in your recevier determination. If your BPM flow sends the same message type in different send steps to different destinations you can specify some unique text like "R3" or "LEGACY" in the send context of your send step. Then in the receiver determination you can specify a condition that says Process Step = "R3" send to R3 "Process Step="LEGACY" send to legacy system.
    Hope that helps.
    Regards,
    Jitendra

  • User Decision Step in BPM - PI 7.1

    Hi All,
    I have posted a wiki for User Decision step in BPM in PI 7.1, Please go through it and post your queries, suggestions and comments here.
    The link for same is under:
    Part1 - https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/userDecisionstepinSAPPI7.1-Part+I
    Part2 - https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/userDecisionstepinSAPPI7.1-Part+II
    Regards,
    Sachin

    Hi Sachin,
    Nice job,
    During my practice on this scenario. I have got an error please kindly guide me on this, may this error also clear for the others
    *I got an error on SXI_MONITOR as:*
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="BPE_ADAPTER">UNKNOWN_MESSAGE</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>No object type found for the message. Check that the corresponding process is activated</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    The trace of the error as:
    <Trace level="1" type="B" name="CL_XMS_PLSRV_CALL_BPE-ENTER_PLSRV">
      <Trace level="1" type="T">could not create BPE proxy for message, no XML object definition found for message 72485F6BFC78416A29EEE3EE10D09BCE</Trace>
      </Trace>
      </Trace>
      <Trace level="1" type="System_Error">Error exception return from pipeline processing!</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    Please kindly guide me on this, Is the message has to validate at sender agreement? if not where is the error I am doing?

Maybe you are looking for

  • How to access file from AIX server to windows

    HI all, My question is how to represent file folder name of that server my file folder in AIX server and i want to access that file in window s machine. * is this the right way to represent the data folder in physical schema declaration file:///<aix

  • Dv4-1275mx Replaced Hard Drive Windows Vista System Recovery Failure

    I have a HP dv4 1275mx laptop and I just replaced the hard drive.  I got the Vista 64-bit hp system recovery discs from HP but the recovery has failed 4 times.  The hard drive is brand new and has more space than the old one.  It's a Western Digital

  • Supported Canon scanners in Windows 7 64 bit

    I realise that the Canon N670U scanner is not supported by Canon, but according to the Canon Website, the LiDe 20 scanner is. Up until now, both scanners used the same driver, so it seems strange that one is supported and the other is not. However, t

  • Automatic Payments - one payment to multiple vendors

    Hello experts, I have searched through the SDN but didn´t find a solution. I have a requirement to create a single payment (Financial document) to multiple vendors when using automatic payments (F110). For example, creating a document like the one be

  • Delete from inline view

    Hello members, No sorry, this is not about key preservation. Instead, I have two tables T1 and T2. I want to delete rows from T1 where primary key is also in T2. I thought that if I select only from T1 then I would delete from T1. But as it turns out