Time Dependent Collect Pattern BPM

Hi,
I need to collect messages during certain time interval using BPM in my scenario. I have used the exactly same pattern as given in SAP BASIS 7.0 SWC under namespace http://sap.com/xi/XI/System/Patterns with name  BpmPatternCollectTime.
The problem I am facing is, when I execute the scenario, the loop does not end and the TimeOut exception is never thrown so the process never reaches to transformation step. I just cant understand what can be the reason. Please help.

Hi Bhargav,
Check my suggestion in this [thread|Problem with timeout exception on a block step;.
Hope it would be helpful.
Regards,
Sunil Chandra
Edited by: sunil chandra on Oct 22, 2009 12:35 PM

Similar Messages

  • Collect pattern in BPM

    Hi All,
    1) On which field I should use correlation in order to post POs into R/3 using Collect Pattern procedure in BPM?
    2)What is the advantage of using Collect Pattern in BPM?

    Hi Krishna,
    Pls give complete scenario, so that exacltly we can help how to use.
    Just for information on collect pattern
    BPM CollectPattern..
    http://help.sap.com/saphelp_nw2004s/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm
    Thanks,
    venu

  • BPM Collect Message dependent AND time dependent

    Hi
    I have a IDOC to file scenario where I have to collect all the IDOC until I receive a stop IDOC.
    Once the End collect IDOC is received I have to do a n:1 transformation and write the file to the FTP.
    The problem is, at times the IDOC which is suppose to end the collect loop gets stuck in ECC R3 system.
    So Im wondering If I can do something like say, we have two options inside BPM both time dependent and message dependent.
    In this case which ever comes first (the Stop/END IDOC or the Time say 3 mins) will end the collect process.
    Can anyone pls suggest will it work and if so what are the additional steps I have to introduce in the BPM.
    Pls advice.
    Right Now these are the steps in the BPM Collect Message dependent.
    1. Block (I have used correlation)
    2. Fork inside the block
    3. Fork branch one has a look with end condition as 1=1; then a receive step and a container operation inside the loop.
    4. Fork branch two receives the end collect idoc.
    5. Transform step outside the block.
    6. Send step.
    Thanks
    Prasanna

    Hi Abhishek/ Raj
    Thanks!!
    I have done the changes let me confirm after testing it once. In the mean time I have one more question regarding the same BPM, as I have mentioned in the first post, the BPM contains the 6 steps mentioned but the the 6th step is inside another block (Block2).
    The steps 1 to 4 are inside Block1.
    The step 5 ie the transformation step (n:1) is in between the Blocks ie not inside any block (hope im not confusing).
    The second block is for sending the file to the FTP and based on the acknowledgement (transport level) I have to send an email.
    So Block2 already contains a deadline branch, it is to wait for the positive acknowledgement for say 3 mins and send the error email if incase we dont get positive ack within the time limit.
    My doubt is,
    1. Is it the only way (having two block and two wait steps) to achieve this.
        (one block for collecting and one block for ack)
    2. Is there any way I can have a single Block in the BPM insted of two. If so what are the steps.
        Having single block, Will improve anything??
    Thanks
    Prasanna

  • BPM Collect Pattern Scenario :Container is empty for the loop at run time

    Hi Friends,
    I am working on BPM Collect Pattern Scenario after looking into the example delivered by SAP in namespace http://sap.com/xi/XI/System/Patterns and IP name as BpmPatternCollectPayload.
    After configuring the same and when it is run, I see strange behaviour as illustrated below
    1. Container step is empty and not able to see the counter for which it needs to be incremented at runtime
    2. I understand that Loop should start and it need to be incremented as when we get a new message into the same BPM.
    But I observe that it is creating a new message and loop never stops and completes the condition and comes out to go to next step.
    Request your help.
    Regards,
    Hussain

    Hi,
    define or declare a variable with name counter and type as integer in Container where you define abstarct variables...
    Thanks,
    Madhu

  • BPM Collect Pattern: N:1 Mapping error in trnsformation step

    Dear All,
    I am using collect pattern Payload Dependant.
    I have one source data type and one target data type. Mapping is one to one.
    Data type contains 3 fields, Value Name and Surname.
    In Loop I have used condition when Counter is equal to value stop the loop.
    I have used Transformation step as I am using N:1 mapping.
    I have used abastrct to abastract message mapping.
    Source message is 0 to unbounded.
    In interface mapping target message occourance is 1. But in mapping program target message occourance is 0 to unbounded.
    When I am running my scenario, Third party to IP is working fine. But in IP i am getting error in transformation step.
    "com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:Messages/ns0:Message1/ns1:Collect_Receiver_MT. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at com.sap.aii.mappingtool.tf3.AMappingProgram.start"
    Can anybody will help me to solve this problem?
    Warm Regards,
    Gouri

    Have a look
    http://help.sap.com/saphelp_nw04/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cb/15163ff8519a06e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    /people/kannan.kailas/blog/2005/12/07/posting-multiple-idocs-with-acknowledgement
    Also have a look at these seminars,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/daea5871-0701-0010-12aa-c3a0c6d54e02
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/e8515171-0701-0010-be98-e37bec4706cc
    Thanks

  • BPM Collect Pattern.

    Hi Experts !
    I am trying to implement this scenario.
    Source File Adapter -
    Message - Vendor # - Material # [Only one material ]
    Pattern : Collect Pattern
    Key for Correlation - Vendor #
    Message collection in Loop for a counter of 3 Messages.
    Target file on Directory to be created using file adapter should be of this structure:
    <Header> 1.1
    vendor
    <Header/>
    <Items> 1..Unbounded
    <Material>Matl1 <Material/>
      <Material>Matl2<Material>
      <Material>Matl3<Material/>
    <Items/>
    When collect messages into a multiline container it will be based on source message.  The multiline container will be looking like this:
    vendor# Material#
    vendor# Material#
    vendor# Material#
    after all the three records are collected.
    What mapping from this point is required to get the output explaine above.
    Please mention whether it is a step outside BPM or inside BPM.
    When system encounters a multiline container does it process each message at a time or is the mapping applied to all the messages at a time.
    Thanks in advance..

    Thanks for sharing your views.
    As I mentioned I will stop collection based on a counter.
    Coming to my question again..
    N : 1 Mapping..
    Can you elaborate on N:1 mapping you are suggesting.
    Here is what I did ..
    One Msg...   -
    >         Multine Line                           Mapping
    abs                          similar to One msg          source                target
                                                                        multiline abs        target_abs..
    Message Mapping details...this is what i use in Intf.Map..aplied above.
      vendorx         -
    > VendorX
      material1 1.1 -
    > Material [1..n]
    where the output I get is only the last item processed...
    If I pass                                       Output
      Vendor1 - Matl1                       Vendor - Matl3....
      Vendor1 - Matl2
      Vendor1 - Matl3
    Where am I going wrong...
    thanks.

  • Interface Mappings in BPM Collect Pattern

    Hello
    I am new to XI development and currently facing problems while implementing collect pattern of BPM.
    I am trying to map IDoc structure with target legacy format.In BPM I had a block with infinite loop where I am transforming IDocs to target legacy format.Then I am trying to transform list element (Multiline Abstract container variable) to form a single message.For this I tried to have interface map with Occurences 0..unbound..but while activation of Interface Map it gives error
    <b> Mapping program Message does not match the interface mapping. The number or frequencies of source or target messages for the message mapping are not identical to the number or frequencies of source or target interfaces.</b>
    If I use single line in Interface map then in BPM it gives error when passed Multiline element to this Interface map.
    I checked the sample program provided by SAP but I found out that every message interface was using same Message Type which has got occurence as 1 but in the message mapping program its 0..unbound.
    My question is can we have data type (or Message type )with Occurence as 1 and Message Mapping program using same message type with occurences 0..unbound..I tried to find such option but could'nt find that.Otherwise how to do Interface Map for transforming Multiline parameter of BPM to a single message.
    Please help..Thanks in advance..
    Regards
    Rajeev Patkie

    Initially I tried to perform test by tree view and it worked fine.But it was one message in the source and the same was in target.Later as given by you I updated XML source message.The source message looks like
    ******************Source Message***********************
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
      <ns0:Message1>
        <ns1:MATMAS_to_Stockware_MT xmlns:ns1="http://mccormick.com/ez_dev">
          <MAT_List>
            <ZPITNO>121212</ZPITNO>
            <ZPIDS>Test Message</ZPIDS>
            <ZPPOPN />
            <ZPCNQT />
            <ZPZLOC />
            <ZPZPCB />
            <ZPZCPA />
            <ZPGRWE />
            <ZPSAEL />
            <ZSPLDY />
            <ZPFRAG />
            <ZPZCRO />
            <ZPZOPT />
          </MAT_List>
        </ns1:MATMAS_to_Stockware_MT>
      </ns0:Message1>
    </ns0:Messages>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
      <ns0:Message2>
        <ns1:MATMAS_to_Stockware_MT xmlns:ns1="http://mccormick.com/ez_dev">
          <MAT_List>
            <ZPITNO>78912</ZPITNO>
            <ZPIDS>Test Message12</ZPIDS>
            <ZPPOPN />
            <ZPCNQT />
            <ZPZLOC />
            <ZPZPCB />
            <ZPZCPA />
            <ZPGRWE />
            <ZPSAEL />
            <ZSPLDY />
            <ZPFRAG />
            <ZPZCRO />
            <ZPZOPT />
          </MAT_List>
        </ns1:MATMAS_to_Stockware_MT>
      </ns0:Message2>
    </ns0:Messages>
    ************************End Source*********************
    if this would be the message multiline is generating its bound to fail as I guess every XML has one topmost element and over here.So I changed my source XML to look like
    ******************Start message******************
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
      <ns0:Message1>
        <ns1:MATMAS_to_Stockware_MT xmlns:ns1="http://mccormick.com/ez_dev">
          <MAT_List>
            <ZPITNO>121212</ZPITNO>
            <ZPIDS>Test Message</ZPIDS>
            <ZPPOPN />
            <ZPCNQT />
            <ZPZLOC />
            <ZPZPCB />
            <ZPZCPA />
            <ZPGRWE />
            <ZPSAEL />
            <ZSPLDY />
            <ZPFRAG />
            <ZPZCRO />
            <ZPZOPT />
          </MAT_List>
        </ns1:MATMAS_to_Stockware_MT>
      </ns0:Message1>
      <ns0:Message2>
        <ns1:MATMAS_to_Stockware_MT xmlns:ns1="http://mccormick.com/ez_dev">
          <MAT_List>
            <ZPITNO>78912</ZPITNO>
            <ZPIDS>Test Message12</ZPIDS>
            <ZPPOPN />
            <ZPCNQT />
            <ZPZLOC />
            <ZPZPCB />
            <ZPZCPA />
            <ZPGRWE />
            <ZPSAEL />
            <ZSPLDY />
            <ZPFRAG />
            <ZPZCRO />
            <ZPZOPT />
          </MAT_List>
        </ns1:MATMAS_to_Stockware_MT>
      </ns0:Message2>
    </ns0:Messages>
    **********************End Message****************
    but this produces only one output message
    ******************Start Message***********************
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
      <ns0:Message1>
        <ns1:MATMAS_to_Stockware_List xmlns:ns1="http://mccormick.com/ez_dev">
          <MAT_List>
            <ZPITNO>121212</ZPITNO>
            <ZPIDS>Test Message</ZPIDS>
            <ZPPOPN />
            <ZPCNQT />
            <ZPZLOC />
            <ZPZPCB />
            <ZPZCPA />
            <ZPGRWE />
            <ZPSAEL />
            <ZSPLDY />
            <ZPFRAG />
            <ZPZCRO />
            <ZPZOPT />
          </MAT_List>
        </ns1:MATMAS_to_Stockware_List>
      </ns0:Message1>
    </ns0:Messages>
    **********************End Message****************
    I am also pasting schema of message mappings
    *****************Source Schema************************
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema targetNamespace="http://sap.com/xi/XI/SplitAndMerge" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://sap.com/xi/XI/SplitAndMerge">
      <xsd:import namespace="http://mccormick.com/ez_dev" />
      <xsd:element name="Messages" xmlns:p0="http://mccormick.com/ez_dev">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name="Message1" form="qualified">
              <xsd:complexType>
                <xsd:sequence>
                  <xsd:element ref="p0:MATMAS_to_Stockware_MT" minOccurs="0" maxOccurs="unbounded" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
                </xsd:sequence>
              </xsd:complexType>
            </xsd:element>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
    </xsd:schema>
    ********************End Source***********************
    ********************Target Schema******************
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema targetNamespace="http://sap.com/xi/XI/SplitAndMerge" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://sap.com/xi/XI/SplitAndMerge">
      <xsd:import namespace="http://mccormick.com/ez_dev" />
      <xsd:element name="Messages" xmlns:p0="http://mccormick.com/ez_dev">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name="Message1" form="qualified">
              <xsd:complexType>
                <xsd:sequence>
                  <xsd:element ref="p0:MATMAS_to_Stockware_List" />
                </xsd:sequence>
              </xsd:complexType>
            </xsd:element>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
    </xsd:schema>
    ****************************End Target*************
    Thanks in advance.
    Regards
    Rajeev

  • BPM Collect Pattern:File to IDoc

    Hi,
    My scenario is File to Idoc. An invoice excel file will be sent by the vendor.The excel has a built in macro, which converts the excel to a csv file and file is placed in a file share server.
    *Logic of Macro: *
    There will be a button in the excel file containing macro. In one excel file there would be multiple invoices that contains different number of item lines, The macro checks the u2018Invoice Numberu2019, lines with the same invoice number will be saved in one CSV file. So for example a excel file contains 5 invoices, when press the button that contains the macro, there will be 5 CSV files created under the same path, each CSV file contains one invoiceu2019s information.
      After this I have to post the Inovices in to SAP using an IDoc.
    So, I am using BPM collect pattern to achieve this. In the collect pattern,  I see a correlation defined on one of the source fields,  What does correlation exaclty do in my  case. Let's say I have defined a correlation on Source field called Invoice number.
    BTW I am using FCC on the filed adapter to change the CSV(Invoice) to xml
    Thanks,
    Kiran

    Hi
    to use Xpath for your receiver det. ref these blogs;
    a combination of logics should help you in this case ...
    Customise your 'XPATH' Expressions in Receiver Determination
    XPath to show the path (Multiple Receivers)
    File to Multiple IDocs (XSLT Mapping)
    Try removing BPM from ur scenario.
    1:n could be achieved without BPM
    Various multi-mappings and Optimizing their Implementation in Integration Processes (BPM) in XI.
    Regards,
    Suryanarayana

  • BPM collect pattern based on payload

    Hi,
    i am doing BPM Collect pattern based on stop message which is RFC. Means, i need to collect the IDOCs until i get the RFC from another system.
    For this i am using predefined pattern BPMcolllect pattern which is in BASIS SWCV.
    is it possible to do with out correlation?
    if correlation is required, there should be one common fiield between two messages?
    Thanks,
    karthik

    Hi ,
    Your design it self wrong, when you develop interface as a sender IDoc , then how come you will receive RFC in to BPM??
    so check your requirement with your client, if you want to collect messages there are different ways, implementing patterns in last option.
    search in sdn.
    Regards,
    Raj

  • Necessary steps for incorporating BPM collect pattern?

    I am working on my first BPM.
    The scenario is as follows: Supplier information (CREMAS) has to be splitted into their respective receiver countries (This has been done with a switch) For each country all CREMAS has to be collected into one XML and sent.
    I have decided on BPMCollectPatternTime.
    What should I do in order to include a CollectPattern in my BPM?
    What design objects should I copy to my namespace?
    And how to configure receive, loop and transformation?

    Hi Thomas,
    So you are sending multiple CREMAS IDocs to SAP XI and you want a BPM to collect the IDocs together into separate XML messages by country.
    In this case you dont need a switch statement, just use a time based collection routine and a correllation on the country field.
    We have used this method extensively, you want to choose how to terminate the BPM. You can set up an infinite loop scenario with a time based termination via a deadline branch.
    In order to use this in your own BPM create the Integration Process and add the following steps in the editor, this will aid you in understanding the various steps and how the process works.
    You will need 3 Abstract Message Types:
    1) Single IDoc Message Type
    2) Multiline IDoc Message Type for Appended IDocs
    3) Non Multiline IDoc Message type for the List of collected IDocs
    First add a block step
      Mode = Default
      Local Correlation = Define Correlation on Country
    Within the block step:
    Deadline Branch = 1 minute for example
      Control step = Throw Exception
                          |
    Main Branch = boldLoop Step Beginbold --- Receive Idoc Step --- Container Operation --- boldLoop Step Endbold
    Loop Step
      Condition = (1 = 1)
    Receive Step
      Message = Abstract Message Interface
      Use Correlation = Local Correlation
    Container Operation
      Operation Append
    Outside the block step:
    Transformation Step
    Send Step
    Hope this helps,
    Pete

  • Collect patterns

    hi,
    What is collect patterns?
    can u plz tell me for which business process you implement
    this scenario?
    Thanks
    guna

    HI
    Collect Pattern: Collecting several messages and merge them into single message.
    Ways to STOP Collecting:
    Payload-dependent
    Time-dependent
    Receiving a certain message (STOP MESSAGE)
    Ways of Collecting:
    Collecting all messages
    Collecting based on condition
    refer the below links for further assistance
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    /people/kannan.kailas/blog/2005/12/07/posting-multiple-idocs-with-acknowledgement
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/e8515171-0701-0010-be98-e37bec4706cc
    *************BPM COLLECT PATTERN******************
    http://help.sap.com/saphelp_nw2004s/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htmhttp://help.sap.com/saphelp_nw2004s/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cb/15163ff8519a06e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    /people/kannan.kailas/blog/2005/12/07/posting-multiple-idocs-with-acknowledgement
    http://help.sap.com/saphelp_nw2004s/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm
    /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
    http://help.sap.com/saphelp_nw2004s/helpdata/en/a5/64373f7853494fe10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cb/15163ff8519a06e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
    Also have a look at these seminars,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/daea5871-0701-0010-12aa-c3a0c6d54e02
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/e8515171-0701-0010-be98-e37bec4706cc
    cheers
    reward points if found useful

  • CcBPM Collect Pattern Error

    All,
    Im trying to do a collect pattern based on time example. This is what the BPM does,
    1. Receives the IDoc from another R3 system.
    2. Collects the IDocs based on a correlation and there is a timer for 3 mins.
    3. Merges all these IDocs using a transformation.
    4. Sends the the merged xml to an FTP location.
    When i get the first IDoc message - in SXMB_MONI it says inbound side is ok and there is an error on the outbound side... and in the technical log - it gives the following error,
    Work item 000000046192: Object FLOWITEM method EXECUTE cannot be executed
    Error when executing work item '000000046193'
    If i remove the block and just make it a straight forward collect the xml (only one XML since there is no timer), transform and write to FTP - it works fine.
    Any ideas?
    Thanks.

    That link is almost similar to the example we have and it gives the same error as i mentioned earlier.
    One more thing - we tried changing the BPM the following way,
    1. Start
    2. Begin Block
    3. Receive IDoc.
    4. Container operation to add the IDoc to multiline variable.
    5. End Block
    6. Transform the multiline container to an XML.
    7. Send the XML file to a FTP location
    8. Stop.
    There is no timer or no collect pattern in above example... this also gives the same error as in post 1. But if we remove the Block (#2, #5 in the above BPM), it works without an error.
    So - it looks like the block is causing an error... or are we missing something else?
    Thanks.

  • Thought Experiment: Variable Number of Parallel Time Dependent Systems

    Hi all, 
    I'm just going through a thought experiment before beginning a new major project and am trying to figure out the best way this code could work. We have a new project coming up that is going to be based out a single computer, this computer is then going to control a number of identical iterations of measurement devices, at present the number is 20 but this could change depending on mechanical failure etc during trials. All of these devices need to be running at the same time and are relatively time dependent, each device has to:
    Record measurement data at 1Hz (0.05s Active Time)
    Respond to inputs and undertake longer tasks (0.5s Active Time). Inputs occur at random intervals greater then ~10s
    As all of these systems must run in parrallel I am looking at the number of different ways LV handles the parallel instances to try and determine a reasonable design pattern before beginning anything. The current ways that I am looking at it are:
    Standard Multiple VI parallelization
    Build a SubVI, place multiple instance in block-diagram, run.
    Pros:
    Simple, Build a Sub-VI that can run the device plop X instances.
    Cons:
    Scalability, Not able to easily change number of instances without re-editing code, rebuilding moving etc.
    State Machine parrallelization
    Build a state machine for the Device, run X instances in a parrallelized For Loop, for all longer tasks run start them and then check progress each time you come back into the state machine.
    Pros:
    Programmatically scalable
    Standard State Machine Architecture.
    Cons:
    Less control over long tasks
    More complex programming and control.
    I am looking forward to what the community has to say, I have a feeling I should probably be looking at OOP for this but I have never done any in LV before and I am a little worried how long the learning curve on that would add to the project without resulting in a much improved outcome.
    Let me know your thoughts on the best way to continue.

    As Mike said, you can launch multiple instances of a reentrant VI similar to launching a single instance of a VI - it's all in how you get your reference / what your reference actually is.
    If you use the Open VI Reference function with a parameter of 0x80 or 0x100 on a preallocated clone reentrant VI, a clone is allocated and the reference is a reference to that clone of the VI (you can check this in testing using a property node and checking the name, which will have the clone number after a colon, and/or Is Clone VI).  At that point, anything that you do with that reference is being done to that clone.
    What I did recently for a similar design was defined my class (or just a cluster if not using OOP) to have all of the information to define a single identity - TCP connection ID, queue refs, etc., and the reference to a clone.  A constructor would be called like a "regular" SubVI to create everything it needed, including allocating a clone for itself to run in, and return a Data Value Reference to the resulting object (cluster).  A launcher could then be used that would take the clone reference and Start Asynchronous Call on it, passing into one of its controls the DVR to the object.  Now the clone is running and has everything that it needs to identify itself and operate, including responding to connections like you might have for displaying detailed information about one process all on its own, and my main application still holds onto the reference to the object so that it can do things like be a common server to give new clients the list of TCP ports that each clone is available at.
    As for some items in the original post:
      An object oriented approach is usually great for managing these kinds of designs.  If you have knowledge of object oriented design and just aren't familiar with LabVIEW's OOP support, then the learning curve should be very shallow, but it is a good idea to start with a small project or a single module first.  You don't want to be in the, "It's supposed to work this way, but I've never actually done it, and that coercian dot on a child being passed into a parent terminal is making me nervous..." boat for a critical project, even when it does work how you think its supposed to.
      I believe that the Actor Framework (which requires LabVIEW OOP to work with) is made for this type of stuff.
      I must say, I hadn't ever considered or seen using a parallel-enabled for loop with a SubVI in it to do this kind of thing, and I thought it was a cool idea.

  • Correlation Collect pattern in  SAP XI

    Hi,
       Could some one please clearly and simply explain me about the correlation and collect pattern in BPM. Your help is really appreciate.

    Hi,
    First go thru these links will help you to understand the concepts-
    /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
    http://help.sap.com/saphelp_nw2004s/helpdata/en/a5/64373f7853494fe10000000a114084/frameset.htm
    BPM CollectPattern..
    http://help.sap.com/saphelp_nw2004s/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm
    Questions are welcome here!!
    Also mark helpful answers
    Thanks,
    moorthy
    Message was edited by: Krishna Moorthy P

  • Time-dependency in master-data

    Good mornging BW-community
    I still have a problem during my query. I have time-dependent master-data (an item infoObject with it's corresponding price as an attribute) and want to show the item prices depending on the date of sale on my bill. I can put a "key-date" in my query-properties, but that delivers only the price to that date. I would like to have the price determined by the date of sale saved in 0CALDAY in my cube. What do I have to enter in the query-properties?

    Hello Jochen Schmitz  ,
    You can write routine in update rule which fetches values from master data info object and collect it into ODS as per bill date.
    The code in update rule should like this ..
    select price into lv_price from /bic/table  "table containting time dependent master data
                        where material = /bic-material
                           and billdate >= datefrom
                           and billdate<= dateto.
    Hope that helps.
    Regards
    Kapadia
    Message was edited by:
            Mr Kapadia

Maybe you are looking for

  • Creating a PDF with transparency without exporting to PDF (Mac)

    Hi I need to created a PDF from InDesign that has unflattened (native) transparency without using the export PDF command ( because of the flaw seen here: http://forums.adobe.com/thread/537751?tstart=0 ) I have tried exporting as an EPS and that flatt

  • Run Admin Server with multiple Managed Servers each using different userid?

    We currently run separate WebLogic domain instances for each business application in a Unix environment. Each one is created using a unix userid unique to that application and which owns all the files and is used to run the process when that particul

  • Can Adobe products be installed on my desktop and laptop simultaneously?

    I have a Windows 7 Dell laptop that I take on business trips.  I would like to install Premier on it.  I have Premier installed on my desktop.  Can I have it in two locations or do I have to do the De-activate/Activate dance? Frank

  • Back To The iPhone...

    After having a case of "the grass is greener" recently, in which I foolishly traded my iPhone for a Nokia N95...I have seen the error of my ways in less than a week, and have traded the N95 for another 8gb iPhone with a long-time member of Howardforu

  • FG Auto GR problem

    Hi Experts, Can anybody please help. I have one realesed production order in which 5 operations are there. I have assigned control key say ZP01 for all 5 operation which has Auto GR tick mark & milestone confirmation.I have assigned production schedu