File split and correlation in BPM

Hi,
I have a large file from the sender FTP which I am splitting by using 'recordsets per message' in the file adapter.
Now I want all the split files to enter the same BPM.
I have designed the BPM logic by using the correlation in the receive step. Still I am seeing that the each split message from the same file is entering into a separate BPM.
How can we monitor whether the correlation is actibve? What could be the other options to check?
KIndly help.
Thanks,
John.

Hi ciochinah,
The value is same in all the batches.
But there is one aspect. Each batch has got many line items (no headers). I am assigning an element in the line items for correlation.
All the line items in all the batches has got the same value for the field element used in correlation.
I have one important question here. Where can we check for the active correlation at runtime? Is there a transaction which will tell you whether the correlations are active and which one was taken at runtime?
Thanks,
John

Similar Messages

  • File splitting and idoc serialization into XI

    Dear experts,
    I am brand new with XI so please be indulgent with my following question.
    We have to define a new inbound interface with R/3 (4.7). We also have XI 3.0 into our landscape.
    The legacy system will send us a flat file whose lines will all have the same structure. The first part of the files is aimed at creating a FI posting into R/3. The second part of the file is aimed at creating a CO posting. This CO posting has to be created after the FI posting.
    I would like to know whether it is possible for XI :
    1) to split the input flat file into 2 "files" (one for FI posting, the other for CO posting)
    2) to create 2 idocs : one for FI posting and one for CO posting
    3) to serialize those idocs into R/3
    Thank you in advance for your help.
    Regards,
    Fabrice

    Hi Fabrice,
    this may help you....
    File to Multiple IDocs
    /people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
    also see File splitting 
    Re: splitting of messages using BPM
    Re: splitting of messages using BPM
    regards
    biplab
    <b><i>**reward points if u find it is useful</i></b>

  • File splitting and transform in XI

    Hi friends,
    I have two queries,
    1) Is XI able to read in a file and split it into 2 new reformated files based on specific fields within the original file (ex: hours & earnings type)?
    2) is it possible to set up a translation table in XI and access and use the table data in creating these files?
    Thanks in advance

    Hi,
    <i>
    1) Is XI able to read in a file and split it into 2 new reformated files based on specific fields within the original file (ex: hours & earnings type)?</i>
    >>>what does it mean within the original file. Anyway you can split the file into 2 or many based on fields and you can write 2 or many files from XI.
    <i>2) is it possible to set up a translation table in XI and access and use the table data in creating these files?</i>
    >>>If you want to lookup some tables to create a file , you can maitain the table in XI abap stack or you can create Java Tables. .
    WHen you want to get the data from XI ABAP table, you need to lookup these tables with JCO connection.
    Hope this helps if my understanding is correct,
    Regards,
    moorthy

  • Need help: message split and send in BPM

    i have this mapping where the idoc has to be split first before passing it to a BPM. the mapping should perform like this
    from
    IDOC
       segA
         segB1
         segB2
         segB3
       /segA
    /IDOC
    to
    IDOC
        segA
          segB1
    /IDOC 
    IDOC
        segA
          segB2
    /IDOC   
    IDOC
        segA
          segB3
    /IDOC        
    I was successful in doing the 1st step of mapping requirement for the above transformation. The next step was to map per occurence of IDOC to another target message and send it (ex. above is 3 occurence of IDOC, so there should be 3 mapping and sending that should happen. My problem now is how to design the BPM for this. Any suggestions?
    Message was edited by:
            Brian Lo

    create one MT such as
    root
    |__IDoc
    |__segment
    duplicate the subnode in the target message mapping (right click on the node and select dupliate subtree) and ten do the mapping...here u can go 4 this approach only if the number of number source segments (ie. sega, segb1, segb2, segb3) are constant....have read in coupe of threads that split mapping is not possible for idocs.....u may also need to check on it

  • BPM Split and Merge

    Hi...
       I want to do scenario like file split and merge using BPM.
    for that i have used,
    1.Receive
    2.Transformation(1:N)
    3.Block(ForEach)
    4.Control
    5.EndBlock
    6.Transformation(N:1)
    7.Send.
    while executing the scenario, the message is going to the queue. In that it is showing the status as "Running".
    can you please tell if i did wrong in my scenario?

    > 1.Receive
    > 2.Transformation(1:N)
    > 3.Block(ForEach)
    > 4.Control
    > 5.EndBlock
    > 6.Transformation(N:1)
    > 7.Send.
    U are using an empty infinite block and hence it is in running state always. You dont need a block at all. after 1:n transformation, use the n:1 transformation and send. I know you must be doing a sample scenario. In reality you will have a send step usually for sending to another system line by line. That when you will need a block.
    VJ

  • File to RFC Scenario using BPM

    Hi,
    Scenario:We have to post data 1 by 1 to SAP and also handle errors
    The file will be picked by the sender file adapter and given to bpm,bpm (uses message splitting) posts the data one by one to the sap r/3 system using receiver rfc adapter.
    errors could be due to connectivity..in this case we need to send alerts to users uing alert framework.
    good blogs or docs or ppt/pdf explaining a similar kind of scenario, will be highly helpful.
    thanks,
    younus

    hi
    for this u need the concept of ALERTs creation.
    U can use the following links to create alerts;
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step - Alert Configuration
    XI ALerts with container elements - /people/sukumar.natarajan/blog/2007/01/07/how-to-raise-alerts-from-abap-proxy
    http://help.sap.com/saphelp_nw04s/helpdata/en/d0/5e073c8e56f658e10000000a114084/frameset.htm
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2327---- [original link is broken] [original link is broken] [original link is broken]> [original link is broken] Trouble shoot alert config
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9c/34193cb4f5131de10000000a11405a/content.htm--SAP LIBRARY
    http://help.sap.com/saphelp_nw04/helpdata/en/d0/d4b54020c6792ae10000000a155106/content.htm -->Categories
    rewards points if helpful
    ragards
    sreeni

  • Correlation in bpm - Difference between activating and using correlation

    Hi
       I would like to know the difference between between activating a correaltion and using a correlation in a step.

    Correlation is used when you have multiple recieve steps in the BPM to differentiate each file.
    Consider your recive step is executed and the BPM is active waiting for the other file to comne in.
    Before the next file comes in , if another BPM is activated becuase your recived recive1 message. Now, when the next message comes in , how does XI know which BPM instance is to be used.
    Correlation is used in these cases. to corelate the messages.,
    some people name their Correlation as correlation in IP. So it means using the correlation 'correlation'.
    its like me creating a message interface by the name 'messageinterface' so finally i am using the message interface messageinterface !!!
    Check this weblog ..
    /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
    to understand it refer -
    /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
    Also Ref checklist on when it is needed -
    http://help.sap.com/saphelp_nw04/helpdata/en/6d/94364296f1b26be10000000a155106/content.htm
    Thanks !!

  • 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

  • I have a huge file which is in GB and I want to split the video into clip and export each clip individually. Can you please help me how to split and export the videos to computer? It will be of great help!!

    I have a huge file which is in GB and I want to split the video into clip and export each clip individually. Can you please help me how to split and export the videos to computer? It will be of great help!!

    video
    What version of Premiere Elements do you have and on what computer operating system is it running?
    Please review the following workflow.
    ATR Premiere Elements Troubleshooting: PE11: Project Assets Organization for Scene and Highlight Grabs from Collection o…
    But please also determine if your project goal is supported by
    a. format of your source
    and
    b. computer resources
    More later based on details that you will post.
    ATR

  • BPM and Correlation

    Hello together,
    we are using BPM for processing EDI order entries. We have one main process and depending of the destination system different Sub processes. Unfortunately we are running into performance problems with the BPM. From my point of view is one of the bottle necks the correlation, with that we return information from the sub process to the main process.
    Has somebody experience with BPM and correlation or does somebody knows this problem and has a solution for it.
    Many thanks and best regards
    Oliver Förster
    Carl Zeiss Vision GmbH

    Hi ciochinah,
    The value is same in all the batches.
    But there is one aspect. Each batch has got many line items (no headers). I am assigning an element in the line items for correlation.
    All the line items in all the batches has got the same value for the field element used in correlation.
    I have one important question here. Where can we check for the active correlation at runtime? Is there a transaction which will tell you whether the correlations are active and which one was taken at runtime?
    Thanks,
    John

  • Correlated message processing and QOS in BPM

    Hi,
    I need one clarification w.r.t correlated message processing within integration process.
    Is there any relationship between the QOS and correlation w.r.t message processing inside the BPM ?
    In otherwords, will the QOS automatically changed to EOIO in BPM while processing correlated messages ?
    I appreciate your reply.
    Regards
    Venkat

    Hi,
    In case of multiple messages to same receiver the QOS will change automatically....EO to EOIO
    For more details:
    http://help.sap.com/saphelp_nwpi71/helpdata/en/28/68073c8e56f658e10000000a114084/content.htm
    This happens to make sure that you get the required message at the required point...Exactly Once IN ORDER
    Regards,
    Abhishek.

  • Collect BPM - Start process and correlation in one Receiver

    I'm using collect pattern based on timeout. Somehow in my infinite loop, in the receive step, I cannot combine "start process" with creating correlation and using it. All in the same receiver. When I try to activate my BPM, in the processing log I get, "start process" trigger removed.
    Can someone throw any light on this....I've being trying this for over few hours now. I cannot get start process and correlation in one receiver. I must be doing something wrong.
    Even the copied BPMCollectPattern removes the start process from the receiver.
    thank you,
    Pam
    Additional info:
    The first message received starts the process within an infinite loop and activates the correlation "Correlation" by using IDoc message tyoe. Each subsequent message uses this correlation. The messages are received in the container element CollectMessage.In the loop the received messages are attached to the multiline container element CollectMessageList.

    Hi,
    We are also in SP12. So start process is not a problem, because you are getting an Information saying that "start trigger removed" right? It is not an error.
    Are you getting this eror "expression must not return multiline value" after your complete Integration Process desgin ? If So...
    I think you are getting this error in Transformation Step where you are doing N:1 mapping. In this step you are mentioning Interface mapping right? Once you mention Interface Mapping in Transformation step you need to give Source Message Structure as well as Target Message Structure. According to my understanding you are getting error here. You can check these errors, while design time itself. If your entries are showing with Red Border then it is understood that there is an error.
    So if error is here then I think you need to check your N:1 Mapping. In this mapping your Source side Messages should be 0...unbounded. Similarly in Interface Mapping also. Just check for Source Message Occurences...
    I think it will solve your problem.
    Thanks,
    Moorthy

  • How do I split Imovie events?  I find the option in File menu and have selected the part of the event that I want to split before, but the option to split is not bolded (allowed) in the File menu.

    I have imported video to iMovie and want to split the event.  I have selected part of the event and when I go to File> Split the event before the selected clip it is not bolded in the menu and it is not an allowed selection.  I had imported directly to an external HD so moved the event to the Mac HD and tried it again. This did not work either.  Any ideas why this option is not available to me???

    Use iMovie to move the events to your Movies folder, otherwise you're can't.

  • Large XML files, how to split and read them in PI

    Hi,
    For a specific requirement, we have a 60 MB-90 MB XML file being generated by a legacy application.
    This file has to be processed by PI 7.31 Sender File Adapter and should be posted as a ABAP proxy to SAP ECC system.
    To address any performance issues, we are planning to read the files in chunks.
    Is there a way by which we can configure the file adapter to pick a fixed no.of records to limit the size.
    In inputs in this regard will be appreciated.
    regards,
    Younus

    Hi Younus,
    First of all if you are using PI 7.31, then you should be quite able to process XML file of about 100MB scale. Performance issue shall occur in ECC side instead as it can not handle such high volume.
    My suggestion will be to pick the whole XML file at one go and do necessary mapping. However on receiver side use SOAP Adapter instead of XI for making proxy calls to ECC.
    In SOAP adapter (using HTTP as Transport and XI 3.0 as Message protocol) there's an option as 'XI Packaging' which can be used to send data in packets.
    Refer below help doc on it.
    Configuring the Receiver SOAP Adapter - Advanced Adapter Engine - SAP Library
    Thanks
    Bibek

  • Need to validate file Name,split the file name and store the splited values into Variables

    Dear All,
    Below is the my requirement.
    I have a folder, in that folder I have bunch of text files. The file name is below format
    ACA_122_pay_20140430_001
    Initially the file name start with ACA code,groupid,group name and date time stamp. This is the standard structure of file name.
    I want to check each and every file in the folder with this structure. The structure should be standard for all the files. If the structure same for all files I need to get codes form file name. For example
    If you see the below file name, I need to get ACA and put into variable,I need to get 122 and put into variable. For group name and date time needs to put in variable.
    If the file format is not valid state then I need to log exception.
    Let me know if I am not clear.
    Kindly provide the C# code for achieving the above requirement.
    As I am new to .net programming. kindly help me.
    Thanks in Advance,
    Regards,
    Madhava Ganji
    Madhava Ganji

    Hi MadhavaGanji,
    I have post how to validate the file name, header row against definition table which stored the file name and column definition. 
    Take a look and see if this is helpful.
    http://sqlage.blogspot.com/2013/11/ssis-validate-file-header-against.html
    http://sqlage.blogspot.com/

Maybe you are looking for