How to rename sap data temp file

Hello
my sapdata temp file can not rename
so how to renama
thanks
salil
Edited by: Moderator on Oct 24, 2011 9:18 PM

You can use OS command line feature to rename / modify the file name
Check this wiki
http://wiki.sdn.sap.com/wiki/display/XI/SAPXIFileAdapterOSCommandLine+Feature

Similar Messages

  • How to store xml data into file in xml format through java program?

    HI Friends,
    Please let me know
    How to store xml data into file in xml format through java program?
    thanks......
    can discuss further at messenger.....
    Avanish Kumar Singh
    Software Engineer,
    Samsung India Development Center,
    Bangalore--560001.
    [email protected]

    Hi i need to write the data from an XML file to a Microsoft SQL SErver database!
    i got a piece of code from the net which allows me to parse th file:
    import java.io.IOException;
    import org.xml.sax.*;
    import org.xml.sax.helpers.*;
    import org.apache.xerces.parsers.SAXParser;
    import java.lang.*;
    public class MySaxParser extends DefaultHandler
    private static int INDENT = 4;
    private static String attList = "";
    public static void main(String[] argv)
    if (argv.length != 1)
    System.out.println("Usage: java MySaxParser [URI]");
    System.exit(0);
    String uri = argv[0];
    try
    XMLReader parser = XMLReaderFactory.createXMLReader("org.apache.xerces.parsers.SAXParser");
    MySaxParser MySaxParserInstance = new MySaxParser();
    parser.setContentHandler(MySaxParserInstance);
    parser.parse(uri);
    catch(IOException ioe)
    ioe.printStackTrace();
    catch(SAXException saxe)
    saxe.printStackTrace();
    private int idx = 0;
    public void characters(char[] ch, int start, int length)
    throws SAXException
    String s = new String(ch, start, length);
    if (ch[0] == '\n')
    return;
    System.out.println(getIndent() + " Value: " + s);
    public void endDocument() throws SAXException
    idx -= INDENT;
    public void endElement(String uri, String localName, String qName) throws SAXException
    if (!attList.equals(""))
    System.out.println(getIndent() + " Attributes: " + attList);
    attList = "";
    System.out.println(getIndent() + "end document");
    idx -= INDENT;
    public void startDocument() throws SAXException
    idx += INDENT;
    public void startElement(String uri,
    String localName,
    String qName,
    Attributes attributes) throws SAXException
    idx += INDENT;
    System.out.println('\n' + getIndent() + "start element: " + localName);
    if (localName.compareTo("Machine") == 0)
    System.out.println("YES");
    if (attributes.getLength() > 0)
    idx += INDENT;
    for (int i = 0; i < attributes.getLength(); i++)
    attList = attList + attributes.getLocalName(i) + " = " + attributes.getValue(i);
    if (i < (attributes.getLength() - 1))
    attList = attList + ", ";
    idx-= INDENT;
    private String getIndent()
    StringBuffer sb = new StringBuffer();
    for (int i = 0; i < idx; i++)
    sb.append(" ");
    return sb.toString();
    }// END PRGM
    Now , am not a very good Java DEv. and i need to find a soln. to this prob within 1 week.
    The next step is to write the data to the DB.
    Am sending an example of my file:
    <Start>
    <Machine>
    <Hostname> IPCServer </Hostname>
    <HostID> 80c04499 </HostID>
    <MachineType> sun4u [ID 466748 kern.info] Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 360MHz) </MachineType>
    <CPU> UltraSPARC-IIi at 360 MHz </CPU>
    <Memory> RAM : 512 MB </Memory>
    <HostAdapter>
    <HA> kern.info] </HA>
    </HostAdapter>
    <Harddisks>
    <HD>
    <HD1> c0t0d0 ctrl kern.info] target 0 lun 0 </HD1>
    <HD2> ST38420A 8.2 GB </HD2>
    </HD>
    </Harddisks>
    <GraphicCard> m64B : PCI PGX 8-bit +Accel. </GraphicCard>
    <NetworkType> hme0 : Fast-Ethernet </NetworkType>
    <EthernetAddress> 09:00:30:C1:34:90 </EthernetAddress>
    <IPAddress> 149.51.23.140 </IPAddress>
    </Machine>
    </Start>
    Note that i can have more than 1 machines (meaning that i have to loop thru the file to be able to write to the DB)
    Cal u tellme what to do!
    Even better- do u have a piece of code that will help me understand and implement the database writing portion?
    I badly need help here.
    THANX

  • How do i find outlook temp files

    How do i find "outlook temp" files on my macbook air

    I just had this problem....an hour and a half later my wife came in and figurerd it out.   Do not close outlook.   If you have upgraded to Lion, the Library is no longer viewable.  Very simple now!!
    open finder
    Go to the "GO" drop down menu and hold down the option key. (next to the command or apple key)
    The "Library" option will appear between the "Home" and "Computer" options in the same "GO" drop down menu
    Click on "Library" and you are in..then you will find "Cache" and then "temporaryitems" and Eureeka!!!  The outlook temp folder is in there and your troubles are over!!!

  • How to Transfer SAP data to perticular Worksheet in Excel file

    Hi,
    I have a requirenment to Transfer SAP data to Perticular WorkSheet in an Existing Excel file, i tries using EXCEL_OLE_STANDARD_DAT but this FM deletes all Existing worksheets in the Excel file and creates only one new worksheet and adds data to it.
    Please Help me to solve this issue.....
    Thanks
    Srilatha

    hello,
    what kinf of data do you need to transfer?
    master data
    or
    payroll results?
    regards
    stefan

  • Access SAP Data Archival file from outside SAP

    Hello Everyone,
    I have a requirement to archive the SAP data, dump that outside SAP in some other system like ILM or BI and build a reporting tool on top of that data.
    So, basically customer want to shutdown the SAP and want to retain data for legal and audit pourpose.
    I was doing some RnD and done archiving of MM_EKKO using SARA. the file got generated with extention .ARCHIVE. I donwnloaded teh file but it is encoded file with all special character in it.
    My question is:
    1. How can I read the archieved SAP data from outside SAP system.
    2. Can we decode the .ARCHIVE file to get it in .DAT format?
    3. Or Is there any other way to access the SAP data outside SAP in a report format.
    Thanks,
    Chintan SOni.

    Hi Chintan,
    1. How can I read the archieved SAP data from outside SAP system.
    For this you could refer SAP Note   460620 - Migrating archive files
    2. Can we decode the .ARCHIVE file to get it in .DAT format?
    As per my knowledge,it's not possible to decode or move to .DAT format.
    3. Or Is there any other way to access the SAP data outside SAP in a report format.
    Refer my first response & the SAP note.
    Hope this will help you.
    Good luck !!
    Gaurav

  • How to use a data link file (UDL)

    Hi,
    several times I developed applications using Crystal Reports 2008 which used a data base on my development PC and when I deployed them on a production server I had the problem to change the Data Source Location to reflect the new Server name and SQL Server Instance. Moreover, this had to be done on the server, because CR 2008 check the new data source location when you change it, and because I was not connected to the server I couldn't do it on my development pc.
    I thought that the data link file was the solution to this problem, meaning that CR2008 could use a data link file (UDL file) as a data source location, so when deploying the reports on the server I had only to point the data link file to the new server instance.
    With my surprise, I have seen that when using a data link file to define the data source in CR 2008, it copies the definition found in it, instead of using it at run time. SO when I deploy the reports on the server I still have the same problem to change the data source location for all the reports.
    Perhaps I didn't understand the data link file use. So, how do I solve the problem of using a data source location that can be valid when deploying the reports on a server?
    Thanks

    Hi Antonio,
    Go to our download page above, there you will find samples to test with:
    http://www.sdn.sap.com/irj/boc/samples
    Or to .NET samples: http://www.sdn.sap.com/irj/boc/samples?rid=/webcontent/uuid/80774579-b086-2b10-db91-ed58c4dda375 [original link is broken]
    Find any of them that sets database location/log on.
    Thank you
    Don

  • How do I clear my temp files

    I am new to the OS operating system.  I would like to find all tmp files to delete them.  Where do I go to find them?

    On my windows computer I regularly run %temp% which brings up all my temp files.
    There's nothing like that on the Mac, and no need for it. Most temporary files are removed by logging out or rebooting, but there's no need for that either.
    How to maintain a Mac
    1. Make redundant backups, keeping at least one off site at all times. One backup is not enough. Don’t back up your backups; make them independent of each other. Don’t rely completely on any single backup method, such as Time Machine. If you get an indication that a backup has failed, don't ignore it.
    2. Keep your software up to date. In the Software Update preference pane, you can configure automatic notifications of updates to OS X and other Mac App Store products. Some third-party applications from other sources have a similar feature, if you don’t mind letting them phone home. Otherwise you have to check yourself on a regular basis. This is especially important for complex software that modifies the operating system, such as device drivers. Before installing any Apple update, you must check that all such modifications that you use are compatible.
    3. Don't install crapware, such as “themes,” "haxies," “add-ons,” “toolbars,” “enhancers," “optimizers,” “accelerators,” “extenders,” “cleaners,” "tune-ups," “defragmenters,” “firewalls,” "barriers," “guardians,” “defenders,” “protectors,” most “plugins,” commercial "virus scanners,” "disk tools," or "utilities." With very few exceptions, this stuff is useless, or worse than useless.
    The more actively promoted the product, the more likely it is to be garbage. The most extreme example is the “MacKeeper” scam.
    As a rule, the only software you should install is that which directly enables you to do the things you use a computer for — such as creating, communicating, and playing — and does not modify the way other software works. Use your computer; don't fuss with it.
    Never install any third-party software unless you know how to uninstall it. Otherwise you may create problems that are very hard to solve.
    The free anti-malware application ClamXav is not crap, and although it’s not routinely needed, it may be useful in some environments, such as a mixed Mac-Windows enterprise network.
    4. Beware of trojans. A trojan is malicious software (“malware”) that the user is duped into installing voluntarily. Such attacks were rare on the Mac platform until sometime in 2011, but are now increasingly common, and increasingly dangerous.
    There is some built-in protection against downloading malware, but you can’t rely on it — the attackers are always at least one day ahead of the defense. You can’t rely on third-party protection either. What you can rely on is common-sense awareness — not paranoia, which only makes you more vulnerable.
    Never install software from an untrustworthy or unknown source. If in doubt, do some research. Any website that prompts you to install a “codec” or “plugin” that comes from the same site, or an unknown site, is untrustworthy. Software with a corporate brand, such as Adobe Flash Player, must be acquired directly from the developer. No intermediary is acceptable, and don’t trust links unless you know how to parse them. Any file that is automatically downloaded from a web page without your having requested it should go straight into the Trash. A website that claims you have a “virus,” or that anything else is wrong with your computer, is rogue.
    In OS X 10.7.5 or later, downloaded applications and Installer packages that have not been digitally signed by a developer registered with Apple are blocked from loading by default. The block can be overridden, but think carefully before you do so.
    Because of recurring security issues in Java, it’s best to disable it in your web browsers, if it’s installed. Few websites have Java content nowadays, so you won’t be missing much. This action is mandatory if you’re running any version of OS X older than 10.6.8 with the latest Java update. Note: Java has nothing to do with JavaScript, despite the similar names. Don't install Java unless you're sure you need it. Most users don't.
    5. Don't fill up your boot volume. A common mistake is adding more and more large files to your home folder until you start to get warnings that you're out of space, which may be followed in short order by a boot failure. This is more prone to happen on the newer Macs that come with an internal SSD instead of the traditional hard drive. The drive can be very nearly full before you become aware of the problem. While it's not true that you should or must keep any particular percentage of space free, you should monitor your storage consumption and make sure you're not in immediate danger of using it up. According to Apple documentation, you need at least 9 GB of free space on the startup volume for normal operation.
    If storage space is running low, use a tool such as the free application OmniDiskSweeper to explore your volume and find out what's taking up the most space. Move rarely-used large files to secondary storage.
    6. Relax, don’t do it. Besides the above, no routine maintenance is necessary or beneficial for the vast majority of users; specifically not “cleaning caches,” “zapping the PRAM,” "resetting the SMC," “rebuilding the directory,” "defragmenting the drive," “running periodic scripts,” “dumping log files,” “scanning for viruses,” "purging memory," or “repairing permissions.” Such measures are either completely pointless or are useful only for solving problems, not for prevention.
    The very height of futility is running an expensive third-party application called “Disk Warrior” when nothing is wrong, or even when something is wrong and you have backups, which you must have. Disk Warrior is a data-salvage tool, not a maintenance tool, and you will never need it if your backups are adequate. Don’t waste money on it or anything like it.

  • How to create a data load file from Excel !!!

    Hi All,
    I'm new to HFM and would like to load data into an HFM application. As I have an Excel file with all the data. When I'm directly loading the data it throws an error saying "No section has been specified to determine if this is data, description or line item detail". How can I convert this excel file into proper format (.dat) file understandable by HFM ?

    There are several ways to get this data into HFM.
    1) FDM - best option if you have it
    2) Webforms/Data Grids
    3) HsSetValue formulas in Excel
    4) DAT file loads
    5) JVs, etc
    If you wish to use DAT files created via Excel, you will likely want to use Excel VBA macros to create your DAT file to load. We do this on occasion for special projects and it works quite well. What you can do is set up an Excel file with your data inputs to look however you want, then link your POV members and amounts to another tab (we commonly call this the Export tab and it is set up in an HFM-friendly format).
    Create a macro to write a DAT file to a specified location using data from the Export tab. The DAT file will need to be formatted as below. For a specific sample, you can extract data from your HFM app and see the format.
    !Data
    Scenario;Year;Period;View;Entity;Value;Account;ICP;Custom1;Custom2;Custom3;Custom4;Amount
    Scenario;Year;Period;View;Entity;Value;Account;ICP;Custom1;Custom2;Custom3;Custom4;Amount
    Scenario;Year;Period;View;Entity;Value;Account;ICP;Custom1;Custom2;Custom3;Custom4;Amount
    Scenario;Year;Period;View;Entity;Value;Account;ICP;Custom1;Custom2;Custom3;Custom4;Amount
    Scenario;Year;Period;View;Entity;Value;Account;ICP;Custom1;Custom2;Custom3;Custom4;Amount
    Brush up on Replace, Merge, or Accumulate load options in the HFM Admin and User Guides, then upload your new DAT file.

  • How to access sap data which in our program

    Hello
    I am using a custom program in which i am calling sap standrad includes. in one of the sap standrad include ,one internal table is getting filledup.now i have to display a message in my program based on that internal table.how to access the data in my program?

    Hello Raj
    Please go through the sample code bellow, which may solve your problem
    DATA: profile TYPE TABLE OF user04 .
    CALL FUNCTION 'SUSR_GET_PROFILES_OF_USER_RFC'
      EXPORTING
        user_name       = sy-uname
      TABLES
        profile         = profile
      EXCEPTIONS
        user_not_exists = 1
        no_authority    = 2
        OTHERS          = 3.
    IF sy-subrc .
    WRITE : /  l_r_usr02-ustyp.

  • How do I clear up Temp files from Photoshop to gain more space in my HD?

    How do I delete temp files created by Photoshop? I can't find these files.
    I only have one HD. It says capacity is 243.22 GB and available space is 1.58 GB. I already backed up my personal files so I expected it should have more disk space but it didn't.
    How can something use up 243 GB space in my mac?

    "I would suggest reporting back before deleting anything, unless you really know what it is."
    I am going to be back in here shortly after using OmniDiskSweeper. I just have a one month old infant on my lap who needs attention, that's why.
    Yes, I really wouldn't know what files are to be deleted safely. OmniSweeper doesn't tell me that. But at least I know what is taking so much big space in my HD, what program I can survive without it so I can sort it out which to delete or not.

  • How do I delete data (mail, files, photos, etc) from iCloud?

    I'd like to stay below 5Gb on my iCloud account.  How can I delete data from ICloud once it's there?  For instance, once I've transferred files from my iMac to iPad (or downloaded and deleted Mail from both) do these data accumulate on my iCloud account, or can I selectively delete some.  A corollary question is whether synched data, such as mail, is automatically deleted from iCloud if I delete it from all synched devices. Thanks!

    It appears you cannot delete
    https://discussions.apple.com/thread/3104002?start=0&tstart=0

  • I want to delete temporary internet files. Notice I did not say clear the cache. That does not work! How can I delete the temp files? Why did you take that feature away? VERY frustrating that you would do that!

    I search for how to delete temp int files and keep coming up with the "clear cache" crap. That is not what I searched for. Clear cache does NOT delete the temp files. Why would you take that feature away??

    The Windows temporary internet files folder isn't used directly by Firefox. Firefox uses its own cache folder and you can see its current usage on the about:cache page via the location bar.
    If anything does show up in the temporary internet files folder then it is likely caused by using MS plugins like the Windows Media Player or Silverlight. You need to clear that folder via IE or the control panel (internet settings).

  • How t o make data in file as tab delimited..

    Hi frndz,
      How to make data in file as tab delimited.

    For tab delimiting pl use the following snippet..I guess you are aware of the rest of the stuff..
    data: w_tab type c value cl_abap_char_utilities=>horizontal_tab,
          rec_file type string.
    concatenate <fld1> <fld2> ...<fldn> into rec_file
                   separated by w_tab.
    ~Suresh

  • How to handling Binary data and File operation?

    Hello Everyone,
    I think this question might have been asked a lot of time but I was unable to find one solution so, please help needed in this from all you guys..
    I am creating a byte[] of the media files of mp4, and jpg, using the below code,,
    File ff = new File(filename);
            fos = new FileOutputStream(ff);
            int b;
            byte[] f = this.getMediaFile();
            for (b = 0; b < f.length; b++) {
                if (f[b] != -1) {
                    fos.write(f);
    fos.flush();
    fos.close();
    After i convert it i have to store it in the MySql Database as BLOB object, for retrieving byte[] from the database is simple i can do that also successfully with this code.java.sq.Blob obj = (java.sql.Blob) rs.getBlob("file");
    InputStream is = null;
    ByteArrayOutputStream bc = null;
    is = obj.getBinaryStream();
    bc = new ByteArrayOutputStream();
    int b;
    while ((b = is.read()) != -1) {
    System.out.print(b + " ");
    bc.write(b);
    Now the real problem is that when i want to recreate a mp4 audio or video file i am unable to do so, the file created is smaller in size and also it doesn't get played in windows default player nor VLC. I am able to get the image file of jpg format using the BufferedImage & ImageIO.writer();
    How do i do for mp4 file, have no clue for that.
    Pleases help out with this.
    Thanks..                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    if (f[b] != -1) {I don't get that line. What if you try to output the data without that condition, like this:
    fos = new FileOutputStream(ff);
            byte[] f = this.getMediaFile();
            for (int b = 0; b < f.length; b++) {
                 fos.write(f);
    fos.close();

  • How do i find apple temp files in win 7?

    hey guys
    i wanna reduce my othere file frm my ipod so as said by the apple customer care i need to delete the ipod temp files in my windows but i couldnt find that files in my pc i need to delet those so that i can reduce my other files when scyned back .... so plz help me guys
    thnks in advance
    regards...

    hey lllaass itworked manh after i deletng the temp files the othere files reduced to 0.48 gb after i deleteng and syncng it back thnks buddy .....

Maybe you are looking for

  • Payment to Vendor in FBCJ field Fund & Fund center required

    Dear Experts, I have a question, How can we make fields (fund and Fund center) required when we post the payment to the vendor (K) from FBCJ. I checked with field status group it is not working. I want to get the warning message if I don't enter or f

  • CIDX Adapter: HTTPS communication with certificates- Send of message failed

    Hi, As per a requirement, I have configured CIDX Receiver adapter so as to send a message to a URL. But unable to send a message and in the audit log of message monitoring it has run into error as given below: <i>Error during collaboration agreement

  • Accessing cache server of JRun

    Hi there, I am writing a .NET app that ports data from one database to another. The destination database is used by a JRun v3.01 server application. The cache server of JRun is used to store the next primary key for every table in the database (no au

  • Creative Cloud Server Error

    Creative cloud says my sync is turned off. I resume syncing and comes up with a Server error. I select more detail and I show all green arrows. First of all why does it says it's tuned off because I never turn it off in just about a year now and seco

  • Monitoring Unix Processes - User defined Metrics

    Hello, I would like to setup a metric to alert if one specific unix process goes down. Could some one share the steps? Thanks.