BPM multiple files issue

Hi,
I am using BPM to pick the two files and merge to one it sent to Receiver. If My source folder is having two files bpm successfully processing the file for example I am having file names like this
        SAP_08-01-2011_1.TXT AND SAP_08-01-2011_2.TXT
The files are coming to XI through schedular automarically. Some times the 2 set of files are coming to XI at a time like this
SAP_08-01-2011_1.TXT AND SAP_08-01-2011_2.TXT  and  SAP_09-01-2011_1.TXT AND SAP_09-01-2011_2.TXT
In this situation XI some times it is picking the other date file and try to process in BPM in result wrong data is going to receiver.
Like
SAP_08-01-2011_1.TXT AND SAP_09-01-2011_2.TXT    are processing
*ACTUVALLY  SAP08-01-2011_1.TXT AND SAP_08-01-2011_2.TXT  FILES NEED TO PROCESS*_
How to avoid this processing in BPM means same set of files need to be executed in BPM .
I am using BPM below steps to achive this
1. FORK STEP
2. TWO RECEIVE STEPS
3. TRANSFORMATION STEP
4. SEND STEP.
To process the same set of files
SAP_08-01-2011_1.TXT AND SAP_08-01-2011_2.TXT  need to process in BPM
SAP_09-01-2011_1.TXT AND SAP_09-01-2011_2.TXT  need to process in BPM
If we want to send the same set of files to BPM wht need to do .
Regards,
Eswar

Hi,
You have to define the correlation on the date.
When the date part in the filename is same; those two files will be picked up & processed.
-Supriya.

Similar Messages

  • Process multiple files issues

    Hi all,
    I tried to process multiples files with PSE9.
    My purpose was :
    Source DNG files
    Photo optimization, add a tag left bottom and record the results into jpeg high quality files in an empty directory.
    The results I got were :
    -optimization applied
    -Tag not included
    -for every single file a pop up windows required a location to register the file (psd format)
    -no jpeg file produced
    I do not understand what I miss coded so that I did not get my jpegs.
    How can I avoid the pop up phase?
    Regards,
    Thierry

    Michel,
    I ran the test again with ACR screen tagged at 8 bits rather than 16 bits.
    The process went up to the end without any pop up. The tag is there etc.
    As a conclusion I would say that you're right and when you require a jpeg while you openned the file as 16 bits PSE9 propose a compatible format even if the message is not explicit.
    Regards,
    Thierry

  • Multiple file issue - CS5

    I really don't know what to call this other than an annoying issue that I doesn't seem to have an option to shut off.
    Here's what happens:
    I open project #1. I minimize project #1 to open project #2. When I close project #2, without doing anything, project #1 auto maximizes itself open on my screen instead of staying in the dock.
    I want it to stay on my dock, not pop up in my face to let me know it's still there.
    It's really annoying. Is there any way to shut this off? CS3 didn't have this issue. I've looked through all the preferences and can't seem to find anything. I've tried to google an answer but since I don't really know what to call the problem, I can't find an answer.
    Please help.
    Thanks,
    -Jane

    It's my work machine, so it could be up to date, out of date, I don't know. We JUST got CS5 on our machines last week...
    Mac OS X, version 10.5.8.
    If you could find how this was solved, I would really appreciate it!!!
    -Jane

  • Multiple file download issues

    Hi All,
    I have designed an APEX application to download multiple files. I have check box in each row of the file name and a download button.
    When the users checks set of checkboxes and click on the "Download" Button, i am expecting the marked files to be downloaded. I am encountering the below issues in this implementation(i.e single file download is fine):
    1. When ticks all the check boxes and click download, the files are never downloading. The target URL goes something like this :
    www.example.com/abc/bcd/wwv_flow.accept
    and there is a cross icon in the new page. No download happening.
    2. When ticks few files and leave rest of the files un-checked, there are either junk charactes in target page (or) only the last checked box file alone downloading.
    Please refer the code below and advice. Thanks very much in advance.
    Code:
    =====
    declare
    check_box_val varchar2(500):=' ';
    file_name varchar2(500):=' ';
    begin
    for i in 1..htmldb_application.g_f01.count
    loop
    check_box_val:=nvl(htmldb_application.g_f02(i),' ');
    if(check_box_val<>' ') then
    sho_pdf(check_box_val);
    end if;
    end loop;
    exception
    when others then
    null;
    end;
    sho_pdf.sql
    ========
    CREATE OR REPLACE PROCEDURE FDM_UAT14.sho_pdf(p_file in varchar2)
    AS
    l_blob BLOB;
    l_bfile BFILE;
    BEGIN
    DBMS_LOB.createtemporary (l_blob, TRUE, DBMS_LOB.SESSION);
    l_bfile := BFILENAME ('UPDOWNFILES_DIR', p_file);
    DBMS_LOB.fileopen (l_bfile);
    DBMS_LOB.loadfromfile (l_blob, l_bfile, DBMS_LOB.getlength (l_bfile));
    DBMS_LOB.fileclose (l_bfile);
    OWA_UTIL.mime_header ('application/octet',
    bclose_header => FALSE);
    HTP.p ('Content-length: ' || DBMS_LOB.getlength (l_blob));
    HTP.p( 'Content-Disposition: filename="' || p_file || '"' );
    OWA_UTIL.http_header_close;
    WPG_DOCLOAD.download_file (l_blob);
    DBMS_LOB.freetemporary (l_blob);
    EXCEPTION
    WHEN OTHERS
    THEN
    NULL;
    END;
    /

    I have read that "patch number 8548651" need to be applied in order to download multiple files in Single Page. Is it true? Pls refer this page :
    http://dgielis.blogspot.com/2010/01/oracle-application-express-patch-set.html
    8555172 -- BLOB download links are incorrect when multiple file items referenced on a page.

  • 1:N mapping without using BPM -- IDOC to multiple files

    Hi all,
    I am facing a problem while sending multiple files,
    I need to send files ( File1, File2 or FIle3) ...
    I was able to successfully send the first 2 files and along with it the 3rd file is being created without any data... How to stop this file( either file2 or file 3 should be created) in creating..
    I have done the sceanrio like this, )ALL the source and target files are XSD's imported)
    In the Message Mapping <b>Messages Tab</b>
    <b>Source is AFS_DELVRY03   occurence is 1,
    Target files
    rootI8 occurence is 1,
    rootI9 occurence is 0...1,
    rootIB occurence is 0...1</b>
    I have done all the maping part , problem is all 3 files are being created(eventhough 2nd or 3rd has no data) , I need rootIB, either rootI9 or rootIB based on condition,
    So any one has done the similar scenario, If please suggest me how to hadnle so that only 2nd or 3rd file should be created,
    In Interface Determination i have selected the extended option also...
    Should i do any specific handling in the Configuration part or should i create more than one mapping?..
    U r suggestions are welcome and will be rewarded with points,
    Regards,
    sridhar

    Venu,
    Using a BPM, you can do the mapping / Split as needed and then send the files individually, using a Sens Step as needed. There are multiple ways in which this can be done with a BPM.
    But, for a solution without a BPM, as the requirement is such that only 2 of the 3 target messages need to be created, multimapping would not work and the need for conditional routing occurs.So, this would require additional mappings.
    The solution is either use a BPM or  do the logic using Conditional Routing. Ofcourse the second solution requires 3 mapping programs , but you are avoiding a BPM which can cause a perfromance bottle neck.
    If perfromance cannot become a bottle neck, then using BPM would make much more sense , but again it all boils down to the exact requirements and the feasibilty of the solutions!
    Regards,
    Bhavesh

  • Multiple files, same structure into one message without BPM

    Hi,
    Is it possible to read multiple files (each with single row) as one message without BPM by some configuration in channel?
    For example:
    input files placed simultaneously in input folder:
    file1: a,b,c
    file2: f,g,h
    file3: k,l,m
    after adapter picks files, xml message:
    <Message_type>
        <RecordSet>
            <file>
                 <A>a</A>
                 <B>b</B>
                 <C>c</C>
            </file>
            <file>
                 <A>f</A>
                 <B>g</B>
                 <C>h</C>
            </file>
            <file>
                 <A>k</A>
                 <B>l</B>
                 <C>m</C>
            </file>
         </RecordSet>
    </Message_type>

    Bond,
    Yes Bond. You can read the pattern what you have given.
    First Read the whole line in the file as one record. Now take the substring or write udf in mapping. This entirely depends upon your requirement.
    Regards,
    ---Satish

  • Annoying Print Issue - "Multiple files are bound...."

    Anyone know how to disable the extra page that prints with PDF packages that's titled "Multiple files are bound together in this PDF package"?
    Basically, when I print out the documents that are packaged, this page prints out first - and it's very annoying...
    I am using Acrobat 8 Pro, so, it can't be a version issue.. also does this printing from Acrobat Reader 9...
    Thanks for any help in this.
    Jill

    I found something that seems to address the issue we were having. 
    "In Acrobat v8, you can choose to create a PDF Package that allows you to choose whether to use a default cover sheet or use the first PDF file (in it's entirety) as the cover sheet.  In Acrobat v9, it no longer appears to be an option to choose a cover sheet - the default cover sheet is ALWAYS part of the portfolio."
    I have Adobe 8 Pro and have tried it and it worked like a charm for me.
    The steps I followed are were:  File> Combine  Files> Add Files (select all files to be added to the PDF Package)> Next> select Assemble Files into a PDF Package (be sure the document you want as the "cover page" is the 1st one listed, if not, "Move Up")> Select Cover Sheet (in the lower right of the window) select "Use First Document"> Create> Save.
    After following these steps, you will find the Cover Sheet is the 1st part of your PDF Package and the rest will be listed to the left.  When you Print All Documents, you will no longer get the "Multiple files are bound together in this PDF Package" cover sheet beforehand.

  • Joining data in multiple files into a single file using BPM

    Hello All,
             Can someone kindly give me any documentation or step by step procedure to join data in multiple file and display it all in one single file, using BPM.
    Thanks in advance,
    XI_Novice

    hi,
    Check this blog also...
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    /people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
    regards

  • Multiple file upload issues

    I'm trying to create a simple web form capable of uploading multiple image files. I've followed the instructions as per  July 12, 2012, " Customizing Web Forms", "Adding multiple file attachment fields to the web form" and everthying seems to indicate that's it working, however when I go to "related files under cases I only see one file. Any ideas?

    Yes, you'll find it here: http://www.pikassopets.com/order/upload

  • Issue with multiple files merging into 1

    I'm trying to write some code that will read the contents of multiple files in a directory then output it into a single file. However when I try to open the files via a for loop it does not recognise the variable I have assigned for the filename:
    FileReader fr = new FileReader(fileName);
    please see the full program so far, it isn't finished and this currently has me beat, any help would be greately appreciated.
    Thanks
    Chris
    import java.io.*;
    public class OutputCCFile
              public static void main(String []args)
                   File absolutePath = new File("C:\\java\\Credit Cards");     
                   String[] ccFiles = absolutePath.list();
                   try
                        boolean newFile = false;
                        CCHeaderLine cch = new CCHeaderLine();
                        String strDate = cch.getDate();
                        String headerLine = cch.getHeader();
                        File file = new File("TUHCC_"+strDate);
                        FileWriter fw = new FileWriter(file);
                        fw.write(headerLine);
                        fw.flush();
                        fw.close();          
                   }catch(IOException e) {}
                   for (int i = 0; i<ccFiles.length;i++)
                             String filename = ccFiles;
                             filename.toUpperCase();
                             if (filename.startsWith("C")) //only want to open files beginning with C
                                       FileReader fr = new FileReader(fileName);
    /*Exception in thread "main" java.lang.Error: Unresolved compilation problem:
         fileName cannot be resolved */
                                       BufferedReader br = new BufferedReader(fr);
                                       String dataLine = br.readLine();

    String filename = ccFiles;
    filename.toUpperCase();
    if (filename.startsWith("C")) //only want to open files beginning with C
    FileReader fr = new FileReader(fileName);
    There are several problems here.
    1) Variable names (and many other things) are case sensitive in Java. filename != fileName
    2) filename.toUpperCase(); will not change filename, it will just determine its upper case version and discard it                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Multiple files to single using bpm

    Hi,
    Scenarion : 6 files to 1 file using BPM
    ( 6 files are generated from the tool in a folder )
    Files
    abc1xyz_20101210.txt
    abc2xyz_20101210.txt
    abc3xyz_20101210.txt
    abc4xyz_20101210.txt
    abc5xyz_20101210.txt
    abc6xyz_20101210.txt
    Conditions
    1) Sender File Adapter needs to pick the files when all the files are generated .
    2) Should not pick the duplicate files
    (eg : abc1xyz_20101210.txt
             abc2xyz_20101210.txt
             abc1xyz_20101211.txt
    abc1xyz was repeated 2 times , ignore the file before file is picked.
    ponints will be awarded
    Thanks

    Hi,
    I prefer these kind of check can be easily done by the sender system or tool while generating those files itself..
    that is during the generation of file if the file already exists then overwrite the content or delete the existing file and create new file...
    other option can be..using OS scripts to validate the file name till 4 characters..read the file name and take first four chars and compare it with the all other files...
    I cannot provide the exact code but check with some scripting guys..I think the above logic can be achievable..
    HTH
    Rajesh

  • Fetching of multiple files from Application Server into SAP Program

    Hi All,
    I have a issue related <b>Fetching of multiple files from Application Server into SAP Program</b>.
    Actual issue is as below.
    In the <b>selection screen</b> of <b>my program</b> i will give <b>Application Server Path</b> as :
    <b>/PW/DATA/SAP/D1S/PP/DOWN/eppi0720*</b>
    Then the based on above input it should pick up all the files that are matching <b>eppi0720*</b> criteria.
    Suppose if i am having <b>5</b> files with above scenario, i have to fetch all those <b>5</b> files at a time and place in my SAP Program.
    All those 5 file's data should come into SAP at a time.
    Can anybody tell me how can we solve above issue.
    If any body has come across same issue please provide me with solution.
    Thanks in advance.
    Thanks & Regards,
    Rayeez.

    If you want to get around the authorization check, you can do something like this.
    report zrich_0001 .
    parameters: p_path type epsf-epsdirnam
                      default '/usr/sap/TST/SYS/global'.
    parameters: p_file type epsf-epsfilnam default 'CO*'.
    start-of-selection.
    perform get_file_list.
    *       FORM get_file_list                                            *
    form get_file_list.
      types: name_of_dir(1024)        type c,
             name_of_file(260)        type c,
             name_of_path(1285)       type c.
      data: begin of file_list occurs 100,
              dirname     type name_of_dir,  " name of directory. (possibly
                                             " truncated.)
              name        type name_of_file, " name of entry. (possibly
                                             " truncated.)
              type(10)    type c,            " type of entry.
              len(8)      type p,            " length in bytes.
              owner(8)    type c,            " owner of the entry.
            mtime(6)    type p, " last modification date, seconds since 1970
              mode(9)     type c, " like "rwx-r-x--x": protection mode.
              useable(1)  type c,
              subrc(4)    type c,
              errno(3)    type c,
              errmsg(40)  type c,
              mod_date    type d,
              mod_time(8) type c,            " hh:mm:ss
              seen(1)     type c,
              changed(1)  type c,
            end of file_list.
      data: begin of file,
              dirname     type name_of_dir,  " name of directory. (possibly
                                             " truncated.)
              name        type name_of_file, " name of entry. (possibly
                                             " truncated.)
              type(10)    type c,            " type of entry.
              len(8)      type p,            " length in bytes.
              owner(8)    type c,            " owner of the entry.
            mtime(6)    type p, " last modification date, seconds since 1970
              mode(9)     type c, " like "rwx-r-x--x": protection mode.
              useable(1)  type c,
              subrc(4)    type c,
              errno(3)    type c,
              errmsg(40)  type c,
              mod_date    type d,
              mod_time(8) type c,            " hh:mm:ss
              seen(1)     type c,
              changed(1)  type c,
            end of file.
      call 'C_DIR_READ_FINISH'             " just to be sure
           id 'ERRNO'  field file_list-errno
           id 'ERRMSG' field file_list-errmsg.
      call 'C_DIR_READ_START' id 'DIR'    field p_path
                              id 'FILE'   field p_file
                              id 'ERRNO'  field file-errno
                              id 'ERRMSG' field file-errmsg.
      if sy-subrc <> 0.
        sy-subrc = 4.
        exit.
      endif.
    * Read the file list and add to internal table.
      do.
        clear file.
        call 'C_DIR_READ_NEXT'
          id 'TYPE'   field file-type
          id 'NAME'   field file-name
          id 'LEN'    field file-len
          id 'OWNER'  field file-owner
          id 'MTIME'  field file-mtime
          id 'MODE'   field file-mode
          id 'ERRNO'  field file-errno
          id 'ERRMSG' field file-errmsg.
        if sy-subrc =  1.
          exit.
        endif.
        append file to file_list.
      enddo.
    * Write out the file list
      loop at file_list.
        write:/ file_list-name.
      endloop.
    endform.
    Regards,
    Rich Heilman

  • Multiple OS issues with Email set up; "People" ; Synching phone not working as advertised

    Nokia Lumia 822
    Purchased yesterday (2/10/13)
    So far I have spent 14 hours attempting to resolve what feel like endless errors and bugs. If I can;t get these resolved in the next 48 hours the phone goes back. I am so disappointed  I waited especially for this phone - heard great stuff. My experience is it sucks. Worst phone ever.
    1) POP3 email accounts are non functional. I have attempted to set up and delete and re-set up now multiple times. Each time presents a fresh new nightmare.
    Issue 1 - Email account  receives email but will not send. Error message goes something like  <" Problem sending message. Message failed to send. Problem with Files or Data on your device." >
    Issue 2 - Tapping email + accounts sends me back to start screen cannot even set up account
    Issue 3 - I  get to add email account I enter my information but no account is created
    Issue 4 - I set up an account and I get an error message stating my information cannot be found.
    Issue 5 - trying to open email from start screen just resets to start screen  over and over and over NEVER opens the account.
    These are deal breaker issues. I have multiple email accounts on different platforms. If I cannot access my various emails AND send from those accounts this is NOT the phone for me.
    2) PEOPLE does not function. ALSO multiple various issues and never the same one twice.
    Issue 1 - I tap on a contact and get sent to the start screen over and over and over  and over again.
    Issue 2 I tap on a contact and the phone freezes and wont respond unless I pull the battery
    Issue 3 I open a contact and make an edit, save the contact but the change is never reflected in the list
    Issue 4 I try and search for a contact and the search freezes - only option is to return to start screen
    3) Scrolling thru any APP randomly takes me back to start screen.
    I dread attempting to synch Outlook calendar and contacts on my PC to hotmail - especially if I can't even set up email. And it seems like even holding it will jettison me out of anything I'm doing and back to start screen.
    If I can't get these issues resolved.  look like I'll be going  back to my 3 year old Blackberry Bold which performed flawlessly. It may not be the most impressive phone out there but it did what I needed it to do with out any issues.

    Interesting Twitter conversation VZWSupport on Twitter.  It was suggested to try a HARD reset - and if that doesn't work take the phone back.
    Since I don;t have anything set up yet  that's my solution.
    I see a BlackBerry Z10 in my future

  • Combining multiple files into a single PDF/A

    The issue brought up in another discussion is the loss of PDF/A conformity when “merging” multiple PDF/A files into a single file (I use PDF/A for preservation of corporate records). The “insert” option retains conformity but does not allow inserting multiple files in a certain order, unless you insert them one by one (which is a pain when you have 50 files to attach).
    The solutions I’ve come up with so far:
    1)     1)  In AAPro – combine files into a single PDF and then convert it to PDF/A using Preflight. This is easy, my only problem is that I don’t have AAPro (and AAStandard doesn’t convert to PDF/A).
    2)     2)  In AAStandard – combine files into a single PDF and then “print” to PDF/A. The problem of this “re-frying” is that it only creates PDF/A-1b (not 1a), bookmarks and OCR of scanned pages are lost, and files become significantly larger.
    I wonder if anyone knows a more intelligent way around this problem, provided that I only have AAStandard. Thanks!

    Well, when the .pdf is in the final, deliverable form; I open it in Mac preview mode and the sidebar is always extended showing a 'table of contents' rather than having each document in the pdf file have a number designating a page name, it shows each individual filename the pdf is composed of. Not too sure about bookmark, though. Thanks for the reply!
    If you want, I can send the file to you.

  • Can I Save a Single .AI Document As Multiple Files, Seperated by the Page Tiling?

    There must be a way to save or output a single Adobe Illustrator file  into multiple files based on the "pages" I have created in the  document?
    For example, if I have tiled 10 tabloid-sized  pages onto a single Illustrator CS3 .AI file, is it possible to save  the file in a manner that will allow all of those tiled pages to be  saved as a seperated or individual files?
    I guess it  would be a similar concept to how in newer versions (like CS4) you can  export multiple jpegs of an illustrator file that contains several  artboards and it automatically assigns a number suffix to the filename  since multiple files were outputted from the single ai file.
    Any  help is MUCH appreciated. Thanks!

    Please post your question in the Illustrator forum. This forum is for suite specific issues only.
    Bob

Maybe you are looking for