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

Similar Messages

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

  • 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 is not coming out  and it is in loop.

    Hi Experts,
    We have implemented a BPM Collect Time pattern and it was working fine in Dev and QA environments perfectly. Couple of days back we have some server issue in Dev environment and Basis team has done some thing with File Storage. From that time, all our BPM's were not working in Dev. It is showing that the block is waiting for some event to trigger and it is in Process state.  We have set it for 5 min and block is not coming out from loop.   We exported the code to QA and it is working in QA.  We tried SWU3 transaction as given in the below forum and it didn't help us.
    bpm collect time infinite loop error
    Some one please help us.
    Thanks
    Venkat
    Edited by: Venkata Gupta on Nov 27, 2008 12:54 AM

    Hi
    Is Your BPM having deadline branch ?
    If there is any system Exception then catch it.
    http://help.sap.com/saphelp_nw04/helpdata/en/33/4a773f12f14a18e10000000a114084/content.htm.
    According to thread mentioned by you ,Schedule your Missed Deadline Branch.
    Also check your BPM using transaction SXMB_MONI_BPE and find out which step have error.

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

  • BPM collection pattern - Expression must not return a multiline value

    Hi,
    I am trying to create an integration process to collect messages - when I run the check function I get the message 'Expression must not return a multiline value' - I have checked everything and cannot find what is causing this message.  When I click on the message I get taken to the transformation step properties.
    Any ideas?
    Regards
    Ian

    HI,
    Your Interface Mapping should be of N:1 type.
    i.e occurence of your source message should be of 0..unbounded and target message should be 1.
    Once you change Interface Mapping, you need to change occurences of corresponding Message Maaping.
    Use this interface mapping in your Transformation Step in BPM, where you collect all the messages.
    Hope this helps,
    Regards,
    Moorthy

  • 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

  • BPM collect messages error

    Hi
    we are experiencing problems in BPM Collect pattern, error is not clear.
    Our payload before input to BPM
    <record>
    <row>
    <key>1</key>
    <val1>1</val1>
    </row>
    <row>
    <key>1</key>
    <val1>1</val1>
    </row>
    </record>
    this is given to BPM, and BPM is following exact collect pattern in SAP Documentation like
    1. Block with restricted by correlation (/record:key1), deadline with 1 minute, used by correlation
    2. within Block, unlimited loop, with started recieve step, activated correlation, and append records with container operation
    3. multi-mapping transform step, with multiple records to single record and followed by send step.
    we are getting error in the blok step, no description of error.
    BPM is activated without any errors
    Please advise, appreciate all ur help.

    Any body got the solution for this . I am having same problem .
    My Payload as follows
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:BpmPatternCollectMessageToBeCollected xmlns:ns0="http://sap.com/xi/XI/System/Patterns">
      <ID>1</ID>
      <OverallNumber>1</OverallNumber>
      </ns0:BpmPatternCollectMessageToBeCollected>
    for BPMPattrenCollectTime BPM and I amhaving error on outbound side in BPE
    when I dig into technical details The BPM details as follows
    Error during result processing of work item for Reciving Message Step
    Regards
    Murali

  • Mapping Error: /ns0:Messages/ns0:Message1/ns1

    Dear All,
    I am using N:1 Mapping in BPM Collect pattern payload dependant.
    System: SAP PI 7.0 SR2, SP 10.
    Error is as follows:
    "com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:Messages/ns0:Message1/ns1:Col_Receive_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"
    Input Payload:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
          <ns1:Col_Send_MT xmlns:ns1="http://RepeatCollectPattern">
             <KeyNo>1</KeyNo>
             <Name>ABC</Name>
          </ns1:Col_Send_MT>
       </ns0:Message1>
    </ns0:Messages>
    Can anybody will help me to solve this problem.?
    -Gouri

    I have followed Sample Collect pattern payload dependant pattern from SAPBASIS component.
    In Interface Mapping,
    Source Occourance: 0 to unbounded
    Target occourance: 1
    Mapping is 1: 1
    Data Type:
    Col_Send_MT      Complex Type
    KeyNo                 Occourance 1
    Name                  Occourance 1
    In Message mapping,
    Source is : 0 to unbounded
    Target is: 1
    -Gouri

  • 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

  • Non-build-in-data type mapping error

    Hi,
    I started a new web service design using a pre-defined Schema. I created a schema project and use XML bean as my web service method parameter.
    It works fine in workshop test IDE. But when I deployed it and tried to generate client jar, it gave me Failed to do type mapping error.
    What steps I should do to fix this non-build-in data type problem?
    thanks
    May

    Hi,
    I started a new web service design using a pre-defined Schema. I created a schema project and use XML bean as my web service method parameter.
    It works fine in workshop test IDE. But when I deployed it and tried to generate client jar, it gave me Failed to do type mapping error.
    What steps I should do to fix this non-build-in data type problem?
    thanks
    May

  • BPM Collect Scenario errors at transform stage

    The BPM Collect scenario is using a Fork within a Block.
    Branch 1 - Loop Receive Append Container Endloop
    Branch 2 - Receive step of triggerIdoc
    End of Block
    Transform step - multiline container of XML documents to one XML document
    Send step
    BPM Errors at Transform step with JCo mapping not available.
    Whilst BPM in Error (Workflow in Error) more messages being received but never processed as the RECEIVE event is "lost" for these messages.
    We are looking at redesigning the BPM to reduce the likelihood of this transform error.
    In the meantime was looking at ways to Alert the administrator straight away to the error. As we have a workaround to get the process going and to pick up the stranded messages. So have started setting up the ALERT categories as described in How to Guide, for Adapter and Interface. Will this work?
    Also in the Transform step there is a box (system exception) but I can't enter anything in. Is there a way to do this if the Alert category doesn't report an error in the BPM. OR do I have to add the Transform step into a Block of its own?
    Advice gratefully received if we come up with a working solution will post it out here. Have spent a large amount of time reading posts and blogs on here but have not got a clear picture yet of what is best to do.
    thanks,

    > Whilst BPM in Error (Workflow in Error) more messages
    > being received but never processed as the RECEIVE
    > event is "lost" for these messages.
    This should give you an issue called Parked Messages. The best way to deal with this is to actually define a Local Correlation. In the Block Step properties, you will have an option, Use Correlation --> Give the name of the Correlation . This will make sure that when there is an error, the Correlation become inactiva and a new BPM instance is created.
    > In the meantime was looking at ways to Alert the
    > administrator straight away to the error. As we have
    > a workaround to get the process going and to pick up
    > the stranded messages. So have started setting up the
    > ALERT categories as described in How to Guide, for
    > Adapter and Interface. Will this work?
    Not sure if this will work. The issue is that the messages are passed to the IE already and will be in wait step waiting for an active BPM 's receive step How will another interface pick up this message?
    > Also in the Transform step there is a box (system
    > exception) but I can't enter anything in. Is there a
    > way to do this if the Alert category doesn't report
    > an error in the BPM. OR do I have to add the
    > Transform step into a Block of its own?
    This is what is called exception handler. Defined a Exception handler for the Block. Right Click block, insert Exception Branch, give name of the Hanler and then you can select this in the Transformation Step's System Error. This is like Try - Catch of Java.
    Regards
    Bhavesh

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

Maybe you are looking for

  • Why is the Server service paused?

    Trying to network my T43 laptop running Win XP, SP2, all updates current.  Using Norton firewall, which has been adjusted so T43 can print on the desktop printer as well as send files to the desktop's shared folder. On startup the Server service is b

  • Is my ibook dead?

    recently i started to get the message appear that says my start up disk was full. i purchased a external hard drive so i could remove files from my ibook but when i finally got round to it something bad happened. my ibook stalled and wouldn't respone

  • Issue with blackberry sync and contact lists

    Hello! To the bone: I'm having trouble synchronizating my contacts between my blackberry and microsoft oulook 10. The thing is that my contacts are in different lists in my blackberry and when I try to sync them with outlook (BB to outlook) it only s

  • How to send SQL query results to XML ?

    Hey Guys, I am querying a DB with huge amount of traffic. A user select a particular lot and then details of the lot will be displayed in the following page. My concern here is that it takes really LONG to retrieve back the results coz it has to requ

  • Listbox containg open files in javascript

    Can anybody point me to a sample-script that shows how to create a listbox of the open documents? Im looking for something similar to how the Script »Load Files into Stack« (which is installed with Photoshop I think) does it, but without the need for