AL11 Directory - File Save

Hello Gurus,
I have written SAP ABAP program which calls FM 'SAP_TO_CSV_CONVERT'
to convert internal table data to .CSV Format.
I use OPEN and CLOSE Dataset to place the File in AL11.
Filepath/Filename is    '/usr/sap/trans/Credit Limit Interface for UK- File FTP
Old files should not be replaced ,  but each time a new file has to be generated and placed in the folder when program is run
to place file in AL11
Please help me on this.
Thanks
Supreeth M S

Hi,
In your Program, use "Concatenate" Statement and concatenate the File name and current date time.
Concatenate '/usr/sap/trans/Credit_Limit_Interface_for_uk_File_FTP' sy-datum sy-uzeit into GV_file_name.
So the File name will be unique and will not be overwritten.
Regards
Shaik

Similar Messages

  • How to upload  and download a files into AL11 directory in ABAP

    Hi,
                   How to upload  and download a files into AL11 directory in ABAP
    thanks
    Moderator message: please search for available information/documentation.
    Edited by: Thomas Zloch on Mar 21, 2011 9:18 AM

    You should try one of these forums for an answer to your question:
    http://swforum.sun.com/jive/forum.jspa?forumID=116
    http://community.java.net/netbeans
    http://linux.java.net

  • Write to excel file (into AL11 directory)

    Hi,
    I am able to loop an internal table and write to csv file in AL11 directory.
    But how to write to excel file instead of csv file. And how to format the excel file (for example, column B should be format to numeric and column E should format to date format), and are we able to put like red color on column C for example?
    Thanks in advance.

    Hi,
    You need to add the tab inbetween all the fields of internal table and upload to application server using
    OPEN DATASET
    TRANSFER
    CLOSE DATASET.
    to add the tab inbetween the fields..you can use this code....
    concatenete itb-field1 itab-field2......... into string seperated by CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.
    one exception whicle uploading data to the Application server you need to convert dec or currency field to char type otherwise it will give you short dump.

  • After completing my upgrade to Adobe Reader 11.0.10 When I attpemt to use "Tools/File/File Save As" from IE 11 I get a "Adobe Reader is not Responding" and my browser is locked up.

    After completing my upgrade to Adobe Reader 11.0.10. when I attempt to save an online PDF to my local drive I receive a blank window where I would expect to see file directory structure to save to.
    No local directories are displayed for "Saving To", it is all blank.   When I try to Close (by clicking X)  the "File Save As" box a message pops up on top that says "Adobe Reader is not Responding"  It locks up all of my IE windows, not just the one with the PDF doc.
    I then need to go Task Manager and stop the IE task.  All my browser windows are then closed.
    That is the only way to recover from the "Adobe Reader is Not Responding" message.
    This was not happening in previous versions of Reader.
    Tolls/File/File Save As always worked properly.
    I have installed IE 11 (11.0.9600.17690)

    Please don't post the same question multiple times!

  • Application Server Directory file attributes lists

    Hi,
    I'm searching for Funtion Module or Method to get Application Server Directory file lists with all attributes.
    1) FM 'SUBST_GET_FILE_LIST' is not getting midifued date and time.
    2) Method CL_GUI_FRONTEND_SERVICES-DIRECTORY_LIST_FILES is getting local directory files.
    I'm looking for standard way to get all attributes whatever we are seeing in AL11 transaction like Name, Length, Creator and last changed date and time stamp-
    ...Nandha

    Hi
    The fm SUBST_GET_FILE_LIST is right but you need to convert the date and time by your self, u can use this routine:
    PERFORM P6_TO_DATE_TIME_TZ(RSTR0400) USING FILE_LIST-MTIME
                                                     FILE_LIST-MOD_TIME
                                                     FILE_LIST-MOD_DATE.
    Max

  • File-Save As Behaves Badly

    There are really two conditions I can't solve, both related to the File:Save As... menu item in Acrobat Pro v9.1.2...
    I should note that I have Acrobat Pro 9.1.2 installed, and I'm running Safari 4.0.2 (5530.19) on an MBP 2.5GHz C2D with 4GB of RAM. OS X v10.5.7 totally current.
    Condition 1:  When I grab a PDF document from a web page, it opens in it own Safari Window just fine, as expected. I get the Adobe Plug-in Tool Bar as expected. So now I want to File:Save As the downloaded document that I am now looking at in my Safari window
    I select File:Save As... and the expected dialog opens and the document title always defaults to 'downloadDocument' instead of the actual name of the file that I have grabbed, even if the html has passed the true file name to the browser and plug in. This means I have to retype the name of the document before I click OK. What a pain......
    I cannot find a preference or other setting that would be controlling this. I've looked through the Safari Prefs and the Adobe Prefs
    How do I get the default file name in the File:Save As dialog to be the name of the file I have grabbed?
    Condition 2:  Assume I am grabbing a number of PDF documents in sequence this way, and I want to save them all into the same target folder on my local drive or a mounted network share point.  So I grab the first file I want, retype the name of the file because it is now called 'downloadDocument', and then navigate to the desired target location and save the file.
    Now I grab the second through 'n'th PDF document in series, invoke File:Save As... again each time, and have to retype the correct name of the file each time, and then save each one.  you might think that Acrobat Pro would remember the last used target directory and open the File:Save As... dialog at that location on the target drive each time after the first time.  But no, it seems to point where ever it wishes to point.  And I can't find a preference to set.  Can't find any place to tell Acrobat Pro to always default the save to the same place as the preceding file.
    So it is insult upon injury.  Not only do I have to retype the name of every file.  I also have to navigate again to the desired target storage location for each and every file I download.
    This is clearly a pain, not very user friendly or efficient, and very frustrating.
    Can anyone help????
    TIA

    File save as does not work that way for me, something is up. I'd suggest two things to try:
    1) What happens if you try a different user? If this works properly you most likely have some sort of preference file corruption.
    2) Use applejack or onyx to remove your system and/or user cache.

  • File Save Dialog does not show web folders

    Hi.
    My system is SAP ECC 6.0. From custom abap program, I need to be able to navigate to a sharepoint folder and save a file to it. I call METHOD cl_gui_frontend_services=>file_save_dialog for this. I have already mapped/added the SharePoint site (ex. http://abc/xyz/) to My Network Places. However, when I run my program, the File Save Dialog does not show the web folders in the said sharepoint site. Any clue to what I'm missing here? In WiinExplorer, I have no issue navigating/accessing the web folders.
    Thanks in advance.

    project manager
    um, yeah.
    Should not need the project manager simply to see new files added to a directory in a Open/Save dialog window since last opening the app.
    I did a scan, a extended scan, opened all the little turn down arrows of the
    full path to the directory I knew there to be the new files and yes, Logic
    shows them there in the "Project manager".
    BUT Logic still does not show the files in the Open/Save dialog windows.
    This is strange because even simple app like TextEdit can show
    new files in it's Open/Save dialog function windows without the need of
    a project manager.
    I have to quit and re-launch each time to see any new files?

  • File- Save As not working

    I may be doing something stupid, but when I am editing a package and click on File->Save As, the location dialog box appears, I then select my directory and relevant file name and click on Save. At this point the Save Button is just greyed out and the file isn't saved. Any ideas?

    I am also getting this, I'm on Mac OS x and I also have a stacktrace on offer:
    Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: oracle.dbtools.raptor.navigator.plsql.PlSqlNode
    at oracle.ide.cmd.SaveAsCommand.getElementOwner(SaveAsCommand.java:113)
    at oracle.ide.cmd.SaveAsCommand.approveNewURL(SaveAsCommand.java:653)
    at oracle.ide.cmd.SaveAsCommand$SaveURLChooser.approveSelection(SaveAsCommand.java:1163)
    at oracle.ide.net.URLChooser$Dlg.dismissDialog(URLChooser.java:3776)
    at oracle.bali.ewt.dialog.JEWTDialog$UIListener.actionPerformed(Unknown Source)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
    at java.awt.Component.processMouseEvent(Component.java:5554)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
    at java.awt.Component.processEvent(Component.java:5319)
    at java.awt.Container.processEvent(Container.java:2010)
    at java.awt.Component.dispatchEventImpl(Component.java:4021)
    at java.awt.Container.dispatchEventImpl(Container.java:2068)
    at java.awt.Component.dispatchEvent(Component.java:3869)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
    at java.awt.Container.dispatchEventImpl(Container.java:2054)
    at java.awt.Window.dispatchEventImpl(Window.java:1774)
    at java.awt.Component.dispatchEvent(Component.java:3869)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:180)
    at java.awt.Dialog$1.run(Dialog.java:517)
    at java.awt.Dialog$2.run(Dialog.java:545)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Dialog.show(Dialog.java:543)
    at java.awt.Component.show(Component.java:1300)
    at java.awt.Component.setVisible(Component.java:1253)
    at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
    at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
    at oracle.ide.dialogs.WizardLauncher.runDialog(WizardLauncher.java:55)
    at oracle.ide.panels.TDialogLauncher.showDialog(TDialogLauncher.java:202)
    at oracle.ide.net.URLChooser.showDialog(URLChooser.java:1517)
    at oracle.ide.net.URLChooser.showSaveDialog(URLChooser.java:1225)
    at oracle.ide.cmd.SaveAsCommand.saveFileDlgOK(SaveAsCommand.java:176)
    at oracle.ide.cmd.SaveAsCommand.doSaveAs(SaveAsCommand.java:209)
    at oracle.ide.cmd.SaveAsCommand.doit(SaveAsCommand.java:89)
    at oracle.ide.controller.CommandProcessor.invoke(CommandProcessor.java:221)
    at oracle.ide.IdeController.handleEvent(IdeController.java:692)
    at oracle.ide.controller.IdeAction.performAction(IdeAction.java:551)
    at oracle.ide.controller.IdeAction$2.run(IdeAction.java:804)
    at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:823)
    at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:521)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:334)
    at apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:104)
    at java.awt.MenuItem.processActionEvent(MenuItem.java:597)
    at java.awt.MenuItem.processEvent(MenuItem.java:556)
    at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:298)
    at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:286)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:466)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

  • File Save As bad filename

    Select File|Save As. Type in filename "p:\uams\sql\test.pks" hit enter. Save button is now disabled (dialog is not closed, very annoying...please close dialog after save). That is not the problem. Check directory No file named test.pks. File named jdev8684.pks is there. This is the right content, but the filename is not close.
    Enhancment, save package spec as .pks and body as .pkb.
    TIA

    Great news about fixing the file saving, I have been using Raptor v2 for a while, and that is the most painful problem I have encountered. Saving a file with my extension and if Raptor remembered where I was saving too, between file saves, would be great.
    Thanks again for the nice product
    Scott

  • Saving a file - Save as type

    I would like to have a file-save dialog with the standard drop-down list with pre-defined file types as seen in most programs today. However, in LabVIEW I cannot find a simple way of doing this. Any suggestions?

    LabVIEW-guru,
    Thanks for your suggestions.
    Before I posted this question I was actually contemplating on writing my own VI for doing this. I started the effort but soon I decided to not continue. Why? Well, why did I want this functionality in the first place?
    My goal is to have a LabVIEW application that does not shine “I am written in LabVIEW”. With LabVIEW 6i it is almost possible to do this. Almost. I am a Die Hard supporter of LabVIEW and I am more than happy with the power LabVIEW 6i gives me in creating programs for controlling my measurements.
    Ok, so what options did I have for this particular application. The obvious solution is to first have a pop-up dialog that asks for the desired format. The program
    then uses this information when calling the standard dialog for saving a file. However, doing this leaves behind a sense that this is a home-brew solution. The suggestion you had of writing my own VI seems the best way to do it. But! The listbox, that one needs to list the directory, with its symbols does not look exactly as the windows equivalent. I have not figured out how to get the symbols in color. Also, I faced problem with the dialogring used at the top for selecting higher level directories. It seems that I cannot use symbols in it. Those two problems defeat the purpose by writing my own VI. If I can’t get it to look like a standard save-dialog, I might as well go for the fist solution, which is by far easiest, using an extra dialog asking for the file format.
    But who knows... in LabVIEW 7i (?) I might be able to just wire an array of strings to the file dialog to be used for the Save-as-type selection.... If NI is listening...this would be a neat feature!!
    Thanks a
    ll for being part of DE! It is a big help for us all! /Mikael Garcia

  • File Save As....   question

    I am building an intranet site for a client that will contain
    a lot of Word
    documents & Publisher files. The ideas is to have the
    real estate agents log
    into the site, grab a file and change the file to suit their
    tastes. Is
    there a way to force the agent to do a "File Save As..." and
    make sure they
    don't overwrite the file on the server? Two ways I have
    thought about:
    1. Make the files Read Only, but that still doesn't force
    them to save a
    copy on their computer
    2. Make the whole directory Read Only & write protected
    but the problem is
    still there.
    Any ideas?
    Scott Whittaker
    SonoranSites
    [email protected]
    www.sonoransites.com

    "Scott Whittaker" <[email protected]> wrote in
    message
    news:ehb99n$8au$[email protected]..
    > I am building an intranet site for a client that will
    contain a lot of
    Word
    > documents & Publisher files. The ideas is to have
    the real estate agents
    log
    > into the site, grab a file and change the file to suit
    their tastes. Is
    > there a way to force the agent to do a "File Save As..."
    and make sure
    they
    > don't overwrite the file on the server? Two ways I have
    thought about:
    >
    > 1. Make the files Read Only, but that still doesn't
    force them to save a
    > copy on their computer
    > 2. Make the whole directory Read Only & write
    protected but the problem is
    > still there.
    If you truly change the attributes of a directory Read Only
    then there is no
    way a user can overwrite files within that directory.

  • File save as command

    Hi is there a way to get acrobat to retrieve data from the first form input field and then use it in the file naming convention when using the "file save as" command. is there a javascript or something to do this?
    In other words, I have a savable form that I created. it is going to be a template that will be filled out by people in my organizatin. Once they complete the form, they will save it to a network directory. I don't want it saving as the same file name and having people accidetnaly overwriting files already saved. Some people are not smart enough to change the file name. I would like acrobat to retrieve informatino from the first input field and use this as the name of the file to be saved. MS word does this when you create a document. I don't see why acrobat can't do it either....many thanks for anyone that can help.

    The only way is to install a folder-level JavaScript file on each user's system or use a certified document and get the users to trust it for restricted JavaScript. For more information, see this fie tutorial: http://acrobatusers.com/tutorials/how-save-pdf-acrobat-javascript

  • Server Directory/File Access Security Auditing - Is This Possible on OSX Server?

    I am looking for a solution that will give me the ability to monitor/audit who access what file, when, and if possible,  give alerts to the "owner" of the directory/file or to the system admin when someone access something on our OSX file server.

    First of all lets call it Flash Media Interactive Server (adding Streaming becomes little confusing to readers as we have Flash Media Streaming Server) - both are FMS but two different edition.
    Now coming to FMIS, you can place all your video files in "streams" directory of application in the simplest configuration and then use Server-side API Class "Stream" to play them. When you use Stream class to play VOD files, it basically becomes live publish and is available as live stream. I will give you simple code snippet which will explain what i am saying above:
    var myStream;
    application.onAppStart = function(){
         myStream = Stream.get("livestream");
         myStream.onStatus = function(info){
              trace("Info code:"+info.code);
        myStream.play("mp4:myvod.f4v",0,-1,true);
    Now client will subscribe to live stream using stream name as "livestream" and it will basically get all the content of mp4:myvod.f4v
    Say if you save above code in file named main.asc and place it in application folder named "test" on FMS, you will need to copy "mp4:myvod.mp4" inside "streams" i.e. create "_definst_" folder or any instance name folder under "streams" folder of "test" and place the file there
    Hope this helps

  • CS4 apps are VERY slow to open Windows file browser with File Open or File Save As commands

    We are running CS4 on Windows 7 with all available updates installed.   Photoshop and the other CS4 applications are VERY slow to open a Windows file browsing window to select files when File Open or File Save As menu options are run -- it can take as long as a minute or two for the window to open.  Once the window opens and a file is selected, then opening or saving the file is very quick.  The location of the default directory, whether it is on a local drive or a network drive, makes no difference.  Any suggestions as to what the problem might be?

    Raphman02
    The link that I posted earlier is off.  Read this one
    http://support.microsoft.com/kb/2501584.  I discovered in my network that the MS Office File Validation Patch made excel crawl when opening over the network though nothing else changed. At the time I was opening Excel on Office 2003.
    You can manually turn this off by editing the registry and tunring it off.  Going forward I skipped the patch to keep my sanity.  Not sure if this is the same as your issue, but the support article will go into detail how to either have Fix it
    clear the issue or change the proper registry keys.
    Hope this helps

  • [Solved] File "Save As" takes more than 20s before dialogue box opens

    Whenever I use File "Save As" in any non-kde application (eg firefox, medit, kino), the dialogue box opens immediately but then takes more than 20 seconds to display the contents of the initial directory, after which I can then save the file. Alternative directories can then be selected instantly without problem.  Starting File Save As again, causes the same long delay, so its not a caching issue.  This occurs in XFCE4, LXDE & KDE.
    KDE apps, however, list the contents virtually immediately, indicating that its not a disk or filing system problem.
    The XFCE4 theme (under Appearance > Style)  is Foresight, and the icon theme is Nuvola.  Changing these does not make any apparent difference.
    This is on a SATA drive with 84 GB free running Arch 64.
    Can anyone suggest how this can be rectified?
    Last edited by Cotton (2010-01-01 19:19:12)

    Many thanks for that - problem solved. 
    The file contained 323 lines pointing to a single directory with multiple subdirectories, none of which was a removable device.
    Moving the file to another location, resulted in the File Save As operation functioning properly.
    Not sure if I actually use gtk-bookmarks as it hadn't been modified in over 6 months.
    Anyway, thanks again - its made a big difference.

Maybe you are looking for