Export to excel in WD ALV - file name change

Hello All,
As of now in standard WD ALV we have export to excel option which will pop a window to save the file with the default file name as excel.xls but we want to change the file name from Excel.xls to Download_username_date.xls at run time.
can you please help me for this requirement.
Thanks,
RaJ.

CL_SALV_WD_CONFIG_TABLE provides quite a few methods for the alteration of WD-ALV-Grid, maybe you can find something helpful here.
regards, Lukas

Similar Messages

  • Saving/exporting issue in Windows 7-file name changes when trying to navigate

    I just got Windows 7 on my computer and am running ID CS5. The weirdest problem happens when I try to save as or export a file. The dialog box comes up and normally, I would be able to select a folder I want to navigate to just by typing the folder name, but what is happening is that the first letter goes to a folder, but upon typing the second letter, it starts changing the name of my file.
    So for example, I am saving a file ABC.indd and I go to navigate to save it in a folder called Project XYZ. When I type in "P" to get to that folder name, it jumps right to the first folder starting with P. However, upon typing "r" my file name changes from ABC.indd to "r.indd." If I kept typing, it would become "roject XYZ.PDF."
    This happens when saving as a file or if I am exporting a PDF. Our entire marketing department or 6 people was recently upgraded from XP to 7 and we all have this problem in ID. This does not happen in Illustrator or Photoshop and it has our IT department baffled. It is driving us crazy though because we make dozens of files a day and now have to manually scroll through long file structures when exporting PDFs, which is so time consuming, not to mention aggravating.
    In searching for this problem, I found another poster on a different website who has the same issue, but no one had any suggestions.

    Tell whomever is emailing the file to zip it first.

  • IPhoto file names changed

    I have just noticed that in several of my events the underlying file name of several imported photos has been changed to my assigned Title.  Since I didn't think Apple provided a way in iPhoto for Mac to change the file name, and I am not digging into the file structure of iPhoto, I can't change the file name back to that assigned by the camera (and I don't necessarily know it anyway).  I see no obvious reason why specific file names were changed.  Is there some non-obvious way to change file names that I accidentally stumble upon?

    iPhoto 9.4.3.  Not sure what you mean by history.  It has been in use for some time.  No other obvious problems.  The file name changes, at least that I have noticed, are from this year and, in particular, this past week.  One other observation is that I only happened to notice because I exported a group of photos and saw that a few of the exported names did not have the camera assigned names and then I looked back at iPhoto (hovering the cursor over the title - which gives the file name).  Again, the files were exported as a group and no obvious reason for something to change for one rather than another file.  It is possible the change took place when I exported the photos rather than earlier as I had no reason to check.

  • InDesign CS4: File names change to string of numbers

    Occasionally, one of our users will save an InDesign CS4 file, only to have the file name change.  For example, a file originally named "#kwn25501.bcbsNM.indd" was saved as "#kwn25501.bc157-1223857848."
    If the user is not aware that this has happened, things can go horribly, terribly wrong in our production environment. The "numbered" file may be missing key elements, or be somehow be corrupt in some fashion. In one case, this led us to having to reprint a job because the "numbered" file was missing a photo; somehow, that file was used (and perhaps renamed after the fact) to create the final output.
    We use Macs running InDesign CS4 6.0.5. Some of our Macs are running Tiger 10.4.11, while others are running Leopard 10.5.8. The problem seems to related to the Leopard machines, although that is not 100 percent certain at this point. All of these Macs are bound to Active Directory and save files to a Windows 2003 server. I know Adobe recommends against working on files over a network, but perhaps there is an explanation for this file renaming aside from network issues.
    Any light that can be shed on this issue will be greatly appreciated. Thanks!
    Kevin Stauffer

    Check to see if maybe your original filename is the problem.
    You may need that particular name for a workflow reason, but some of the symbols in the middle of your filename are generally not a good idea. Especially working off of a server, file names should be ONLY alpha-numeric characters, no symbols, no periods (except for the file type) and only underscores or dashes to separate words, no spaces.
    The reason is some of those symbols get picked up as machine language and all sorts of bad can happen as a result.
    Message was edited by: Michael Riordan

  • When downloading files the file name changes name?

    When I download files from yahoo email account the file name changes from actual name to securedownlad.doc. Why is this happening and how do I stop it? Is it an email client issue?
    Example:
    Original file name in email to download is called GeorgiaTechstinks.doc
    when downloaded the dl box pops up and file name has changed to securedownload.doc.
    I have to go and manually change file name back to GeorgiaTechstinks.doc
    any help would be greatly appreciated

    See here for information.
    (24629)

  • Photoshop Elements 3.0 Back-Up - File Name Change

    I currently run Photoshop Elements 3.0. When I back-up the catalog from within Photoshop, the file names are changed (i.e 100_2424.JPG to BO00012). All of my Premiere Elements 7 projects point to the original file name. If I ever lost that original JPG file, the back-up file would be recovered, but would not be recognized by Premeiere Elements, and thus not be found. Why does the file name change after back-up? How can I retain the original file name during back-up? Thanks.

    Once you have taken the backup, all the files are renamed as you mentioned in the post. Its only when you restore the catalog through File->Restore, the files are restored by the original name.

  • File name changes when I sync videos

    As title says, when ever I load a video into my 3Gs Iphone the file name changes to a numerical one.
    How do I keep the original file name?
    As it is I can only sync 1 video at a time then rename it before adding another.

    Oops, Just realised I put this n the wrong forum. Just to clarify this is prerecorded video files.

  • CS4 Photoshop.exe file name changes

    Has anyone had the CS4 Photoshop.exe file change names? I have had this happen on a couple of computers, one machine it happened twice. When CS4 is installed, the Photoshop file name is Photoshop.exe, at some point, the file name changes to PHOTOSHOP_CS4.EXE. I'm going to check with our sys admins to make sure they aren't doing some software push that might be changing it, but thought I would post here in case it was a known issue.

    When you find the culprit you might let him know that different Photoshop versions always live in different Program Files subfolders.
    -Noel

  • Header of ALV with space when exported to excel using Standard ALV

    Hi,
    I am Using Reuse alv grid display    to dispaly my report and it works fine and I am using the standard SAP application tool to export it to excel.
    But for some of the header fields I am getting space in the excel sheet but there is no space while displaying through ALV.
    I am using the following field catalog for the same.
    wa_fieldcat-col_pos = 10.
      wa_fieldcat-fieldname = 'SOLLWERT'.
      wa_fieldcat-seltext_l  = 'text-t10'.      "Target value (* this has no space here)
      wa_fieldcat-outputlen = 32.
    wa_fieldcat-colwidth_optimize = 'X'.
      APPEND wa_fieldcat to it_fieldcat.
    but there are still space for this Colomn when exported to excel if after optimizing the column.
    kindly suggest what field needs to be passed to the field catalogoe to avoid spaces in excel for the header.
    Thanks
    Ritesh

    hey all,
    Thanks everyone for the reply.
    I am using the foloowing field cat:
    l_col_pos = l_col_pos + 1.
        wa_fieldcat-col_pos = l_col_pos.
        wa_fieldcat-outputlen = 32.            
         wa_fieldcat-fieldname = 'SOLLWERT'.
         wa_fieldcat-inttype   = 'P'.             
    *    wa_fieldcat-tabname = 'i_final'.      
        wa_fieldcat-seltext_l = text-t11.         "Target Value
        APPEND wa_fieldcat TO i_fieldcat.
        CLEAR wa_fieldcat.
    I have use this also in the field cat but stil i get space in the excel header.
    wa_fieldcat-REF_FIELDNAME = 'SOLLWERT'.
    *    wa_fieldcat-REF_TABNAME =  'QAMV'.
    Also the space comes with the descrip[tion in the cell of excel.
    its like [space Target Value] and i dont need this Space.
    I have also used  wa_layout-colwidth_optimize = 'X'. but it doesnt wrk.
    Please suggest

  • Cant use Export to Excel functionality for ALV if I add a custom button

    Hi,
      I have added a custom button the the ALV toolbar by creating a GUI status and using the USER_COMMAND event. However. Now I dont the get the standard ALV toolbar with all the options for sorting, exporting to excel etc.
      Can someone show me how I can do both, add my own button to the toolbar as well as use ALV Grid toolbar. Currently the ALV grid standard toolbar has disappeared
    Thanks for reading

    Hello,
    I am not sure how you are creating your ALV report.  If you are using FM REUSE_ALV_GRID_DISPLAY there is a parameter callled I_CALLBACK_PF_STATUS .  Read the documentation for this field from the doc for the FM.  It tells you to copy a standard PF status from fucn group SLVC_FULLSCREEN and then add your new button to that staus.
    If you are using class CL_SALV_MODEL_BASE there is a method called set_screen_status that lets you do a similar thing - copy an existing PF status and add your button.
    Hope that helps
    Regards
    Greg Kern

  • Naming PDF at export using a portion of IDCS4 File name(JS)

    I have a script that will use a PDF Export Preset to export each page of a document individually. The script uses the ID document's name and adds an "_Final".
    For example:
    ID docs name:
    138-140 TEST 10_WORKER.indd
    Final PDF's name:
    138-139 TEST 10_WORKER_Final_1.pdf
    138-140 TEST 10_WORKER_Final_2.pdf
    138-140 TEST 10_WORKER_Final_3.pdf
    The first three numbers represent the first page number in the document. I would like it to use these numbers and progressively add one to the following PDF page numbers. I am looking for it to do this while using our standard naming convention which looks like this. . .
    MYTEST_138.pdf
    MYTEST_139.pdf
    MYTEST_140.pdf
    Any guidance would be greatly appreciated. Thanks!

    The substr(start,length) stuff is in the OMV (under Javascript's Core Classes, class String -- and if you are interested in further developing your JS skills you might want to check my version of this clumsy system!).
    Shonky cuts off the first three characters and instructs Javascript to forcibly convert them to a number -- the parseInt command (and that's in the OMV Core Classes under "Global"). parseInt returns the numerical value of the string if it contains digits, or the special value NaN ("Not-a-Number") if it's not. Hence the 'typeof' check -- which, incidentally, I didn't know, but I can guess at what it does. I bet it returns 'true' if the variable contains a number, 'false' if not; and NaN is per definition not a number. (That's computer logic, that is!)
    The check is necessary because you want to add something to it as a number; and JS also allows 'adding to a string'. Suppose the first three characters are "hey", adding 1 to it would return the syntactically correct result "hey+1", but it's not what you want here (more computer logic!).
    The GREP you point to is quite a bit smarter than assuming the first three, and only three, characters are in fact digits. Some testing shows that this
    n = decodeURI(app.activeDocument.name).replace(/^(\d+).*/, '$1');
    alert (n);
    returns one single string consisting of all digits at the front of your file name. I had to try this out one character at a time ... but, eventually, it boiled down to this:
    ^(\d+).*
    ^  start of text
    (..) group number 1
    \d any digit
    + one or more of the preceding code
    . any character
    * zero or more of the preceding code
    $1 recall found group number one
    .. thus (you'll have to take my word for it) it puts all digits at the start of the file name into group one, gathers the rest, and replaces all of it with the contents of group #1 (which still contains the first digits, remember?). So the entire file name is replaced with just the digits in front.
    If you are thinking "Hey, I can use this", you are not done here. This GREP operation returns a string type, and to convert it to a number you have to tell JS to do so:
    n = Number(n);
    .. and now you can add 1 to it the usual way. It's also possible your file accidentally does not start with one or more digits, and in that case the variable 'n' will be empty, so you have to test for n = '' before converting to a number.
    The GREP is smarter, because it can find any number of digits, which would be a much more difficult task with plain string manipulations, and it automatically rejects (i.e., stops at) the first non-digit.

  • EP7.0 BI7 Report Export to excel - unable to read file

    Hello
    we have a EP7.0 portal that calls a BI7.0 BW report.
    Once the report is displayed and we select "export to excel" a pop up comes up and if we select "open" it calls MS Excel but then a pop up shows inside excel - "unable to read file".
    This also displays if we save the file locally then try and open it.
    Our Excel 2003 application is running on a citrix desktop.
    any help or ideas?
    Simon.

    Were you able to resolve this issue?  We are incurring now.

  • Scripting a file name change as a data merge element.

    My goal of the work being done with InDesign is to utilize the Data Merge functionality of InDesign and the, already available, ability to create a new document per record in your data source where the docuement name is changed based on data contained in the data source.
    A very simple example of this would be the following:
    EXAMPLE
    ======================
    Given the following data source in excel:
    First_Name
    Last_Name
    ResultingFileName
    George
    Smith
    c:\A45.pdf
    Mary
    Lopez
    c:\C99.pdf
    Steve
    Barns
    c:\tmp\XM96TR.pdf
    Along with a simple two text box InDesign documents, I would perform a standard data merge with First_Name linked to one text box and Last_Name linked to another.  By setting the “Record Limits Per Document” to 1, I would end up with three different documents.  By default, the documents would be named Untiltled-1, Untiltled-2 and Untitled-3. 
    Untitled-1 would contain George and Smith.  Untitled-2 would contain Mary and Lopez and Untitled-3 would contain Steve and Barns.
    At this point in time, I would run the new created script, which would do the following:
                Rename Untitled-1 to A45 and/or save Untitled-1 as C:\A45.pdf
                Rename Untitled-2 to C99 and/or save Untitled-2 as C:\C99.pdf
                Rename Untitled-3 to XM96TR and/or save Untitled-3 as c:\tmp\XM96TR.pdf
    I am open to modifying the manner in which the data merge source is created.  For example, separating the path and the file name into separate columns.  In addition, I am flexible in putting preset information and/or file save types into the data merge document.
    Please feel free to contact me directly at [email protected]
    Thanks in advance for the help.
    Matt

    Hi Matt,
    I think it’s better to use an XML-based approach for your task.
    I’ve never scripted Data Merge process, but I don’t see a straightforward way of doing it. May be you can create the 3rd textbox on pasteboard or a non-printing layer, which will contain the file path from ‘ResultingFileName’ field, and the contents from which can be used for naming & saving the current file and exporting it to pdf-file. But this approach is so clumsy.
    Instead, you’d better to keep your data in excel file, or even better Access or some other database program.
    Export the data from it in XML-format.
    Then import it to an InDesign file and process it by script. XML support is very powerful in InDesign: you can process your data by xml-rules. I once made a script for a newspaper, which processed data for classified ads. The script applied all formatting, changed colors for different headings and placed images.
    Kasyan

  • A Good Reference for Aperture, Versions, File Names, Changing & Moving

    I was wondering if there is a consensus on a good reference for understanding how Aperture handles files?
    Versions and file names.
    How do you change them in Aperture?
    What happens if you change them in Finder?
    Do I need versions? (can't I just us file names?)
    What about moving the masters, or changing where there are located at in Finder?
    Can I do that in Aperture?
    Can I only do that in Finder?
    Should I never do that in Finder?
    The reason I'm looking for a good reference is because I haven't found one. The user guide (or manual) that comes with Aperture doesn't help with these issues. Search file name and nothing comes back.
    I did get a copy Apple Pro Training Series book for Aperture 3. But I don't think it does a good job explaining how Aperture's file system works, especially in relation to Finder.
    Rather than fill this forum with endless questions (which could be answered by reading the manual and using it the software) I'd like to get a better understanding, from a good source.
    I've only used iPhoto for Mobile Publishing, ATV and now Photo Stream. I don't use it to organize my decades of photos. I don't like having all my photos inside a managed database, which I don't have to do with Aperture. I never understood why you'd want to change the name of a photo in iPhoto, when it never changes the file name. If you send it to someone, after you changed it's name, the other person gets the photo with the original (still in Finder) file name.
    Thanks.

    I never understood why you'd want to change the name of a photo in iPhoto, when it never changes the file name.
    This may help or not but here goes.
    There's a distinction to be made between files and the data they contain. The example I use is as follows: In my iTunes Library I have a file called 'Let_it_Be_The_Beatles.mp3'. So what is that, exactly? It's not the song. The Beatles never wrote an mp3. They wrote a tune, some lyrics, recorded it and a copy of that recording is stored in the mp3 file. The file is just a container for the recording. That container is designed in a specific way attuned to the characteristics and requirements of the data. Hence, mp3.
    Similarly that Jpeg / tiff/ raw/ whatever is not your photo, it's a container designed to hold that kind of data. And along with that data comes opportunities: Metadata, for a start. Exif and IPTC contain vast amounts of information - some it very basic, like the date and time the shot was taken - some of it quite complex, like a lot of details of the settings used in the camera.
    Aperture, iPhoto et al are all about the data and not the file. Import the file and forget about it. Process the image - crop it, fix red eye, run it through the whole gamut of tools in the App and the file never changes at all. Create multiple versions of the image. But there's still only one file. Name it. You name the photo - and that is an entry in the Exif or IPTC. The name of the photo has nothing to do with the name of the file. Because the file is just the tin for the beans.
    Even when you export, unless you specifically choose to export the Master, you are exporting the processed Photo into a different container - that's why you can export Raw as Jpeg, or Jpeg as Tiff. Because the process of export just puts the image into a new container.
    Basically, if you want to manage files you need to use a File Manager. But you're using a Photo manager and expecting it to behave like a file manager.
    And, of course, apps like Aperture and iPhoto have the option to use the Title of the photo as filename on export to the new file.
    Does that muddy the waters?

  • File name changed to "1.psd"

    During a PS CS5.5 session the default file name is changed to "1.psd" and the file is corrupted and unopenable.  This has happened on windows machines with several different OS, including XP64, Win7, and Win8.  Correcting the default name does not correct the corruption of the file.

    So you export a file from Lightroom to a Folder then open that file with PS, then have issues???
    Why are you not just opening the original file in PS directly from Lightroom?

Maybe you are looking for

  • Not possible to add a new call in agenda with N97 ...

    I can not add a new call in the agenda, I dont understand if is a limit of N97 mini. It's a strange situation because with all my previous Nokia phone that was possible. It's a very usefull function because I can start the call directly with alert st

  • How can I get iPhone 5 whithout contract and chipps?

    How can I get iPhone 5 without contract and chip to use in Brazil?

  • Swing Tabbed Pane Event

    Does anyone know how to put an event listenter/handeller etc on the event for selecting a tabbed pane from a tab. What type of listener is used and what event? I want to change the caption on a label when a tab is selected using the setText() method

  • EWA mail

    Dear Gurus i got the mail from sap service market place .. there is a EWA. Your system received an overall rating of yellow. This means that conditions were found in your system that may reduce its performance and reliability. Please refer to the rec

  • Disabled triggers in apps schema

    Hi all In my apps schema i can see too many triggers that are disabled! Is this a normal situation? I have lately convert my apps to multi-org.I have read some doc in metalink, that this situation can happen when converting to multi-org. Do i have to