Query on loop in Integration process

what condition do we give in loop. is it end condition or looping condition?

Hi,
Loop is used in BPM when you want to execute series of step repeatedly, you apply loop between those step that you want to repeat so you never give looping condition but an end condition and looping stops when end condition is met.
You define condition using condition editor and formulate logical condition by  linking 2 operand with an operator(like equal, not equal, exists).
For more details on condition go through this page
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm</a>
Thanks,
Anu
Rewars points if helpful

Similar Messages

  • Query on Integration process

    I want to know the functions of each steps we using while creating an Integration Process in IR.

    Hi Shankar,
    These are the step type in IP
    Receive Stepn -
    To receive the outbound message
    Send Step -
    > To send a message.
    Receiver Determination Step -
    > It determines the receiver of the message.
    Transformation Step -
    > The mappin is done using this step.
    Switch -
    > It is a conditional statement where only one branch gets executed.
    Block -
    > It holds a set of steps inside it.
    Fork -
    > All the branches of the forx are executed in parallel.
    Loop -
    > It loops thru the steps defined in it.
    Container Operation
    Control step
    Wait Step -
    > Waits for an defined unit of time/message.
    Undefined Step
    In addition also have a look at this blog <a href="/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm Through With BPM</a> by Krishna Moorthy
    Regards
    San
    <a href="Remember to set the thread to solved when you have received a solution to set the thread to solved when you have received a solution</a>
    <a href="/people/daniel.graversen/blog/2006/09/07/using-a-bpm-to-collect-messages-for-a-set-interval-of-time a BPM to collect messages for a set interval of time</a> by Daniel Graversen
    Where There is a <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/weblogs?blog=/weblogs/topic/16">blog</a> there is a Way.

  • BPM Integration Process that correlates 2 messages.

    I have an BPM Integration Process defined that collects Deliveries for an Order number and when an Invoice arrives for the same Order number it merges the messages to produce another file that is for a 3rd party.
    I correctly receive in the Delivery and the Invoice u2013 I can see them in SXMB_MONI with a checkered flag and they are directed to my BPM.  I can see this also in SXMB_MONI_BPE.  I can also see the correlation correctly found in both messages.  No error is reported by either SXBM.. transaction.
    However it does nothing except receive the files u2013 I am expecting a transformation and then the send step to execute.
    Start >  CollectIDOCBlock  > Collect Fork
    Fork1
    Infinite Loop for Receive Delivery (Start process) and Collect in Container. It uses and activates Correlation OrderNum
    Fork2
    Receive Invoice uses Correlation OrderNum (it does not activate the correlation)
    At the end of the Fork (when Delivery collected and an Invoice is received)
    It will then do the Transformation and Send Step.
    <End
    I have tried various combinations of the correlations and which receive step starts the process.  Any ideas ?

    Yes that did work.  Now does somebody know what exactly the FORK parameter number of branches does ?
    The SAPHelp is here
    http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm
    +You can specify the required number of branches and then define whether the process must run through all branches, or just a particular number of branches+
    But it does not explain why you need to have 1 as necessary branches rather than 2.  There are 2 branches in the FORK - so why does having 1 as the parameter work and not 2.
    In this SAPHelp for Message-Dependent Loop
    http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm
    it indicates to me that the parameter should be 2.
    BUT the SAP pattern (BpmPatternCollectMessage) I have used as a base for mine has this as 1 and not 2.
    Why is 1 the correct value and not 2 ??

  • Integration Process Receiver Determination Step

    Hi experts,
    May I know whether the "Receiver Determination Step" (in  Integration Process) that collects the list of receivers configured, can be used only to find list of asynchronous receivers?
    Can't we use this "Receiver Determination Step" in synchronous scenario? If yes, may i know how to?
    Thank you!
    Best Regards,
    Saravanan

    Thank you Gaurav!
    I can understand we can use multi-casting.
    To clearly put my scenario, I have to use synchronous send (so cannot split send and receive step, and so no need of correlation) in my BPM, which have to synchronously send (and so it receives within same step) message to multiple receivers. This is the reason I am trying to use receiver determination step first and in a loop trying to synchronously send message to each receiver and receiving response.
    Now my problem is in the receiver determination step, it is not identifying any of the receivers configured in the integration directory. The receiver determination list returns empty.
    So, I want to know whether this receiver determination step is only for async receivers or synchronous receivers also.
    Best Regards,
    Saravanan N

  • Changes to Integration Process not reflected at runtime.

    I have changed an Integration Process (eg removed a loop) and then activated this in IR and ensured that RunTime Cache is refreshed - I even forced another Run Time Cache refresh via SXI_CACHE.
    however the Process is still running under the old version  (I can see this from SXMB_MONI_BPE and drilling down into the workflow graphic).
    How do I get XI to run the next time with the new version of my process ?

    I think you will get an answer sooner when you post in the XI forum which you can find[here.|Process Integration (PI) & SOA Middleware;
    Regards,
    Martin
    Edited by: Martin Nooteboom on Apr 18, 2008 1:20 PM

  • Block in Integration Process produce error

    Hi,
    there is a strange problem with an Integration Process.
    I have a loop for collecting messages.
    If I paste a new Block in the process after the loop there is no problem,
    but if I put the loop inside the Block the process ends with an error
    right after collecting the first message.
    Somebody has an idea?
    Thanks and regards
    Patrick

    Hi,
    guess i have exactly the problem like in this thread:
    BPM error
    Problem is solved now with using a new SPS (14 for NW04s).
    Regards
    Patrick
    Edited by: Patrick Koehnen on Apr 8, 2008 2:37 PM

  • BPM x Integration Process

    Heya guys,
    longe time no see.
    I'd like to start a conversation on the following subject: how do you understand the difference between business processes and XI's integration processes. This idea was inspired by the recurrent confusion that some clients and some managers make about those (or maybe I'm the confused one).
    In my view, integration processes are such that they shouldn't require any human intervention, and are designed with respect to systems (systems which XI access or systems that access XI). They are important mostly for the IT techs responsible for the systems integration.
    On the other hand, business processes may have human intervention (aprovals, data filling etc) and are designed with respect to the key user whose action will be required in that specific step of the process. They are important for the end users which use the process in a daily basis and also for the managers and directors for analyzing purposes.
    The problems begin when the users want to understand the integration process as if it was a business process. Want to check in which specific step it is at this moment (as if in Guided Procedures or Solution Manager). In my opinion integration processes shouldn't be trackable like business processes simply because it is not what they are intended for. They are similar tools for completely different applications.
    I think SAP has kinda understood that since they are changing XI process naming to integration process instead of BPM. IP is not a BPM, and it shouldn't be.
    Any comments?
    Regards,
    Henrique.

    I completely agree with you Henrique. BPM deals with the integrating people also where as the integration processes doesn't. But in XI, the integration process concept is linked with BPM which is very much confusing.
    Actually most of the things we do in the integration process in XI like, fork,loop, switch etc can be done without using any BPM in webMethods, TIBCO.
    May be in future SAP will come up with more appropriate conventions so that people will not be get confused what exactly is integration process and BPM.

  • Error handling  in the integration process

    hello  all,
    here  i have a situation in which ,  i have  to  do  some work in the  integration process step of the integration repository, i am given a txt  file which  has a 100  records  each  is  a employee detail, the last  record  has  the summary  total ,  that  is last row  contains  the sum  of  a particular  column.
    now  i am  supposed  to do  somthing  in  integration  process, so  that my  program  should  add all the  values  of  the  specific field , of  all employees and  check it  with given  sum, if  it  tallies, we  have  to  go ahead,  or else  send  back a mail saying  there  is  error  input, 
    any  help  will be  greatly  appreciated.
    thank you

    Hi kutumba,
    in the container of the BPM you crate a element of type integer.
    As I told you in your other thread you need a multine-container element taht is looped in a BLOCK.
    In this BLOCK increment your counter-element. After the Block define a condition for sending/not sending.
    Also refer to you SAP-BASIS SWV! There are helpful samples!
    Regards Mario

  • IDoc creation in Integration Process ...

    Hello guys,
    I have a question for you. Is it possible to create Integration Process with one loop that will generate and send one specific IDoc every 5 minutes. I've created new process and I put new loop between Start and Stop marks. The loop has condition "true = true" and it contains a Wait (waiting interval is 5 minutes) and Send step. How could I configure parameters of the Send step? I want the Send step to create new IDoc (IDoc type will be still same and its content also) and send it to a receiver (receiver will be also still same). Where can I specify the IDoc type and IDoc's content?
    Regards,
    Zbynek

    Hi,
        You can check the Idoc status using the transactions WE02 OR WE05.
    When the Inbound Idoc is created then the status will be 64(IDoc ready to be transferred to application) then after you process the Idoc then the status will change to 53(Application document posted).
    Thanks,
    Srinivas

  • Receiver From Field of Send Step of Integration Process

    Could somebody please explain how this works? I cannot get receiver determination to work for a synchronous send of an Integration Process, and I think this is the problem.
    Documentation states the following:
    Calling a Receiver Determination Defined in the Integration Directory
           1.      In the Receiver From field of the properties area of the send step, select Send Context.
           2.      In the Send Context field, specify a character string for the send context.
    You can choose the character string yourself. You must specify the send context to be able to send messages from the same message interfaces to different receivers in different send steps.
           3.      Query the send context in a corresponding condition in the receiver determination in the Integration Directory.
    I just don't get this; if I choose the character string myself, how do I use it in step 3? I cannot see any way to query the send context in a condition. Is the Send Context the name of the receiver?
    If somebody can walk me through this step I would be very greatful!
    Kind Regards,
    Tony.

    Tony,
    An example
    Integration Repository
    I have a synchronous send step with the Send Context set to ABCDE
    Integration Directory
    In the Receiver Determination, Configured Receivers, enter the Condition Editor
    Select Left Operand and enter the Expression Editor
    Select the radio button for Context Object
    Use the dropdown to select ProcessStep
    Select OK
    Select Right Operand and enter your value, eg ABCDE
    Runtime
    When I run my scenario an entry can be seen in SXMB_MONI corresponding to my send step.  In my case it is displayed in the top Window
    - <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL">
    - <Trace level="1" type="B" name="CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV">
      <Trace level="2" type="T">......old attachment XI_Context found</Trace>
      <Trace level="3" type="T">Append context with name =ProcessStep and value =ABCDE</Trace>
    You can see here that the ProcessStep has the value ABCDE
    Hope this helps

  • Integration Process Doubts

    Hello everyone,
    I have the next scenario requirement:
    Informix -> XI -> R/3
    but the answer from the R/3 BAPI has to be evaluated to send an email in case of error and to update some rows in Informix database, the query in the sender jdbc is a JOIN from several tables, so my doubt is as follows, I could obtain 'n' rows from Informix in the same structure, but they need to be processed in R/3 in pairs, one field is the difference in this pair some 210 and 212 values, so I need to send to the ABAP Server Proxy two rows one with 210 and one with 212, how can I divide this rows in XI in my Integration Process????, or is there a way to configure the sender communication channel to restrict the query for two rows so every message taken via JDBC are going to be the exactly quantity of rows I need in this case two, thanks in advance for your answers.
    Regards,
    Julio Cesar

    >> how can I divide this rows in XI in my Integration Process????,
    I m not really sure about your actual scenario but if you are looking to club together values based upon some key,you can easily do that in message mapping by using formatByExample standard function.
    Please have a look at the below blog to see its functionality.
    New functions in the Graphical Mapping Tool XI 3.0 SP13

  • Integration Process - Exception Handling

    Hi,
    I have developed an integration process, which call web-service, and catch it's exception. The problem is that the WS returns generic exception (SYSTEM) for all exceptions, but with different text for each one.
    Is there any way to get the exception text (the text itself and not the type), analyze it and handle the process correspondingly?

    Hi Shai,
    When you are calling the web-service method in BPM, put it in a block.....in the exception branch of the block, the control will go when the web-service will give exception.........so then put a switch in the exception branch - put the exception message as a condition for switching - do switching on basis of message text - and in the switch branches, do what you want to do for those exceptions.
    Hope it solves your query.
    Thanks,
    Rajeev Gupta

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

  • Can one start Integration Process on it's own?

    Hi,
    we have requirement where Integration Process should make RFC call to R/3 system. And the return from RFC is then processed further in Integration Process. Actually there is infinite loop & wait steps in IP, within this infinite loop, we want to call this particular RFC (which has some business logic in it) and this RFC will send some data from R/3 and based on return we want to process further. How can we start Integration Process, which has send as first step (rather then recv).
    We want to automate this process rather than to initiate within R/3?
    Thanks.

    Hey
    We can not have Send as the first step in IP.You need to have a Receive step as the first step in any IP.
    also to answer your question,you can not run IP individually,it needs to receive data from some source system.
    Thanks
    Aamir

  • Integration Process and Action

    Hi everyone,
    Can some one explain about why do we need to create Action and Integration Process in ESR and use this Integration Process in Configuration Scenario.what's the use of creating this?

    Hi ,
    Sorry I misunderstood your query.
    Go through below link for apt answer.
    Action objects in ESR | SCN
    Are the action objects are really required to be created
    No
    Are there specific advantages of using action objects and Process integration scenario objects
    This approach is more model based approach wherein you model the process flow and then go for implementing the actual scenario. Technically you won't find any difference in scenario execution.
    Regards
    Venkat

Maybe you are looking for