BPM and splitting file

Hello,
I've got a scenario: Flat File -> BPM -> 3 Flat files ( each flat file is for a different receiver).
I have designed the BPM but i'm not sure in a good way because the results are strange.
My BPM is :
1 receive Step, 1 fork step with 3 branchs and on each branch i've got a transformation step and a send step.
The result is : 1 receive the first file immediatly but i receive the second file and the third file 12 minutes later ?????
So is my BPM correct or should i design the BPM in a different way ?
Regards
Vincent

Hi Frank,
You're right but my scenario is :
I have 1 sender and 3 receivers and one file in inbound and three in outbound with different mappings and if one of these mappings fails i want to stop the scenario the three receivers don't have to receive anything.
In other terms, if every thing is correct the 3 receivers receive one file and if something is wrong nobody should receive a file.
Regards
Vincent

Similar Messages

  • BPM and Flat File

    Hi to all.
    I'm a new entry in Netweaver BPM technology.
    I need to send via BPM a file from a sender system to a target one.
    The file has to be delivered as-is without mapping.
    In ESR I prepared all service interfaces, outbound, inbound and abstract and in configuration integration builder I customized the receiver determination and interface determination using the correct service interfaces.
    In interface determination vs the target I specified just the inbound service interface, according with the SEND step in BPM and not an operation mapping that doesn't exist.
    The problem is that the Process Engine stops the queue assigned to the process with the error "Permanent error in BPE inbound processing".
    I don't know if these info are enough to understand the problem or not.
    I will be grateful to anyone help me to address the problem and the solution.
    Thanks in advance and Ciao.
    Nicola

    Hi Nicola,
    Looks like you have issue with the interface or syntax issues , but anyways please post the question in PI forums for more expert answers.
    This forum is only for Netweaver BPM which is different from PI.
    Regards, Anil

  • Compress file and split file

    There's this nifty free application on windows called 7-zip that can compress a file and split the file into several parts. I've been searching for a very long time for something like that for mac. The closest I've seen is simplyrar, but it was buggy as it did not allow me to define the file sizes.
    I've been wanting to do this because I have a fat32 drive (simply for mac/windows compatibility) and being fat32 the maximum file size is 4 GB. Thus I wanted to split a larger file so that I can store it on the external drive. Are there any other free alternatives for mac?

    split and concat
    http://www.xs4all.nl/~loekjehe/Split&Concat/
    The Mac Os X command line (terminal.app)
    "split" and "concat" and "gzip"
    To compress, make a compressed disk image of the
    files you want, then split the disk image.
    Kj

  • PSE/PPE 12 restore - MP4 thumbnails and split files

    I upgraded to PSE/PPE 12 from 10. The catalog was corrupt so needed to restore from PSE/PPE 10 backup. Now the tumbnails do not show and will not generate for all mp4 files. Also some files have split into stacked thumbnails but all pointing to the same file.
    Any ideas?

    Steveh02468
    There could be problems in your restoration and/or conversion of catalogs going from 10 to 12, but that
    Also some files have split into stacked thumbnails but all pointing to the same file.
    is a classic annoying shortcoming of the AutoAnalzyer On. I am assuming that those "...some files have split..." refers to video clips.
    If that is the case, in the Elements Organizer 12, go to Edit Menu/Preferences/Media Analysis and turn off all the options under that header otherwise your video clips will end up split into clips and those clips stacked.
    Please let us know the outcome.
    Thanks.
    ATR
    Also, how do you define the Elements Organizer 10 being corrupt? In what way to prevent you from a catalog conversion when you were in Elements Organizer 12?

  • Help needed in splitting files using BPM

    Hello experts,
    I am working on an interface where i need to split files within BPM.
    I know,i can achieve it in Message Mapping by mapping Recordset to Target structure and then using Interface Mapping within Transformation step.But i dont want to follow this.Is there an alternative way to achieve this within BPM.
    I have an input file with multiple headers and i need to split for each header.My input file looks like this:
    HXXXXXABCDVN01
    MXXXXXXXXXXXXXX
    MXXXXXXXXXXXXXX
    SXXXXXXXXXXXXXX
    HXXXXXABCDVN02
    MXXXXXXXXXXXXXX
    MXXXXXXXXXXXXXX
    SXXXXXXXXXXXXXX
    HXXXXXABCDVN03
    MXXXXXXXXXXXXXX
    SXXXXXXXXXXXXXX
    Is there a way, where i can specify this condition within BPM , that split files for every H.
    Thanks in advance.
    Regards,
    Swathi

    Hi,
    have your target structure with occurence as 0...unbounded in the mapping and map the header filed to the root node (repeating parent node) of the target structure....this will create as many target messages as the header fileds....if you want to send these messages separately then use a block in BPM with ForEach option....
    Splitting and Dynamic configuration can be applied in the same mapping.
    Regards,
    Abhishek.
    Edited by: abhishek salvi on Dec 18, 2008 12:59 PM

  • Split and Compress files

    Is it possible to compress and split files via terminal without a 3rd part software?
    I know I can compress but I cant find anywhere how to split it to certain size parts.
    Furthermore is there any app to help users with terminal commands?

    there are plenty of compression tools on the mac. gzip and bzip2.
    Lately, I like bzip2. This works a little easier on linux, especially if
    the original file is split into a lot of smaller ones.
    $ gzip TestFile
    $ ll
    total 120944
    -rw-r--r--@ 1 andya  501  61921000 May 31 22:01 TestFile.gz
    $ split -b 10m TestFile.gz
    $ openssl dgst -sha256 TestFile.gz xa*
    SHA256(TestFile.gz)= cd041d79b4af1a54b524602363a18e67201c4acb03675dfebcae9109d8707367
    SHA256(xaa)= a3d803049aee16cbbfd679668164707eb9053488fb2ec5720f282a711ee8c451
    SHA256(xab)= 0a79e26c77cb47ec09f5cf68cfa45ea8f52f5157cad07c0ac187eaf0ae59ff79
    SHA256(xac)= 0f556e8e93dcb41cb3ab20454ab46c016d6596316d75316d810f45e7c2b3682e
    SHA256(xad)= abc3db83737346a8af6ac7ba9552c4b71cf45865f7b9faded54f1683b2afd077
    SHA256(xae)= 3afbad7b68a1d1c703865422e40cbd68ca512a652f985a0714258b7d936ad0f6
    SHA256(xaf)= 11879853fcfbe6df6fb718e1166d4dcae7e0e6ebd92be6c32c104c0a28f0439a
    keep the hash of the smaller file, in case you get a error on the far end of the transfer.
    That way you only need to resend the small file that's corrupt.
    put the the TestFile back together.
    $ cat xa* > ScratchFile
    $ openssl dgst -sha256 TestFile.gz ScratchFile
    SHA256(TestFile.gz)= cd041d79b4af1a54b524602363a18e67201c4acb03675dfebcae9109d8707367
    SHA256(ScratchFile)= cd041d79b4af1a54b524602363a18e67201c4acb03675dfebcae9109d8707367

  • NW BPM. - Split Multiple messages into 1.

    Hi,
    My requirement is take XML Message (Multiple Message ) into NW-BPM and split it into multiple reocrds( 1 Message each ).
    further on each employee i will apply mapping logics and then again recombine it and pass it to Target Message.
    Kindly Suggest.
    Regards
    PS.

    Hi Sriram,
                  I followed the above blog and successfully deployed my BPM in NWDS. I've been educated that I've create two ICOs:
    First ICO->
       Sender system(SOAPUI Tool)->PI->BPM
    Second ICO->
       BPM->PI->Receiver system(Local File system)
    I create the Second ICO as mentioned above. Basically I used the same Sender SOAP channel in both the Inbound Processing of ICO and in the second ICO I used my local file system to send the final individual files. As per the below link(Possible cause 4:)
    PI Messages are not delivered to SAP NetWeaver BPM - Technology Troubleshooting Guide - SCN Wiki
    Today I re-imported my Service Interface from ESR and again created the BPM  and deployed it successfully. But while testing I'm seeing the below Error from yesterday.
    Note : I created wsdl file from my first ICO. I'm testing from SOPUI tool.

  • Message Split -- File to Idoc Scenario  -  ( Without BPM )

    I have multiple records coming to XI in a File and I have to create Multiple Idocs to R/3.
    Due to Complexity of mapping I'm splitting Maaping step into 2 message Mappings.
    A-->B
    B-->C
    In the 2nd Mapping step  I'm doing message Split meaning for each Source record I'm creating multiple Idocs ( To be precise each record on the source becomes 4 idocs in the Target.
    2nd Mapping step is as follows
    Source 1..1
      Sourcerecord 0.. Unbounded
        field1  0..1
        field2  0..1
        filed3  0..1
    Target
    Message 1
        Idoc   1.. Unbounded
          Idoc Structure..
    Message 2
          Idoc   1.. Unbounded
    Message 3
          Idoc   1.. Unbounded
    Message 4
          Idoc   1.. Unbounded
    So based on some criteria each record of Source will be mapped to 4 Messages (  1 each under each Message )
    Is it possible to do this without BPM?. Iam sending all these Idocs to same R/3 System.
    Thanks for any help..RK

    Hi,
    See the blog
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    <i>Basicly we have 2 ways of handling such scenarios:
    - we can use a block step and send multiple IDOCs from our BPM
    - we can also do a little trick and send multiple IDOCs from the XI without a BPM
    The first approach is a standard XI approach. It involves the use of a BPM
    so the speed of this transfer many not be very good in case you'd like to send
    hundreds or thousands of IDOCs in just one call.
    The second approach uses a little trick that was mentioned several times
    on the XI Froum by a number of XI developers but is still not very clear to the XI newbies.
    It allows us to send multiple IDOCs without the use of a BPM. Most probably this will be your choice
    if you'd like to use such 1:N (IDOCs) scenarios effectively.</i>
    Please see the bwlow threads also..
    IDOC Splitting
    File To IDOC Thru XI
    Multi-Mappings in BPM (XI 3.0)
    Please let me know , your prob..is solcev or not..
    Regards
    Chilla..

  • BPM giving problem in Merging and Splitting

    Hi Gurus,
    Im trying to BPM scenarios,
    First i tried to Merging Two message and send to one receiver system. In that both Sender and Receiver communication channel are wokring fine.. all are showing green light.. and the files also got processed from sender side but i cant get result  the output side. i checked my abstract interfaces , interfacing mapping and Container variables in IP everthing is right.. Even  this is not 1:N or N:1 mapping , all message types are having occurance of 1:1 only. when i checked using SXMB_moni... there my two sender are succesfully sending the messages and ip getting the message.. after IP should act as a sender right. that msg not there... what would be the problem... even correlation also correct using the common filed's xpath i was combing the msg. In IP im getting the Yellow color warnin like correlating not used in sender step but no error. but i activated the correlation in sender  step and assigned the xpath of the common field.
    After that i tried to do splitting same problem occuring.. no message in receiver side.. i double checked my abstract interfaces, inbound , outbound interfaces, interface mapping and container variable everthing was assigned properly. In IP Only a blue color waring i getting like receiver determination initialized but not used but no error , but when i checked the interface determination it was fine.. i created receiver type local variabled with multiline . this is not 1;N or N;1 mapping... a simple mapping
    Please help me experts,
    Regards,
    Balaji

    Hiii experts ,
    Please help me.. i have tried many times.. still the same problem exits...
    source msg type having 5 elemtn.. first 2 element mapped first target msg type and remaining fields mapped to receiver 2 target msg type.
    IP step are configured as below
    Container Variables: send,recv1, recv2, 2 receiver type msg for receiver determination (Receiver1, Receiver2) both are multilined.
    Receiver step : sender msg type (sender abs interface type)
    Transformation : Has the interface mapping and one source msg and 2 target msg
    In fork
    Branch1:
    receiver determination1 :receiver msgtype (recv1) and  the multiline element (receiver1) type of receiver.
    sender1 step: receiver msg type (recv1) and Receiver from-> Receiver List : Receiver->Receiver1
    Branch2:
    receiver determination2 :receiver msgtype (recv2) and  the multiline element (receiver2) type of receiver.
    sender2: step.. receiver msg type (recv2) and Receiver from-> Receiver List : Receiver->Receiver2.
    But msg going to IP.. after that IP not start to send msg...
    Please tell me.. what im doing wrong here?
    Regards,
    Balaji

  • BPM/File Content and Dynamic File Name

    Bit of a double whammy here!
    I am running a BPM :  R/3 Proxy > XI > BPM > File Adapter (x4)
    All working to a point.....
    The file I receive splits into two files, then I pass a Count file - number of records to a separate file and then a file that simply says "ready" on completion.  Four files are:
    Data file, Lookup (values and descripton for legacy), Count file and Ready file.
    To top this off, it will be run for 12 separate countries so hope to use the country code to add to the file naming - so generating 48 files (if successful). Data_GB.dat, lookup_GB.dat, Count_GB.dat and ready_GB.dat etc.... 
    The first three, I can do (with maybe a little help!), I have looked at the use of dynamic file naming and think I can do this, however, the count file uses the initial file sent, but the ready file passes across the word "ready" to destination file.  How can I utilise the dynamic naming convention if I do not use the original file for this?
    Also, the "ready" file is being created but it is empty.  It is okay using the the File Adapter, but when I convert it, the file is empty (but still created!)  IN sxmb_moni, it is showing correctly but once the file content conversion happens, it is empty!
    Any thoughts?

    Thanks Bhavesh.
    Time Stamp Status Description
    2007-05-08 17:43:57 Success Message successfully received by messaging system. Profile: XI URL: http://host.fqdn.net:55000/MessagingSystem/receive/AFW/XI Credential (User): XIISUSER
    2007-05-08 17:43:57 Success Using connection File_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
    2007-05-08 17:43:57 Success Message successfully put into the queue.
    2007-05-08 17:43:57 Success The message was successfully retrieved from the receive queue.
    2007-05-08 17:43:57 Success The message status set to DLNG.
    2007-05-08 17:43:57 Success Delivering to channel: EPIW_FTP_Receiver_EmployeeReady
    2007-05-08 17:43:57 Success MP: entering
    2007-05-08 17:43:57 Success MP: processing local module localejbs/CallSapAdapter
    2007-05-08 17:43:57 Success File adapter receiver: processing started; QoS required: ExactlyOnce
    2007-05-08 17:43:57 Success File adapter receiver channel EPIW_FTP_Receiver_EmployeeReady: start processing: party " ", service "XE_DEV_3RD_EPIW_001"
    2007-05-08 17:43:57 Success Connect to FTP server "ftp.ftp.ftp.ftp", directory "/ECS/Target"
    2007-05-08 17:43:57 Success Write to FTP server "ftp.ftp.ftp.ftp", directory "/ECS/Target",   file "xi_epiw_ready20070508-174357-635.dat"
    2007-05-08 17:43:57 Success Transfer: "BIN" mode, size 156 bytes, character encoding -
    2007-05-08 17:43:57 Success Start converting XML document content to plain text
    2007-05-08 17:43:57 Success File processing complete
    2007-05-08 17:43:57 Success MP: leaving
    2007-05-08 17:43:57 Success The message was successfully delivered to the application using connection File_http://sap.com/xi/XI/System.
    2007-05-08 17:43:57 Success The message status set to DLVD.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:EPIWReadyFile xmlns:ns0="urn:com.xerox.esap.hr.epiwextract">
      <recordReady>READY</recordReady>
      </ns0:EPIWReadyFile>
    Transfer: Binary
    File Type : Text
    File Content Conversion:
    Record Set Structure: Detail
    Detail.fieldSeparator     ,
    Detail.endSeparator     'nl'
    It maybe something simple... 
    Hopefully you can help : )
    Thanks
    Barry

  • Read a excel file and split its sheets to seperate file ?

    Dear all :
    How to split a excel file into several file, each have one sheet.my code is as below,thanks:
    import org.apache.poi.hssf.usermodel.*;
    import java.io.*;
    import java.util.*;
    import org.apache.poi.poifs.filesystem.*;
    public class Extractxls {
    public static void main(String[] args) throws Exception
    try {
    POIFSFileSystem fs = new POIFSFileSystem(new FileInputStream(args[0]));
    HSSFWorkbook wb = new HSSFWorkbook(fs);
    int sheetCount = wb.getNumberOfSheets();
    System.out.println(sheetCount);
    try {
         while(sheetCount > 0) {
         sheetCount--;
         HSSFWorkbook wb1 = new HSSFWorkbook();
         HSSFSheet s = wb1.createSheet();
         String sheetName = wb.getSheetName(sheetCount);
         HSSFSheet sheet = wb.getSheet(sheetName);
    //     HSSFSheet sheet = wb.getSheetAt(sheetCount);
         System.out.println(sheet.toString());
         s = sheet;
    FileOutputStream fileOut = new FileOutputStream("atest" + sheetCount + ".xls");
    wb.write(fileOut);
    fileOut.close();
    } catch (Exception e) {
         System.err.println("Error: " + e.getMessage());
    } catch (Exception e) { e.toString();}

    The HSSFWorkbook class is part of the POI project:
    http://jakarta.apache.org/poi/
    Regards,
    Dave Gilbert
    JFreeChart Project Leader
    I understand poi porject, my problem is that POI can not read a excel file and split its sheets into seperate file (each have one sheet) ?Does any one know how to do it.

  • Splitting Files and Insert

    Hi
    I am inserting bulk of records to temp tables from flat file using control files and sqlloader. There are million of records in a file. Someone suggested me to split records in the file and insert.
    Can anyone suggest an optimum number of records per insert. ie 100,00 / 500,00 / ..

    No need to split files, that's just a waste of time.
    You could try using the direct loading at the top of your control file....
    OPTIONS (DIRECT=TRUE)
    UNRECOVERABLE
    LOAD DATA
    INFILE *
    .Which bypasses all the transaction log and triggers etc. and gets the data in nice and fast. We've use this method to load millions of records in a matter of seconds.

  • Use Message Mapping to repeat top node and split Message

    I am currently using XSLT Messaging to do majority of the mapping. I have two issues that remain, I need to repeat the top node for each or its child elements and split the message.
    <Sensor xmlns="namespace">
      <Observation>
        <XML>Some Data</XML>
    </Observation
    </Sensor>
    1. Can it be done in XSLT? I posted a thread asking for help on this. Where I would need to repeat the Sensor tag for each observation. If this is possible then I will able to split the messages at the HTTP adapter used for the target system.
    2. Can Message Mapping be used. Using the same xsd on both source and target systems, Will sensor repeat if set to 1:n and observation set to 1:1. In source it is Sensor 1:1, Observation 1:n.  If this works then I can use a BPM to shoot out individual messages using a for each.
    Any help is greatly appreciated. I am fairly new to XI as this is my first major project. Thanks

    Source File                                             Target File
    > XI (XSLT) -
    > Each observation as one file  ---> Out via HTTP
    Batch of all orders    
    Source File
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <receipt>
      <manufacturer>Manufacture Name</manufacturer>
      <manufacturer_gln>999999</manufacturer_gln>
      <transfer_recipt>0123456</transfer_recipt>
      <prod>
        <product_GTIN>99999999999999</product_GTIN >
        <product_LOT>123456A</product_LOT >
        <production_date>20090131</production_date>
        <expire_date>20120131</expire_date>
        <carrier>
          <carrier_type>P</carrier_type>
          <carrier_barcode>001</carrier_barcode>
          <carrier_detail>
            <carrier>
              <carrier_type>C</carrier_type>
              <carrier_barcode>01</carrier_barcode>
              <carrier_detail>
                <carrier><carrier_type>ITEM</carrier_type><carrier_barcode>0108699547010089211</carrier_barcode></carrier>
                <carrier><carrier_type>ITEM</carrier_type><carrier_barcode>0108699547010089212</carrier_barcode></carrier>
                <carrier><carrier_type>ITEM</carrier_type><carrier_barcode>0108699547010089213</carrier_barcode></carrier>
                </carrier_detail>
            </carrier>
            <carrier>
              <carrier_type>C</carrier_type>
              <carrier_barcode>02</carrier_barcode>
              <carrier_detail>
                <carrier><carrier_type>ITEM</carrier_type><carrier_barcode>0108699547010089214</carrier_barcode></carrier>
                <carrier><carrier_type>ITEM</carrier_type><carrier_barcode>0108699547010089215</carrier_barcode></carrier>
                <carrier><carrier_type>ITEM</carrier_type><carrier_barcode>0108699547010089216</carrier_barcode></carrier>
                </carrier_detail>
            </carrier>
          </carrier_detail>
        </carrier>
        <carrier>
          <carrier_type>P</carrier_type>
          <carrier_barcode>002</carrier_barcode>
          <carrier_detail>
            <carrier>
              <carrier_type>C</carrier_type>
              <carrier_barcode>03</carrier_barcode>
              <carrier_detail>
                <carrier><carrier_type>ITEM</carrier_type><carrier_barcode>0108699547010089217</carrier_barcode></carrier>
                <carrier><carrier_type>ITEM</carrier_type><carrier_barcode>0108699547010089218</carrier_barcode></carrier>
                <carrier><carrier_type>ITEM</carrier_type><carrier_barcode>0108699547010089219</carrier_barcode></carrier>
              </carrier_detail>
            </carrier>
            <carrier>
              <carrier_type>C</carrier_type>
              <carrier_barcode>04</carrier_barcode>
              <carrier_detail>
                <carrier><carrier_type>ITEM</carrier_type><carrier_barcode>0108699547010089220</carrier_barcode></carrier>
                <carrier><carrier_type>ITEM</carrier_type><carrier_barcode>0108699547010089221</carrier_barcode></carrier>
               </carrier_detail>
            </carrier>
          </carrier_detail>
        </carrier>
      </prod>
    </receipt>
    Target File
    <?xml version="1.0" encoding="UTF-8"?>
    <pmlcore:Sensor xmlns:pmlcore="urn:autoid:specification:interchange:PMLCore:xml:schema:1" xmlns:pmluid="urn:autoid:specification:universal:Identifier:xml:schema:1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:autoid:specification:interchange:PMLCore:xml:schema:1 cases.xsd">
      <pmluid:ID>GPO_AI_LU_DC</pmluid:ID>
      <pmlcore:Observation>
        <pmlcore:DateTime>2008-10-13T17:53:00.265+02:00</pmlcore:DateTime>
        <pmlcore:Command>PACK</pmlcore:Command>
        <pmlcore:Tag>
          <pmluid:ID>01</pmluid:ID>
          <pmlcore:Data>
            <pmlcore:XML>
              <Memory>
                <DataField fieldName="EXPIRATION_DATE">20120131</DataField>
                <DataField fieldName="BATCH_ID">123456A</DataField>
                <DataField fieldName="ZMFG_DATE">20090131</DataField>
                <DataField fieldName="ZMFG_GLN">999999</DataField>
                <DataField fieldName="ZMANUFACTURER">Manufacture Name</DataField>
                <DataField fieldName="ZITEM_COUNT">16</DataField>
                <DataField fieldName="ZWORK_ORDER_NUMBER">0123456</DataField>
              </Memory>
            </pmlcore:XML>
          </pmlcore:Data>
        </pmlcore:Tag>
        <pmlcore:Tag>
          <pmluid:ID>0108699547010089211</pmluid:ID>
          <pmlcore:Data>
            <pmlcore:XML>
              <Memory>
                <DataField fieldName="EXPIRATION_DATE">20120131</DataField>
                <DataField fieldName="BATCH_ID">123456A</DataField>
                <DataField fieldName="ZMFG_DATE">20090131</DataField>
                <DataField fieldName="ZMFG_GLN">999999</DataField>
                <DataField fieldName="ZMANUFACTURER">Manufacture Name</DataField>
                <DataField fieldName="ZWORK_ORDER_NUMBER">0123456</DataField>
              </Memory>
            </pmlcore:XML>
          </pmlcore:Data>
        </pmlcore:Tag>
         </pmlcore:Observation>
         </pmlcore:Sensor>
    I have the XSLT Mapping working to transform data from Source file to target File. But my target file has multiple Observations that need to be split into the Sensor, Observation structure.

  • How To Split File In to Multiple Files With out using B.P.M

    Hi Guys,
    How To Split File In to Multiple Files With out using B.P.M.
    Thanks in advance
    Regards's
    KIran.B

    Hello
    below r the links were u will find message spilitting by graphicaaly i.e without using BPM.
    /people/claus.wallacher/blog/2006/06/29/message-splitting-using-the-graphical-mapping-tool
    Sender File Adapter with file conversion  Multimapping --file content conversion with split messg mapping
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2748---- [original link is broken] [original link is broken] [original link is broken]
    multimappig
    /people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
    hope this resolve your problem
    thank's
    Chetan

  • ** Is it possible to skip messages with error in BPM and continue next msg

    Hi Friends,
    I am doing File to File BPM scenario. My Source XML is like as below.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Employee xmlns:ns0="http://www.test.com/XITEST/FileToFile/BPM">
       <Details>
          <EmpCode>10010</EmpCode>
          <EmpName>Jeg</EmpName>
          <***>M</***>
          <BasicPay>5000</BasicPay>
       </Details>
       <Details>
          <EmpCode>10011</EmpCode>
          <EmpName>Praksh</EmpName>
          <***>M</***>
          <BasicPay>4500</BasicPay>
       </Details>
       <Details>
          <EmpCode>10012</EmpCode>
          <EmpName>Nithya</EmpName>
          <***>F</***>
          <BasicPay>4300</BasicPay>
       </Details>
       <Details>
          <EmpCode>10013</EmpCode>
          <EmpName>Sunil</EmpName>
          <***>F</***>
          <BasicPay>4800</BasicPay>
       </Details>
       <Details>
          <EmpCode>10014</EmpCode>
          <EmpName>Abdul</EmpName>
          <***>M</***>
          <BasicPay>4750</BasicPay>
       </Details>
       <Details>
          <EmpCode>10015</EmpCode>
          <EmpName>Sathya</EmpName>
          <***>F</***>
          <BasicPay>4250</BasicPay>
       </Details>
       <Details>
          <EmpCode>10016</EmpCode>
          <EmpName>Rams</EmpName>
          <***>M</***>
          <BasicPay>8000</BasicPay>
       </Details>
    </ns0:Employee>
    If you look at the above message, the 3rd & 6th employee are female. In the BPM design,  we use
    a) 'Transformation' step, to split the messages (1:n).
    b) Block Step (Mode : For Each) to process one by one message
    c) in the Container Step, thru XPath expression we created one variable and assign '***' to that variable
    d) In the Switch step we check whether variable is 'F' (Female). If it is there we insert control step to throw exception. (But, exception Branch is not added to catch the exception. The reason is that to restart the BPM)
    e) If the *** is 'M' we insert Send Step to send the employee to the output file.
    Note that if we insert exception handler branch, the BPM will tell this is completed. So, we are not able to restart those records (*** = 'F') after correct ***. Once the BPM is completed, that work item will not come in tcode 'Continue Process Following Error' option in tcode SXMB_MONI_BPE
    Requirement is whenever the BPM encounters *** = 'F', it  should throw an error and the same time BPM should not stop and continue with the next records.
    Friends, we tried all the ways thru 'Queue Assignment' property of the BPM and made settings thru tcode SWF_INB_CONF. But, we are not able to achive this requirmenent.
    'Restart possibilitye of the BPM for the error record and the same time should process the remaining correct records'. 
    Any idea friends, to solve this issue.
    Kindly Reply,
    Jeg P.

    Use one more Receiver Abstract interface for this and do the message and interface mapping .
    Collecting :
    If ur record is female (u r checking this in swich step) ,  pass tht record to intreface mapping (use one branch here to collect the message).
    Else you send that message to the target(else branch)
    After that use one block for collecting messages and throw the exception for each record......

Maybe you are looking for

  • Firefox Crashes Silently at Start-up

    Firefox has been crashing on start-up for the past few weeks. I've tried safe mode, a profile reset, a clean re-install, and several clean installs of different versions (4.0, 4.1, 5.0 and 6.0b1) in attempts to resolve this, all without success. Occa

  • If I click "delete account" at the bottom of my iCloud settings, is it deleting my whole account?

    When installing iOS 5 I somehow linked my iCloud to my moms account both on my iPhone and iPad. If I select the delete account button at the bottom of the iCloud settings, will it delete the account off of my moms phone too? She would rather not dele

  • Why doesnt macbook pro bluetooth connect to android? they are paired but keeps dropping out.

    I am attempting to download a photo from android phone to macbook pro. they are paired, they recognise and connect for half a second then drops out. Macbook works with other apple devices just not devices from different companies. is this common a pr

  • Regarding change document creation

    hi all I created the change document  & there i mentioned the master data table name TCJ1T (Project types) Updation to this table is done via standard tcode SPRO but my log entirs are not going in CDPOS , CDHDR now my question is : by creating the ch

  • Useful list of the Freeview channels as of 1st OCt

    A useful list of the Freeview channels as of 1st OCt is at http://www.freeview.co.uk/wp-content/uploads/2014/​10/Freeview-Channel-Guide_1-Oct.pdf Of course it gets quickly outdated ... eg when ITV Be starts on channel 26 on 8th OCt. However it does l