Best approach to read a file on ECC 5.0 system

Hello experts, I need some coaching on the best method for an integration.  We are running XI 3.0, on a windows server and ECC 5.0 on a unix server.  There is an existing process in ECC 5.0 that creates a file on the unix server.  I need to be able to pickup that file in XI and process it.  I know I can use FTP to pick up that file, but I am looking for a more 'native' type of interface.  I have not used the XI adapter, would this be an option to bridge the gap between Netweaver on windows and Netweaver on Unix?  Please share your thoughts!

Hello Matt,
It dosent make any different for SAP XI whether file resides on Unix System / Windows server other than specifying the file path while reading file.
You can use XI File adapter with FTP connection to R/3 system and it will pick up the file.
Let us know if you need more details.
Nilesh

Similar Messages

  • The best way to read properties file

    Hi folks,
    The best way to read properties file i.e.. using ResourceBundle or FileInputStream . if so how to do it , my properties file is n WEB-INF/classes/myprop.properties.It's urgent.
    Thanks & Regards,
    Rajeshwar.

    WEB-INF/classes should be in your classpath. The web container takes care of that.
    All you have to do is call ResourceBundle.getBundle("myprop").
    It'll append the .properties for you.
    http://java.sun.com/j2se/1.5.0/docs/api/java/util/ResourceBundle.html#getBundle(java.lang.String)

  • What is the best approach to capture TBOM's for a SAP SRM system/functionality?

    Hello SCN Community,
    It would be much appreciated if somebody could share some information about the following....
    What is the best approach to create TBOM's for a SAP SRM system? The SRM functionality is basically consisting out of multiple ABAP Web Dynpro's that are connected as a process via a SAP Portal (as is understand it). The entrypint to the SRM functionality is via the SAP Portal.
    Do I first have to create a link to the Portal via an SAP Web Application link in SOLAR01 and then start recording? Will it record only the portal objects or also the ABAP Web Dynpro objects?
    Do I have to list all the separate ABAP Web Dynpro's in SOLAR01 and use those as a starting point?
    I am myself more familair with more classical SAP ABAP ECC systems and transactions.  I could hardly find any information on the use of BPCA and the required TBOM's in the area of SRM.... Any help would be much appreciated!
    Kind Regards,
    Guido Jacobs

    Hi Guido,
    today was a new blog released, maybe this helps:
    BPCA - Powerful Risk Eliminator
    Best Regards,
    Christoph

  • Best approach to read IDOC flatfiles using XI in mass number

    Hi,
    We have a requirement like, we will be provided with IDOC PO flatfile structures(Exactly same as IDOC,but in flatfile format) .
    We have to read those flafiles and create POs in our SAP system.
    please note there is no sender system,will be provided with IDOC structured flatfiles and receiving system is SAP,so I can use IDOC adapter on the recv side.We can use file adapter with FCC ,but as file adapter cannot support multiple heirarchies,I cannot go for sender File Adapter to read those files.
    so what is the best approach to do this interface using XI?
    thank you in advance.
    ..Sri

    Hi
    You could refer the below link for reference
    If you need XI to convert IDOC XML format to IDOC Flat format, refer to:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-how-to-guides/how%20to%20convert%20between%20idoc%20and%20xml%20in%20xi%203.0.pdf
    https://websmp107.sap-ag.de/~sapdownload/011000358700001795162005E/HowToIDocXMLToFlat.pdf
    (Section 3.2 of the how to guide mentions how to "Convert a flat file representation of an IDoc to IDoc-XML" !!!)
    Converting Idoc flat file representation to XML
    Otherwise creating a flat file from the IDOC XML using the file-content conversion will be very cumbersome.
    If you need the file in the idoc structure itself, I would suggest to create the file in R/3 and poll the file from XI.
    Probably above links could give you some hitch on it
    Thanks
    Swarup
    Edited by: Swarup Sawant on Feb 12, 2008 5:47 AM

  • Which is theb best way to read a file of 5-10 mb

    Hi,
    I need to read a flatfile of 5-10 mb and simultaneously insert into database .
    Reading through FileInputStream or FileReader?
    Which is the best approach to do this keeping in considerataion performance and memory management.
    Please help .Its is an urgent task to be done.
    Thanks,
    kazim
    Message was edited by:
    kazimh

    I always use the following example.. mayb that would help you as well
    File fid = new File(fileName);
    if (fid.exists())
            fr = new FileReader(fid);
            br = new BufferedReader(fr);
             while((txtstr= br.readLine()) != null)
    }

  • What is the best way to read a file line by line?

    Hello, everyone!
    I want to read a file line by line, i.e. each time, a line of a text file is read and stored as a String object and the String object will be manipulated (parsed) later.
    I have found that FileInputStream does not have a function which is responsible for reading a line each time from a text file. Anyone have good suggestions?
    Best regards,
    George

    I always use the following example.. mayb that would help you as well
    File fid = new File(fileName);
    if (fid.exists())
            fr = new FileReader(fid);
            br = new BufferedReader(fr);
             while((txtstr= br.readLine()) != null)
    }

  • Best way to read text files at multiple production sites

    Need to write a solution to read txt files that contain binary data on multiple SQL Servers. I have no control over the SQL servers, they are not mine. Thinking of BULK INSERT or bcp. But must something on the server be turned on for it to work? What are
    some other production solutions for reading files and loading the data into a SQL table?

    Hello,
    I think the best way is create a SSIS package to import data into SQL Server tables. Here are some articles for your reference:
    http://codejotter.wordpress.com/2010/04/06/importing-multiple-text-files-using-ssis/
    http://technet.microsoft.com/en-us/sqlserver/dd941934.aspx
    Regards,
    Elvis Long
    TechNet Community Support

  • In Oracle Forms 10g, what is the best approach in read an excel file (csv)?

    Hi All!
    Could someone please advise me on what is the best way for an oracle form reading and extracting data from an excel spreadsheet (csv) that is located in the local drive directory.
    Someone had already advised me to use TEXT_IO function or use a javabean through the Implementation Class property.
    I'd really appreciate it if someone can give me insights.
    Thanks! beeals

    Other approach to load a CSV file, you can use EXTERNAL TABLES. SQL Reference manual has examples.
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_7002.htm#i2095331
    [urlhttp://www.astral-consultancy.co.uk/cgi-bin/hunbug/doco.cgi?11210] simple example of external tables loading data into oracle
    or here
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:68212348056
    Regards
    Ros
    Message was edited by:
    Rosario Vigilante

  • Best way to read a file

    Hi All,
    I'm curious to know what is the best (fast) way to read a binary file. In particular, I'm thinking if using a BufferedInputStream I can obtain better results.
    In my opinion the FileInputStream class should be already optimized to read bytes from the underlying OS so that using BufferedInputStream I should not have benefits.
    If this is true, FileInputStream.read() should have the same performances of FileInputStream.read(byte[]).
    Is it correct ?
    ste

    what I expect for 1 is the FileOutputStream collects all bytes in a buffer calling OS when the buffer is full or if flush() is called. I don't think all the difference (30s vs 100ms) is since method invocations overhead.That's not what it does. It has no built in buffer, as far as I am aware.
    I created this test to test the cost of method overhead. This is using read(), but could be changed to use write. It shows definite performance effects to doing single reads repeatedly on a 5 meg byte array input stream (as opposed to one read) but nothing that's going to compare to reading latency from an actual file
         public static void readTest() {
              byte[] vals = new byte[5000000];
              for (int i = 0; i < vals.length; i++) {
                   vals[i] = (byte)(i % 256);
              ByteArrayInputStream in = new ByteArrayInputStream(vals);
              long time1 = System.currentTimeMillis();
              for (int i = 0; i < vals.length; i++) {
                   in.read();
              long time2 = System.currentTimeMillis();
              in = new ByteArrayInputStream(vals);
              try {
                   int got = in.read(new byte[5000000]);
                   System.out.println("got: " + got);
              catch (IOException iox) {
                   iox.printStackTrace();
              long time3 = System.currentTimeMillis();
              System.out.println("read each: " + (time2 - time1));
              System.out.println("read batch: " + (time3 - time2));
         }

  • What's the best approach to automatically upload file to Sharepoint?

    Hi xMII experts,
    Does anyone  have experience on  how to automatically upload the file Sharepoint(Windows Sharepoint Services) ?  I tried to google but only find the below solutions:
    --Create a .Net  application.Write the Webservice reference in the code.
    http://www.sharepointblogs.com/ssa/archive/2006/11/30/wsuploadservice-web-service-for-uploading-documents-into-sharepoint.aspx
    --Create a Java application  with the Webservice reference.
    http://www.eggheadcafe.com/software/aspnet/31499846/uploading-files-to-a-docu.aspx
    My intention is to minimize the program or coding effort, which can't be satisfied by the above two ways.
    Looking forward to your responses
    Best Regards
    Terrance Liang

    Hello Terrance,
    You want to do this using the MII? or you want to create an interface in the MII to exchange files between servers?
    Let me know your idea.
    Regards,
    Danilo

  • Best way to read in File of characters...

    I have a file whose size is roughly 16k-20k.
    I need to read in the file and perform some logic based on each character of the file.
    Is wrapping a FileReader within a BufferedReader the most efficient way to do this? Or is there some nio package or custom buffer stuff I can do to speed it up?
    thanks

    I gues if you have to check the charactars multiple times putting the file in a string or
    stringbuffer would be faster. If you read it only once you might use a bufferedreader.
    I'm not verry experienced but think that the charset is importaint, here is some code
    on how I red Japanese text. I changed the getBytes to create the string in ASCII.
              try{
                   File f = new File("somefile");
                   FileInputStream fi = new FileInputStream(f);
                   byte[] buf = new byte[1024];
                   int len;
                   int i = 0;
                   ByteArrayOutputStream bos = new ByteArrayOutputStream();
                   while ((len = fi.read(buf)) > 0) {
                        bos.write(buf, 0, len);
                   byte[] data = bos.toByteArray();
    //               String dataString = new String(data,"ASCII");
                   fi.close();
              }catch(Exception e){
                   e.printStackTrace();
              }

  • Best approach for storing XML files long term

    We have a legal requirement to store the XML files that relate to SAP billing documents for 10 years. (This is a "digital seal" requirement in Mexico.) The files will be sent to SAP server by the third party software. We'll attach them as GOS objects to the billing documents, but we need another option for safekeeping the files for 10 years. Files need to be accessible somewhat easily if there is an audit down the road. We expect to have about 500 files per month, 5k each.
    The simplest solution that comes to mind is just to copy the files to a designated folder (or rather several folders by year or month) and backing it up regularly, but I'm wondering if there could be another solution.
    Has anyone had a similar requirement and what approach would you recommend? I'm also checking with our Basis support, but thought I'd ask here as well.
    Thank you.

    You may also check here: http://help.sap.com/saphelp_nw70/helpdata/en/26/72a1376f6cd903e10000009b38f8cf/content.htm

  • 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

  • Migrating, Fresh Install, or Best Approach?

    I'm currently running Mountain Lion on this late 2008 MBP. For the past couple years it's had issues where it goes off into never never land and I believe it's from corrupt system files or something. Sometimes it's different programs that cause the issue like if I open Preview, Text-Edit, etc. The computer will work fine unless I open one of them and then it just starts running totally sluggish and getting stuck. Closing the programs doesn't fix the issue. I'll have to restart and avoid those programs as long as I can. I've also noticed normal image files of mine and files I created going corrupt at times for no reason. I've tried every thing in the book, upgraded operating systems, run repairs, purchased new HD etc. Nothing fixes it.
    So, I'm finally upgrading to Yosemite and figure now it's the time... once and for all... to fix the issue by doing the first complete erase of the OS and fresh install after all these years. So right now I'm cloning the drive to an external via Data Rescue 3. Once that is complete then what is the best approach here to be sure none of any corrupt system code or anything makes it over so that it's like I have a brand new MBP (just that's really old...LOL)?
    I'm thinking the migration option from the external backup clone I'm making would be best but with that I'm not sure how it installs the old programs if you chose to have it copy the apps over. Won't it copy the apps code from this install? If that's the case it sounds like migration might be a bad choice for me as it's risking possible corrupt code back in? At the same time I want my settings, images, passwords, email, iPhone backups, music, etc. So won't it be really difficult if I don't use the migration choice or is it simple to copy that stuff over? Please advise on the best and easiest way for me to get what I need onto this computer but without letting any possible old corrupt code in...
    Thanks!

    fluxxy1245 wrote:
    hi
    I recently purchased the latest mountain Lion.
    i was wondering what was the best thing to do.
    A complete fresh install
    or just upgrading from the previous OSX Lion.
    I have 3 macs :
    - iMac 27" (2009)
    - Mac Mini (2010)
    - MacBook Pro 13" (2011)
    The 3 of them came with with Snow Leopard.
    And I did an upgrade to Lion, shortly after it was relased.
    If we upgrade :
    - does leave unnecessary files
    - is there a difference in speed and hard-disk space
    or does it manage it all very well
    Thanks for the info
    maybe some links would be welcome that give an in-depth explanation about that
    There is some house-keeping that you need to do before/after upgrading to Mountain Lion.
    For installed, third-party applications (and device drivers where indicated), does the vendor offer latest OS X Mountain Lion support. Drivers that worked in Snow Leopard or Lion, may not work well in Mountain Lion without upgrades.
    You may have to re-install some third-party applications that have system dependencies that have changed in Mountain Lion.
    You may have to update your Printer preferences if printers do not work after the upgrade.
    You should count on a minimum of 4GB of memory (8GB is better) in each Mac.
    Although the upgrade process will not touch /Users, it is sound due diligence to backup user data on all these Macs beforehand.
    Upgrading is simpler, multiple Mountain Lion downloads not withstanding. If these Macs have been through prior OS X updates, they may not operate as fast as a full, clean install would deliver. If you want to do a full, clean install, download the free Lion Diskmaker. It will automatically build a bootable, USB installer for Mountain Lion from your first ML purchase and download. I used it to make a clean install on my SSD. Works perfectly.

  • Store Critical: Unable to read index file for user/mailtest: System I/O err

    more imap
    [27/Nov/2007:13:36:52 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest: System I/O error. Administrator, check server log for details.
    [27/Nov/2007:13:36:52 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest/&V4NXPnux-: System I/O error. Administrator, check server log for details.
    [27/Nov/2007:13:36:52 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest/&XfJT0ZAB-: System I/O error. Administrator, check server log for details.
    [27/Nov/2007:13:36:52 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest/&g0l6Pw-: System I/O error. Administrator, check server log for details.
    [27/Nov/2007:13:36:52 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest/test: System I/O error. Administrator, check server log for details.
    [27/Nov/2007:13:36:52 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest: System I/O error. Administrator, check server log for details.
    [27/Nov/2007:13:36:54 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest: System I/O error. Administrator, check server log for details.
    [27/Nov/2007:13:36:54 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest/&V4NXPnux-: System I/O error. Administrator, check server log for details.
    [27/Nov/2007:13:36:54 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest/&XfJT0ZAB-: System I/O error. Administrator, check server log for details.
    [27/Nov/2007:13:36:54 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest/&g0l6Pw-: System I/O error. Administrator, check server log for details.
    [27/Nov/2007:13:36:54 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest/test: System I/O error. Administrator, check server log for details.
    [27/Nov/2007:13:36:58 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest: System I/O error. Administrator, check server log for details.
    [27/Nov/2007:13:37:00 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest: System I/O error. Administrator, check server log for details.
    [27/Nov/2007:13:37:00 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest/&V4NXPnux-: System I/O error. Administrator, check server log for details.
    [27/Nov/2007:13:37:00 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest/&XfJT0ZAB-: System I/O error. Administrator, check server log for details.
    [27/Nov/2007:13:37:00 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest/&g0l6Pw-: System I/O error. Administrator, check server log for details.
    [27/Nov/2007:13:37:00 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest/test: System I/O error. Administrator, check server log for details.

    whr25 wrote:
    root@e69-1-c # ./imsimta version
    Sun Java(tm) System Messaging Server 6.3-0.15 (built Feb 9 2007)
    libimta.so 6.3-0.15 (built 19:27:56, Feb 9 2007)
    SunOS e69-1-c 5.10 Generic_118833-24 sun4u sparc SUNW,Sun-FireThis is an old release of 6.3, you should be planning to upgrade to proactivly prevent known bugs.
    prstat
    2255 mailsrv 407M 310M sleep 59 0 0:00:44 0.0% imapd/3Not 3GB. Of course if you had just restarted messaging server as you noted below then that isn't unexpected.
    I'm restart Messaging Server,I't is not problem
    This issue is about two days after the RuningWhen the problem does occur what is the prstat output? The size of the imapd processes will increase over-time depending on the number of people accessing the store via IMAP, and the size of the mailboxes (store.idx files) they are accessing.
    Regards,
    Shane.

Maybe you are looking for

  • PS Elements 5. Trouble restoring backup catalog - Organiser freezes

    Old computer died and i re-installed PS Elements 5.0 on a Win8.1 machine. The first time instal indicated i was working on "My catalog". I ran a restore catalog function to restore my backup, original "John" catalog. The restore appeared to work ok i

  • Adding a mini mac and Apple TV .

    I currently only have a iPhone. But would like to make the plunge to full apple. I would like a mini mac and Apple TV. I need advise on the best way to integrate them into my system. I currently have: A pioneer amp. A ps3 and a Blu-Ray player, these

  • Help! Question about Java Server Pages

    Hi everybody! I'm new to Java, and I wonder if anybody could help me with this: I need to know the "extension" of this file (I don't physically have the file, I have only its contents!): </GX> <GX ID=Beetle> <BR> Thank you for choosing <GX TYPE=cell

  • Using 'crossover' on mac to play PC games?

    Hi all, I would really like to play LOTR:battle for middle earth II on my mac. The problem is, its a pc game. I know there are a few applications that will allow me to use windows on my mac but I am worried about how this works. 1) If I install windo

  • Equim A210 - Keyboard not working right

    Had major problems with laptop, so did a full rebbot with repair disc, but now laptop keyboard isn't working right. If i type the letter O i get LO, and if i type the letter L i get OL, the letter E acts just as the enter button does, and if i press