How 2 read two files from 2 diff. directories, using single adapter

How 2 read two files from 2 diff. directories in same system, using single file adapter.

you can use advanced selection for source file
see
http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm

Similar Messages

  • How to pickup files from multiple directories

    Hi all,
    How to pickup files from multiple directories and send it to two different folders at target
    Ex:
    files\xi\us\US.txt
    files\xi\uk\UK.txt
    i need to pick up the above mentioned two files and send it to the following paths
    app1\files\us\download\US.txt
    app1\files\uk\download\UK.txt
    US.txt has to goto US folder and UK.txt has to goto UK folder only
    Regards

    Hi,
    To pick form multiple folders, select Advanced Mode for file selection in file adapter..
    there u can specify directory name/file names
    Refer
    /people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter
    To put those files at multiple folders write a command line arguments for this.. go through this weblog...
    /people/michal.krawczyk2/blog/2005/08/17/xi-operation-system-command--error-catching
    XI/PI: Command line sample functions
    /people/michal.krawczyk2/blog/2007/02/08/xipi-command-line-sample-functions
    Hope this will help you....
    Regds,
    Pinangshuk.

  • How to read multiple files of different name using single file adapter

    There are two inbound locations inbound1 and inbound2 , and the files structure present in these two inbound locations are same but the files start with different names example
    (1)files in inbound1 starts with file1,file2...
    (2)files in inbound2 starts with abc1,abc2...
    by using same file adapter with read option how can i read both files....

    Hi K.A.N.N.,
    You can define multiple directories using the above link in 11g and poll for the file as \*.*.
    Alternatively you can use the Synchronous Read and specify the file name at runtime.
    You can also use Pick activity to define multiple branches each with a File Adapter to read from a specified location with specified file name. Although it would contain multiple Adapter Definitions at Development-time, only one of the Adapters will execute at Run-Time.
    Regards,
    Neeraj Sehgal

  • How to get file from FTP Server using File Control

    Hi,
    Any one did getting file from FTP Server?
    Please let me know any one help me.
    I would need to get file from FTP Server.
    Thanks,
    Madhu

    Yes I have done that. But In FTP Server I cannt read file, because no previliges. Only I need to copy file from FTP Server to local server then only I can read that file.
    I tried all options using FileConrol(getFiles(),read()).
    getFiles() - It wont copy the file, it give information about file.
    read() - I dont have previliges to read the file.
    Please tell me any other procedure would be there for getting file from FTPServer.
    Thanks,
    Madhu

  • How to pick files from multiple directories via Sender File Adapter?

    Hi guys,
    I have a scenario File to IDOC. The Sender File Adapter has to take all files: .xml from Source directory E://Current/.
    Actually directories are like
    E:/Plant1/Current/
    E:/Plant1/History/
    E:/Plant2/Current/
    E:/Plant2/History/.
    Can I have one Sender File Adapter to pick all *.xml files
    from
    E:/Plant1/Current/ and
    E:/Plant2/Current/  and how can I write it in Source Directory of Communication Channel?
    Or do I have to have a Sender File Adapter for each Plant?
    Any suggestion please?
    Kind regards,
    Danijela Zivanovic

    Hey
    You might wanna have a look at "Additional selection for source file" parameter in sender file adapter.
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/singleSenderFileCC4MultipleDirectories
    XI/PI: how to exclude files in a sender File adapter?
    Even though this method works but there are some constraints,please check help.sap.com for constraints.
    Thanx
    Aamir

  • How to upload files from a form using pl/sql ?

    Hi
    Is it possible to upload the physical files outside the database (under UNIX server)using pl/sql? I already know how to store the files inside the database(wwwdoc_documents$) but I didn't find any documentation about storing the physical files outside the database.
    I have in my form the following component:
    <input type="file" name="upload">
    and I want to let the user browse for the file on his/her disc that he want to use. What I want to do next is to save a copy of that file on our file-server, and then use it in my application. How do I do that in pl/sql?
    Any help will be appreciated.
    Sebas.

    Thanks for the suggestion. I like this approach as Java is more familiar to me than other languages.
    Our DBA is out of touch today, so I could not grant the javauserpriv to my database user. I tried to run the script anyway in the chance that my user had the privs, and it seemed to have hung. I am now combing Oracle's site for more documentation so I can write some tests to see if I can get a basic Java object working. Under what heading would I find this?
    ajt

  • How to keep files from disappearing when using Dynamic link to AE in PremProCS4?

    I am at my wits end here and hope someone can offer a solution.  I use Dynamic Link in PremProCS4 to link a clip in my timeline to AfterEffects.  I follow the instructions in my book and everytime I close my files and reopen..I loose the clip along with the effects...I get the place card instead.  Here are the steps I do as per the Adobe Classroom in a Book Explains:
    I double click on my .MTS file in the Project Board so it comes up on my Source Screen.
    I take select the part of the clip I wish to use in my timeline and drag it to the appropriate spot on a video layer.
    I then right click the "clip" and select "Replace With After Effects Comp"
    I then name the new file.  name or whatever.aep
    It opens in AE
    I then apply two simple effects... keying and a cartooning effect I use from NewBlue Cartooner.
    As instructed I then go directly back to PremPro and do a "render" by pressing the Enter Key.  This does not work since I only get a yellow bar above the clip instead of a red on???
    So then I save the PremPro project and close it then go to the AE project, save and close it.
    When I reopen PremPro the file has a place card in it and in AE it says I am missing a file.
    I have tried many different ways to do this process including re-importing the .MTS file.
    I can close PremPro and reopen it and all is the same as long as I don't close the AfterEffects project.  Once AE is closed it looses the file.  On a note here I keep all my computer source files in the same place and it never changes plus they are in my PPro Project as well.  I never change the names so this isn't this reason.
    Is there a tried and true method to select a piece of clip in the video layer in Prem Pro and add effects from AE and not have it misplace the files?
    Thanks  Kate

    Hi Curt, and thank you for taking the time to respond.
    Its odd how I've been trying to figure this one out for a long time and I tried your suggestion but it didn't make any difference..darn.
    In the AE forum they say this is quite common and no one really knows why...double darn.
    So I went back with a fresh mind this morning and tried something else..and it worked...so far anyway.
    So far I figured it out... I guess I just needed to ask the question and write it all out to help get my brain working in the right direction: 
    Since the normal process to do this doesn't work for me ..and apparently many others..here is the solution for those of you having similar issues.
    In PremPro select the desired clip you wish to place effects on
    Rename it and save
    R click and "Replace with AE composition"
    Name new file
    You will see three files pop up in AE in the project panel.
    The original source clip .. in my case.. shows an icon that lets me know it isn't the true file.
    Highlight this file with a click and then go Ctrl H (for PCs)
    The group of computer source clips you use for your project will come up.. double click on the original clip you had imported into your PPro project.
    The source file icon in AE will change to an icon that denotes the true file...save
    Go to your still open Ppro project and make sure it carried the effects over..save.
    Now you can save and close the AE project.
    So for this works for me today and I hope this helps anyone else dealing with a similar issue.
    Thanks.

  • How to keep files from disappearing when using Dynamic link to AE from PremProCS4?

    I am at my wits end here and hope someone can offer a solution.  I use Dynamic Link in PremProCS4 to link a clip in my timeline to AfterEffects.  I follow the instructions in my book and everytime I close my files and reopen..I loose the clip along with the effects...I get the place card instead.  Here are the steps I do as per the Adobe Classroom in a Book Explains:
    I double click on my .MTS file in the Project Board so it comes up on my Source Screen.
    I take select the part of the clip I wish to use in my timeline and drag it to the appropriate spot on a video layer.
    I then right click the "clip" and select "Replace With After Effects Comp"
    I then name the new file.  name or whatever.aep
    It opens in AE
    I then apply two simple effects... keying and a cartooning effect I use from NewBlue Cartooner.
    As instructed I then go directly back to PremPro and do a "render" by pressing the Enter Key.  This does not work since I only get a yellow bar above the clip instead of a red on???
    So then I save the PremPro project and close it then go to the AE project, save and close it.
    When I reopen PremPro the file has a place card in it and in AE it says I am missing a file.
    I have tried many different ways to do this process including re-importing the .MTS file.
    I can close PremPro and reopen it and all is the same as long as I don't close the AfterEffects project.  Once AE is closed it looses the file.  On a note here I keep all my computer source files in the same place and it never changes plus they are in my PPro Project as well.  I never change the names so this isn't this reason.
    Is there a tried and true method to select a piece of clip in the video layer in Prem Pro and add effects from AE and not have it misplace the files?
    Thanks  Kate

    Hi Mylenium, and thank you for taking the time to respond.
    Your idea of renaming comps got me to thinking..hmm.
    So I went back with a fresh mind this morning and tried something else..and it worked...so far anyway.
    So far I figured it out... 
    Since the normal process to do this doesn't work for me ..and apparently many others..here is the solution for those of you having similar issues.
    In PremPro select the desired clip you wish to place effects on
    Rename it and save
    R click and "Replace with AE composition"
    Name new file
    You will see three files pop up in AE in the project panel.
    The original source clip .. in my case.. shows an icon that lets me know it isn't the true file.
    Highlight this file with a click and then go Ctrl H (for PCs)
    The group of computer source clips you use for your project will come up.. double click on the original clip you had imported into your PPro project.
    The source file icon in AE will change to an icon that denotes the true file...save
    Go to your still open Ppro project and make sure it carried the effects over..save.
    Now you can save and close the AE project.
    So for this works for me today and I hope this helps anyone else dealing with a similar issue.
    Thanks.

  • How to unzip files from my pc using my macbook

    I transfered some of my files over from my pc into my macbook and I was wondering how do you unzip them in my macbook?? What program am I suppose to use?

    Get Stuffit Expander.
    http://www.macosg.com/group/viewtopic.php?t=5659&highlight=stuffit+expander
    -Bmer
    Mac Owners Support Group
    Join Us @ MacOSG.com
    iTunes: MacOSG Podcast
     An Apple User Group 
    Disclaimer required by Apple Discussions Terms of Use: MacOSG - a non-profit Apple User Group - may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • How to get file from temp foldre using StorageFile.GetFileFromPathAsync()

    Hi,
    I am trying to download a .pdf in the temp folder.
    Here is the code
    var uri = new Uri("http://www.nakcollection.com/uploads/7/7/7/4/7774039/the_man_in_the_red_underpants_book.pdf");
    StorageFolder folder = ApplicationData.Current.TemporaryFolder;
    StorageFile file = await folder.CreateFileAsync("one.pdf");
    BackgroundDownloader download = new BackgroundDownloader();
    DownloadOperation downloader = download.CreateDownload(uri, file);
    StorageFile file1 = await StorageFile.GetFileFromPathAsync("");
    Now I want to use that file how can I get that file using
    StorageFile.GetFileFromPathAsync("");
    samEE

    Thanks, a lot it worked :)
    Here is the revised version of the code. It might help others too. :)
    var uri = new Uri("http://www.nakcollection.com/uploads/7/7/7/4/7774039/the_man_in_the_red_underpants_book.pdf");
    StorageFolder folder = ApplicationData.Current.TemporaryFolder;
    StorageFile file = await folder.CreateFileAsync("one.pdf",CreationCollisionOption.ReplaceExisting);
    if(file !=null)
    //Download form uri to file
    BackgroundDownloader download = new BackgroundDownloader();
    DownloadOperation downloader = download.CreateDownload(uri, file);
    //set download priority
    downloader.Priority = BackgroundTransferPriority.High;
    //request uncontrained download
    UnconstrainedTransferRequestResult result = await
    BackgroundDownloader.RequestUnconstrainedDownloadsAsync(new DownloadOperation[] { downloader });
    // start downloading
    await downloader.StartAsync();
    //the download is now finished
    var tempUri = new Uri("ms-appdata:///temp/one.pdf");
    StorageFile file1 = await StorageFile.GetFileFromApplicationUriAsync(tempUri);
    if (file1 != null)
    //user defined function for further usage of file
    LoadFile(file1);
    samEE

  • How read a file from applet?

    Hello.
    I have an applet which is in a signed jar file. And a configuration xml file. All I want to do is to put it near the jar file and access to it from applet. But applet cannot find it. I just want to read it simply. Also I don�t want to put it in a specified location on the server and want to have it near the jar file.
    Thanks very much.

    Check the API doc for Applet (that's java.applet.Applet). You call myApplet.getDocumentBase() to get the base URL (directory). I believe the base URL returned is actually the base URL of the HTML doc which your applet is embedded in. Add your xml filename to the end of the path. Then look at the API doc for java.net.URLConnection. You can call myURLConnection.getInputStream() to get an input stream of your xml.
    Nick

  • How to Transfer Files from Your BlackBerry Using Bluetooth

    Howdy all,
    I thought I'd share this article on how to transfer media files like photos, ring tones, videos and voice notes between your BlackBerry and another device using Bluetooth.
    The five-step process is very easy to follow.
    Check it out.
    AZA
    Device: BlackBerry Bold 9000
    Carrier: AT&T

    Thanks AZA!!
    tanzim                                                                                  
    If your query is resolved then please click on “Accept as Solution”
    Click on the LIKE on the bottom right if the post deserves credit

  • File Adapter - Reading 2 files from sender and one file to receiver

    All - I am looking for a best solution for reading two files from sender and generating one file to the receiver.
    Here is the scenario
    Sender file s - A is a master file. B is a detail file; B will have a one to many records for each record of File A.. that is the relation ship between 2 files..  I am looking for a better solution to
    Example
    Input:
    File A will have a record like "summary1 ABC 1234"
    File B will have a record like "Detailfor Summary1 CDF 8679"
    Output:
    File C shall have a record "consolidatedofSummary&Detail ABC 1234 8679"
    1) read records of master row and detail row from these 2 files
    2) do the mapping to the receiver output format which it is creating for records with some harcoded values and based on the values from master and detail rows of sender file
    if I can accomblish reading sender files and do the mapping to the receiver , assume that mapping to the receiver format would not be cumbersome.
    please help me...
    Thanks

    Hi Gopal,
    Ur approach to the interface is perfect.... Go ahead.
    For selecting multiple files in source use Advanced Selection for files.. and specify the directory paths and also the file name shema...
    This will fetch the 2 files into the integration engine... then u map the 2 source files to one target file(2:1 mapping).
    Specify accordingly the receiver side FCC and test it end to end...
    If u face any prblm post here... some1 will help u out..
    Babu

  • Error while reading a file from server

    Mine is 9i database and 11.5.10.2 oracle apps server
    I am trying to read PDF file from server, I used the below code
    l_bfile:=bfilename('\u05\app\applmgr\11i\oraclecomn\admin\out\jamuna_server','o7742576.out');
    if DBMS_LOB.FILEEXISTS(l_bfile) = 1 then
    dbms_output.put_line( 'Exists!');
    dbms_output.put_line(dbms_lob.getlength(l_bfile));
    else
    dbms_output.put_line( 'Not Exists!');
    end if;
    i used forward slashes (/) instead of backward slashes (\) too and i also made dbms_output.put_line(to_char(dbms_lob.getlength(l_bfile)));
    while using dbms_log package , i got the below error .I am bit worried since I have created directory and gave sufficicent priviliges too.
    Error report:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01460: unimplemented or unreasonable conversion requested
    ORA-06512: at "SYS.DBMS_LOB", line 485
    ORA-06512: at line 24
    I am sure bfilename('\u05\app\applmgr\11i\oraclecomn\admin\out\jamuna_server','o7742576.out') is give BFILE which is empty.
    Can you please suggest me what I can do to move further? what kind of priviliges it requires to point and read the file from server?
    Please help me in this.
    Thanks in advance

    I suspect you are not using a directory object is the problem.
    Here is the formal description of bfilename
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96540/functions12a.htm#SQLRF00610
    Sybrand Bakker
    Senior Oracle DBA

  • Problem  while reading XML file from Aplication server(Al11)

    Hi Experts
    I am facing a problem while  reading XML file from Aplication server  using open data set.
    OPEN DATASET v_dsn IN BINARY MODE FOR INPUT.
    IF sy-subrc <> 0.
        EXIT.
      ENDIF.
      READ DATASET v_dsn INTO v_rec.
    WHILE sy-subrc <> 0.
      ENDWHILE.
      CLOSE DATASET v_dsn.
    The XML file contains the details from an IDOC number  ,  the expected output  is XML file giving  all the segments details in a single page and send the user in lotus note as an attachment, But in the  present  output  after opening the attachment  i am getting a single XML file  which contains most of the segments ,but in the bottom part it is giving  the below error .
    - <E1EDT13 SEGMENT="1">
      <QUALF>001</QUALF>
      <NTANF>20110803</NTANF>
      <NTANZ>080000</NTANZ>
      <NTEND>20110803<The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    Invalid at the top level of the document. Error processing resource 'file:///C:/TEMP/notesD52F4D/SHPORD_0080005842.xml'.
    /SPAN></NTEND>
      <NTENZ>000000</NTENZ>
    for all the xml  its giving the error in bottom part ,  but once we open the source code and  if we saved  in system without changing anything the file giving the xml file without any error in that .
    could any one can help to solve this issue .

    Hi Oliver
    Thanx for your reply.
    see the latest output
    - <E1EDT13 SEGMENT="1">
      <QUALF>003</QUALF>
      <NTANF>20110803</NTANF>
      <NTANZ>080000</NTANZ>
      <NTEND>20110803</NTEND>
      <NTENZ>000000</NTENZ>
      <ISDD>00000000</ISDD>
      <ISDZ>000000</ISDZ>
      <IEDD>00000000</IEDD>
      <IEDZ>000000</IEDZ>
      </E1EDT13>
    - <E1EDT13 SEGMENT="1">
      <QUALF>001</QUALF>
      <NTANF>20110803</NTANF>
      <NTANZ>080000</NTANZ>
      <NTEND>20110803<The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    Invalid at the top level of the document. Error processing resource 'file:///C:/TEMP/notesD52F4D/~1922011.xml'.
    /SPAN></NTEND>
      <NTENZ>000000</NTENZ>
    E1EDT13 with QUALF>003 and  <E1EDT13 SEGMENT="1">
    with   <QUALF>001 having almost same segment data . but  E1EDT13 with QUALF>003  is populating all segment data
    properly ,but E1EDT13 with QUALF>001  is giving in between.

Maybe you are looking for

  • Looking for a app to use my iPhone as a speaker, using a 3.5mm input

    I want to connect my phone to a device using a dual 3.5mm cable and have the audio play on my phone. I'm hoping that there's an app that will allow me to do this. I use bluetooth hearing aids that can stream audio directly from the iphone. So I need

  • Where to download Endeca SDK?

    Thanks!

  • Early 2008 Mac Pro - worth bothering with?

    Hi, Someone in my building threw out an early 2008 Mac Pro with no hard drives. I put in a spare that I have lying around and it seems ok -- but a bit slow. I'm now in the process of installing Mavericks on it. I'm curious if this computer is worth b

  • How do i permanently delete mail

    I have a MacBook Pro with OS X.... I use Mail for my emails. I need help with how to perminantly the delete the email in my trash and computer.  I keep trying to empty the trash, but, it keeps showing back up. Thank you for your help

  • Output to Folders

    Hi gurus, We use BI 7.0, Bex 3.x, No integration to portal. Can we broadcast to external folders. In simple words, the workbook and the query results that can be broadcasted to E-Mail addresses, Portal and to printer, Can the same result be broadcast