Save the file and give date & time stamp

1. Reading the Excel file from the selection screen as a parameter.
2. Using F.M. ALSM_EXCEL_TO_INTERNAL_TABLE reading Excel file into
    Internal table.
3. Implementing the Business Logic.
4. Move output to Final Internal table.
5. Final internal table should generate a Flat file. By using GUI_DOWNLOAD.
6. That flat file should be saved with the name and location given in the Excel.
7. When ever I run the program output file will generate in the same location but with date and time stamp. Because I’m running the program for range of employees say initially I run for 1 – 10,000 employees next 10,001- 20,000 like that.
Whenever I run for 2nd time it will overwrite the previous output, that’s the reason I’m using date and time stamp.
Eg:
PERSONAL Numbers              Name                                         Location
00000001                 xxxxx-24.04.2007-10.30          C:\        
00000002                 xxxxx-24.04.2007-10.35
00000003                 xxxxx-25.04.2007-10.40
00000004                                  xxxxx-25.04.2007-10.30
Can any one help me how to save the file and give date & time stamp through hardcode?
please help me in this issue.

I am not clear with your problem. Based on the understanding of your question,
there  can be two cases.
1- U want to insert time stamp in the output file.
2- Time stamp is already there, u just have to solve the overwriting issue.
If your question goes with option 2, You can make use of import parameters
<b>CONFIRM_OVERWRITE</b> : Which will ask for confirmation before overwriting.
<b>APPEND</b> : which you can choose either to append the data to the existing file or overwrite it.
Please inform if the issue is not resolved.
Message was edited by:
        BINU RAJ BINU

Similar Messages

  • I installed 4.0 and cannot print anything. I uninstalled and installed 3.6 and cannot print anything. Everything has a .tif extension and wants me to save the file and I just want to print a selection from my email!

    I have had nothing but grief since I upgraded to 4. It is hateful. I can't print anything. If I highlight something from a website or my email and tell the printer to just print the selection, it doesn't print. It wants me to save the the file and they all have a .tif extension and nothing will print. I have uninstalled 4 and gone back to 3.6 and the problem is still there. If I highlight the desired selection and copy it to Word 2003, it will print what I want, but I can't print anything from the browser itself. That is the only problem I'm aware of so far. I upgraded about a week ago at most, maybe less than that. I'm so sorry I did. Why can't I print anything? I don't want my selection to be a file, I just want it to print!

    Thank you, but it didn't work. My printer stays on away, independently of the PC. I can print from Chrome and IE7 with no problem but not Firefox. The .tif extension refers to a tagged image something. I went looking around in the control panel and I found that Microsoft Office has it's own Access Snapshot Viewer. My company installed Office 2003 on my PC but I only use Word in my work. This snapshot viewer was listed in the control panel under Printers and Faxes. It was not the default anything but for some reason, Firefox 4 installation must have kicked it into gear. I've had the Office software for several months with not one problem. I have Firefox4 for less than a week and everything becomes difficult. I deleted the Office snapshot viewer (hope I don't get fired for it) so my little HP printer is the only one listed and now things seem to be working okay. I have FF 3.6 back up and running. I didn't lose any data and I hope the support and security updates stay available for a long time because it seems like there are plenty of people who aren't in love with FF4. Thank you so much anyway for your help.

  • Video and photo date&time stamp (nokia 5800)

    Hi,
    i have the nokia 5800 and i'm having a strange problem.
    i had to format my memory card so i copied everything to my pc, and after i formated it i copied everything back to the memory card.
    now if i open an image and check to see the date it's showing me the date and time i copied the file back to the memory card instead of the date&time i took the image.
    same thing with the videos.
    i have the same photos in my pc and when i check the exif data i can see the date when i took the photo.
    i opened the videos with "media player classic" and i looked for the "media info", and i can see there when the video was made but it's in UTC time.
    how can i make the phone read the correct time when the images and videos were taken?
    Thanks for any help,
    Erez.

    Sach1n wrote:I want to put Date & Time Stamp on photos clicked via Nokia 5800XM. Is it possible?
    Hi Sach1n
    Unfortunately that is not feasible but you can view the EXIF Data on the 5800XM with a python application as per screenshot here:http://i35.tinypic.com/ht9ovs.jpg
    Happy to have helped forum in a small way with a Support Ratio = 37.0

  • I can no longer directly print from the USPS print servelet. I now have to save the file and rename the extension to PDF load in another program to print. It used to be automatic. What happened?

    When trying to print from the USPS website (to print a label) when I click to pay and print instead of my print selection screen coming up I get the "Firefox doesn't know what to do with this" screen. THrough some web searching I found I can save the file, then change the extension to PDF and load it in another program and print but it adds two steps and is a real pain. Why would this have changed????

    It is possible that your anti-virus software is corrupting the downloaded files or otherwise interfering with downloading files by Firefox.<br />
    Try to disable the real-time (live) scanning of files in your anti-virus software temporarily to see if that makes downloading work.
    See also "Disable virus scanning in Firefox preferences - Windows"
    * http://kb.mozillazine.org/Unable_to_save_or_download_files

  • Read different language from the file and upload data

    Hi Expert,
    I am loading customer master data through BDC( trx-XD01) by reading a file from PC. The file contains customer data in different language like English, Chinese, and Japanese etc. However, when creating customer master data, only those data in English are able to create, as I am in English log on. The data in other language is showing garbage value. However, when I am logging in with that language (say Chinese) this time I am able to create customer for Chinese data but not for other.
    Can someone one help me to solve this problem – irrespective of language in the file and SAP log on, I should able create customer through my program.
    Thnx ,
    Deba
    Edited by: Debashis Mahunta on Feb 11, 2008 10:55 AM

    Hi Expert,
    I am loading customer master data through BDC( trx-XD01) by reading a file from PC. The file contains customer data in different language like English, Chinese, and Japanese etc. However, when creating customer master data, only those data in English are able to create, as I am in English log on. The data in other language is showing garbage value. However, when I am logging in with that language (say Chinese) this time I am able to create customer for Chinese data but not for other.
    Can someone one help me to solve this problem – irrespective of language in the file and SAP log on, I should able create customer through my program.
    Thnx ,
    Deba
    Edited by: Debashis Mahunta on Feb 11, 2008 10:55 AM

  • I can round edges of an object but how to I save the file and the logo will have rounded edges?

    Rounding edges of objects is easy but how to you save the file to have rounded edges?

    mercedesattig,
    If you round edges of objects, they should be rounded when you save the document, and when you open it again.

  • Help me in creating a collection of Themes. After I save the file and save, it says there is an error in the form.

    I need step by step instruction I think. I saved the icon as a png file. I browsed to the file and saved it. But it always returns the same error msg: "there is an error in the form"

    It might be because the new Firefox's are not compatible with many
    of the themes.

  • How to save an e-mail as an .eml format and customize the name of the file, for example the name of the file would be "date, time, sender, title"?

    It would be fantastic if when saving my e-mails to my computer the file name could be customized to be something different that just the title of the message. As I suggested in the question if it could be set up to be "date, time, sender, title" it would be great, a lot of help when passing an .eml file between co-workers, or simply organizing your e-mails in folders. Is it possible and if yes, how is it done?

    Install [https://addons.mozilla.org/en-us/thunderbird/addon/importexporttools/ ImportExportTools] and adjust the Options (see picture).
    http://chrisramsden.vfast.co.uk/3_How_to_install_Add-ons_in_Thunderbird.html

  • When I export a playlist and then open in excel, do whatever sorting I want, I then save the file and reimport into itunes but not all the songs are there. It appears to be from "comma's" in the song name. Any solutions?

    I see songs such as "Monday, Monday" or "Paint It, Black" or even the artist name such as "Fireballs, with Jimmy Gilmer" which have comma's in them, being a problem when I try to do the following:
    1. Export a playlist which contains songs which are all there and play fine, but some have comma's in the title such as listed above.
    2. I then open that file in Excel and bring it in as a Tab-delimited file.  Everything lays out fine, and all the songs are thing (including those with comma's).
    3. I then sort the varoius fields I want (which I can't do in i-tunes because i-tunes won't sort it properly), and resave the file as a newly named file, which is also a .txt file.
    4. I then import that playlist into my itunes. It is exactly the same songs that I just had exported but i-tunes says some of the songs can't be found.
    I have traced this problem to comma's in the file name of the song such as listed above.  There must be a solution to this either as the file is opened in excel or in how it's saved or some other solution short of having to rename song/artists without using comma's. 
    Thanks.

    The additional problem is the file name of the song itself.  Even if I were able to delete the commas or replace with a space for example, changing the file name would result in itunes not being able to find the file.  I would have to go through each file (out of about 15,000+ songs) to find any that have titles such as described in this thread and change not only the song and artist in the fields, but changing the mp3 file itself. 
    I fear that I am really pretty much going to have to start with a list of songs that have no comma and then do a file compare to find those songs with commas and then just physically moving them into a new playlist I'm trying to create, but this is a royal pain as I want to be able to create a variety of playlists based on these chart dates/peak positions. 
    I'm trying to sort the songs in this manner:  I use different fields in itunes so that I can put the "peak position" of each song based on Billboard charts, as well as the date the peak position was acheived. I use the "comment box" for that.  I use the "grouping" field for my peak position.
    So I end up with something like "10/14/1980" in the comment box as the peak position for a song which is in the grouping field, and so forth.  If I try to sort the comments column in itunes for example, it won't sort properly. If I sort the Grouping field, it will bring up all the "1's", but that's followed by "10", 11, ...19, then "2", etc.  This is why I want to export the playlist and sort it as I want, and then reimport the playlist into itunes. 
    What I'm ultimately trying to achieve is a year-by-year peak position playlist so that I end up with every #1 song (in this case) from, say, January 1st 1980 and then every #1 song in sequential order for the rest of the year falls in line.  I have chart position dates from 1955 through 1999.  I have entered in all the data from Billboard books I own so I can really create some amazing playlists, but these commas are problematic. Had I known this ahead of time I would have made "Monday, Monday" as "Monday Monday" and not included commas, but it's too late for that.
    Any suggestions?

  • Using the regex to match the file name with date time

    Hello all,
    currently I had problem to match the following file name with the date time. Of course I can use this regex like ""(\\\\w+|.+).(zip)" to match it. However in the current application i need to parse the file name and get the current date time to check if it is matched. Does anyone have good idea?
    {code}
    testfile10-08-09-2008-08-21-04-24-0443.zip
    testfile11-08-09-2008-08-22-04-24-0441.zip
    {code}
    thanks in advanced!

    lauehuang wrote:
    Hello all,
    currently I had problem to match the following file name with the date time. Of course I can use this regex like ""(\\\\w&#43;|.&#43;).(zip)" to match it.That regex doesn't make a lot of sense:
    - with "\\\\w" you probably meant "\\w";
    - "\\w&#43;|.&#43;" doesn't make sense: you can simply do ".&#43;" in that case;
    - ".(zip)" will also match the string "%zip" or "Ezip".
    However in the current application i need to parse the file name and get the current date time to check if it is matched. I don't know what you mean by that.

  • Copying/renaming a file w/a date/time stamp

    Java virgin here.....
    I am sure there is a post out here on this subject somewhere...
    I am trying to rename a file using the date and time EG: MYFILE05031223.txt
    Where 0503 is the date and 1223 is the time.
    Thanks....

    Thanks so much for your help...but seeing how I am a fullfledged newbie
    perhaps you can assist as to why this code will not compile...
    import java.io.*;
    import java.util.*;
    public class rename{ 
         public static boolean renameFile(File f) {                                                  
    DateFormat df = new SimpleDateFormat("MMddHHmm");
         String timestamp = df.format(Calendar.getInstance().getTime());     
         return f.renameTo(new File("Barcoden" + timestamp + ".txt")); }
    I am getting the following error msg's....
    C:\jdk1.3.1_08\bin>javac c:\JavaCode\rename.java
    c:\JavaCode\rename.java:17: cannot resolve symbol
    symbol : class DateFormat
    location: class rename
    DateFormat df = new SimpleDateFormat("MMddHHmm");
    ^
    c:\JavaCode\rename.java:17: cannot resolve symbol
    symbol : class SimpleDateFormat
    location: class rename
    DateFormat df = new SimpleDateFormat("MMddHHmm");
    ^
    2 errors

  • Save the day, and give me some advice please! Lost..

    My sister lost her black iphone 4s Verizon and we're sure it's been restored by whoever found the iphone. Is there any way we can still track after restore? What if we wait it out and hope this person turns on location services and/or uses the SIM card?
    We really don't know what to do, so please tell us anything that might help us and anything that won't. Muchly appreciated!

    No point in posting the same thing twice.
    https://discussions.apple.com/message/22139908#22139908

  • Error messages when sending date-time stamp to Oracle Database

      I have a complex application that communicates with an Oracle database.  One of the table values that gets written to the table is a date-time stamp.  Until recently, the user only required a date, and this was never an error. (The format String used was %d-%b-%Y)  Now they need a time-stamp as well, so I attempted to edit the format string input of the format date/time string function to include the time. I have tried numerous format strings, each of which returns an error on execution.  Depending on which format I use, I get one of 3 different error messages.  The really odd thing is that both the date and time always get stored in Oracle without any problem (regardless of what date-time I use, as long as I include the date and any part of a time stamp - I get the entire timestamp even if I only include %I for the hour).  The only issue is that LabVIEW generates an ODBC error if I try to include the time to the date-time stamp.  In other words, teh date/time stamp writes to the Oracle database, but an ODBC error occurs every time.  I've included a word doc with screen captures of the format strings used, the resultant date/time stamps written to Oracle and the error messages generated within LabVIEW. Any advice would be most appreciated.
    Attachments:
    Summary of ODBC Error messages related to date-time stamp.doc ‏65 KB

    Oracle has a standard date format: 12-Mar-2009 that it accepts as a string, but if you want more than that, you need to use the todate() function. I used this string going into the standard LabVIEW ''Format date/time sting vi' 
    to_date('%d-%b-%Y %H:%M:%S', 'DD-MON-YYYY HH24:MIS') to create the value needed for Oracle.
    Then I use standard format string to create SQL: insert into mytable (mydate) values(%s) and select * from my table where mydate = %s using the string above for %s.
    I think you can also define a global format for all time strings but I haven't bothered figuring that out.

  • Basic and scheduling  dates & time calculation in process order creation

    Hi guru's,
    i have one requirement, i need to calculate and display the basic and scheduled dates & times based on the given input i.e material , plant , process order type , quantity , UOM and scheduling type ( for corresponding scheduling type user will provide either start date or finish date ) using RFC. can  u plz provide any function module for this purpose or logic for calculating the same  , as i am working on version 4.7ee .
    Awaiting for a quick response.
    Regards,
    Madan

    Dear Rohan,
    1.Check the length of break timings defined in the resource that is assigned in the phase.
    2.Check in OPUZ whether for the process order type and plant combination whether scheduling is to include the break time also
    (whether the check box for scheduling with breaks) is included.
    Check and revert back.
    Regards
    Mangalraj.S

  • The export file from a calc script - naming and date/time stamp

    Here is a simple calc script to export data.
    2 questions:
    1. Is there an easy way to add a date/time stamp on the name of the data file so that it does not overwrite the older ones every time?
    2. I tried to specify the path so that it write to another server. "\\mfldappp011\E:\Exp_AW.txt". It's not working. How should I specify the path ?
    Fix (@Relative("Yeartotal",0),"Actual","Working",&ActualYear);
    Dataexport "file" "," "C:\Exp_AW.txt" "#MI";
    EndFix;
    Edited by: user9959627 on Sep 7, 2012 11:25 AM

    Probably easiest to call the maxl script from a command line script, then rename the exported file to include the tme stamp and copy/move it to a location.
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for

  • XSLT mapping problem

    Hi Im doign xslt mapping in XI bw two structures..while doing htis i have come across a requirment, where i have to map different values to nodes which are repeating in different sub structures. Ex: source structure and target structure are same..  

  • How do I add a variable into an object as xml

    I have a xml document with 2 protection order numbers. I want to get the information for one of them which is **protectionOrderNumber="1400042"**. I would like to add strPoNumber variable to the object objXmlCaseDoc. Inside this object is the xml tha

  • How to make metadata fields required when creating folders

    Hello all.... Related issue with SR 3-6472229431 and SR 3-6471130611. We're using DIS 11.1.6 64-bits (2011_11_29 (rev 9756) 11.1.6.97) in a Windows 7 64-bits workstation (with UCM 11.1.1.5 in a Linux machine). The check-in of images to UCM goes fine.

  • Windows doesn't recognise my reset iPod

    A couple of days ago my iPod started flicking through songs of it's own accord, as though I was pressing on the "Forwards" button repeatedly. I Reset it and now I get Three graphics appearing on the screen: The Apple Logo, A Sad iPod and a Battery (l

  • Forms 9i variable assignment BUG

    Hello All, I've been working with Forms 9i for a while now and on my current form and I am experiencing very weird bugs. All bugs seem to have the same nature of an Assignment taking place where the bug will occur. My form is a block to block form ,