How can I delete a file in AL11? Or rename it?

Hi experts!
I need to rename or to delete a file sites in Al11, can anybody guide me how can I delete or rename that file? The name is incorrect and there's a job how search for this file and is always running because the name doesn't fix with the good name...
Thanks in advance.
Regards,
Rebeca

Hi,
Check this sample code
OPEN DATASET p_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
  IF sy-subrc EQ 0. (File exists).
do nothing.
else.
throw error message.
      ENDIF.
  CLOSE DATASET p_file.
now use the below statment.
DELETE DATASET p_file.
Regards,
Nagaraj

Similar Messages

  • How can I delete a file from Adobe Acrobat Reader DC?

    How can I delete a file from Adobe Acrobat Reader DC?

    What operating system do you use? Where do you store the files?

  • How can I delete PDF files from my iMac desktop?

    How can I delete PDF files from my iMac desktop?

    Not on my system,When I try to dump if off in the trash it will not go. I get a message that says this file cannot be removed. I also tried going to File and clicking on Move to Trash. No dice.

  • How can I delete the files .DS_store in Mac OS Yosemite?

    How can I delete the files .DS_store in Mac OS Yosemite?

    The .DS_Store file is normal. It holds certain settings related to the folder it is found in. Removing these files is futile, as they will come back, as you have observed.
    If you are seeing them on your Mac, that means you have changed settings so that your Mac is showing invisible files in the Finder. To reverse that, run the following command in the Terminal:
    defaults write com.apple.finder AppleShowAllFiles NO
    This will hide them, and any other invisible files, from view.
    If you are seeing them on a Windows machine, just ignore them. They're not doing any harm.
    If you found a Terminal command that is supposed to stop them from being created, I would be extremely skeptical as to the wisdom of running it.

  • Time capsule intern.1TB hard drive.How can I delete all files

    Hello How can I delete all files from my timecapsule.
    I have connectet it with Wifi or ethernet. It is not possible.
    I have made a reset.
    I have tried it often.
    Please help
    Greetings from Vienna
    Pepimeier

    If you open Macintosh HD > Applications > Utiltiies > AirPort Utility and click Manual Setup, are you able to access the settings for the Time Capsule?
    Or, does AirPort Utility scan for the Time Capsule and then not find it?

  • Hallo! How can i delete my files wich are saved not on the C: drive?

    Hallo! How can i delete my files wich are saved not on the C: drive?

    I'm guessing there must be more to this question than you are stating.
    But to answer the question you asked, if you want to delete files that are not on the C drive, select the files and then delete them (press the Delete key, and then Delete from Hard Disk or not, your choice)

  • How can I delete large files on my MacBook Pro?

    How can I delete large files on my MacBook Pro? Also my Emails wont delete, how can I delete them?

    Which email client are you using & which version?   Your emails are not appearing in the email trashcan? 

  • How can I delete a file? At the moment I delete each pic and it takes ages! I tried select all and managed to delete all my 2300 photos!!  I've got them back but I've also got back 980 which I had already deleted 1 by 1 over the past 6 months!  Help!

    Please help! How can I delete a file without deleting all my photos?  I have just managed to delete all my more than 2000 photographs by choosing' Select all' and then delete. But I thought only 'all' the photographs in the file I had open would be selected! I have got them back, but I've also got back more than 800 others that I'd deleted SINGLY over the last 6 months! HELP!

    Put a Photo in the iPhoto Trash.
    iPhoto Menu -> Empty Trash
    This removes the photo from iPhoto and the Hard Disk (in every version of iPhoto except iPhoto11)
    In iPhoto 11 the file goes to the System Trash, you need to empty that too.
    Regards
    TD

  • How can I delete music files of the IPhone?

    how can i delete music files of the IPhone. I was already in ITunes, but this option was grey!

    Thx Allan, it was successful!!!!

  • I have sent a file to the trash bin. When I come to empty the trash bin everything goes out except this one particular file and I get a note saying the file is 'in use' but it is not. How can I delete this file from trash?

    I have a Macbook Pro with OS X Lion 10.7.2. I have sent a work file to the trash bin along with many other files. When I empty the trash this one particular file remains and I get a message that this file is still in use. I have tried returning the file to my documents, opening it, closing it and then sending it to trash and again I try to empty trash but the same message comes up - Q - How can I trash this file permanently?

    First just try logging out and back in.  Whatever is holding on to it may not be running after the logout thus freeing it so you can trash it after logging back in.
    You might also try Trash It!
    Lastly, look at the following for suggestions:
    The X Lab: Solving Trash Problems

  • How can I delete event files from iMovie to save disk space?

    I have been shooting a lot of HD video of my son's soccer games and am now realizing some of the problems with the newer iMovie 10.   It appears to not allow for partial video deletion of videos in events (really too bad because previous versions of iMovie did this really well),  And, sometimes it will not actually move the deleted file to the Trash to help free up disk space on the computer.  This is also a problem because I have to did around in the View in Finder mode to find the events I just deleted in order to move them to the Trash manually.  Yeegads!  All of this said, what I appear to have happening is a huge amount of video that I never plan to keep (most of a 90 minute soccer game does not make it into highlights -- imagine that?) clogging up my hard drive.  My poor computer needs to have a cholesteral check.
    Any advice on how to manage large video files 40 minute HD files within (or outside) of iMovie 10 so that I can efficiently eliminate irrelevant content and actually delete files to prevent disk overload would be greatly appreciated.  I am thinking about using iMovie 9 to edit down and delete the unwanted footage and then update the files into iMovie 10 for some of its bells and whistles any problems with that?
    I must admit, I think iMovie 10 is a failure in certain essential ways.  It dropped Keywords, its deletion is not true deletion, and it's all or nothing when deleting an event.  I have always been a huge Apple fan, but this new release of iMovie 10 has not been a good user experience for me. I have read a lot of feedback from others with similar problems and issues with iMovie 10 and would really like to understand what Apple plans to do to address some of these defficiencies in what will hopefully be a much better next version.
    Thanks for any help you can provide.

    Hi PGWilli,
    If you are satisfied with 8.0 then you shouldn't need 4.01 at all. As long as all your bookmarks and personal information are in the newer version, go ahead and remove the older version.

  • How can I delete multiple files at a time from "Finder"

    I can't possible delete the thousands of junk files that showed up in Finder once I downloaded Maverick.  I can't delete more than one at a time now.  Why won't the highlighting stay in place on more than one file that I want to delete?

    How are you trying to select multiple files?
    What makes you think that "thousands of junk files [...] showed up in Finder once I downloaded Maverick" (or even installed it)?

  • How can I delete orphan files from my itunes library all at once?

    My itunes library has 0ver 200k files and about 30,000 were on an external drive that crashed leaving me with 30,000 orphan files that I want to delete from the library. Too many to delete one by one, how can I either sort them by this field to select all with shift click or is there a script to delete them?
    Fausto

    AAC is Advanced Audio Coding.  Basically it's a format that sounds better than MP3 but doesn't take up as much space as a lossless format (like you'd have on a CD).  More than likely you've had that encoding turned on when you ripped your music into itunes (it's the default encoder).  Therefore your LG phone won't play them.
    You need to turn off the AAC format by going to the iTunes menu, Preferences, General (at the top), then clicking the "Import Preferences" button.  Change the AAC Encoder to MP3 Encoder.  After that you'll have to make MP3 copies of your songs by right clicking them and selecting "Create MP3 Version."  You'll get a copy of the song that should transfer to your SD card and have MP3 encoding.  Hopefully your phone will play that.

  • How can I delete temporary files in FF. This is very simple in IE but feature cannot be found in FF

    IE has a simple means to delete both cookies and temporary files. I can delete cookies in FF but there is no way found to delete temporary files. This is a design feature flaw I assume since I cannot imagine this feature is not in the design..just can't be found. I have no idea about the educated guess of "installed plugins". My use of Firefox is just plain vanilla. I've never added any plugins to it.
    Any help appreciated.

    See:<br />
    - https://support.mozilla.com/en-US/kb/Clearing+private+data<br />
    - https://support.mozilla.com/en-US/kb/How+to+clear+the+cache
    Also see: https://support.mozilla.com/en-US/kb/Options+window+-+Privacy+panel<br />
    Tools > Options > Privacy > "Clear history when Firefox closes" > Settings
    <br />
    The information submitted with your question indicates that you have out of date plugins with known security issues that should be updated. To see the plugins submitted with your question, click "More system details..." to the right of your original question post.
    * Adobe Shockwave for Director Netscape plug-in, version 11.0
    * Adobe PDF Plug-In For Firefox and Netscape 8.2.5
    * Next Generation Java Plug-in 1.6.0_21 for Mozilla browsers
    #'''Check your plugin versions''': http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Shockwave for Director'''
    #*NOTE: this is not the same as Shockwave Flash; this installs the Shockwave Player.
    #*Use Firefox to download and SAVE the installer to your hard drive from the link in the article below (Desktop is a good place so you can find it).
    #*When the download is complete, exit Firefox (File > Exit)
    #*locate and double-click in the installer you just downloaded, let the install complete.
    #*Restart Firefox and check your plugins again.
    #*'''<u>Download link and more information</u>''': http://support.mozilla.com/en-US/kb/Using+the+Shockwave+plugin+with+Firefox
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**Use Firefox to download and SAVE the installer to your hard drive from the link in the article below
    #**On the Adobe page, un-check any extra items (i.e. Free McAfee® Security Scan Plus) then click Download button
    #**If you see message just under tabs, DO NOT click the Allow button, instead click below that where it says "click here to download".
    #**Click "Save to File"; save to your Desktop (so you can find it)
    #**After download completes, close Firefox
    #**Click the installer you just downloaded and allow the install to continue
    #***Note: Vista and Win7 users may need to right-click the installer and choose "Run as Administrator"
    #**'''<u>Download link and more information</u>''': https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox#Installing_and_updating_Adobe_Reader
    #*After the installation, start Firefox and check your version again.
    #'''Update Java:'''
    #* Download and update instructions: https://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org/Java#Multiple_Java_Console_extensions
    #* After the installation, start Firefox and check your version again.

  • I download confidential info & save to a secured flash drive; how can I delete the file from "downloads" after that?

    I am a mental health professional. My supervisor emails me confidential information as Word documents, which I download using Firefox. When the download is complete, I open the document and save it to my secured flash drive. I would like to then delete the file from my computer, so the flash drive has the only copy, to protect my clients' privacy. The only directions I can find are for deleting the entry from the downloads list, but not the file itself.

    There is technology known as RMS which you could set series of policies like only members in the company could access certain documents and if someone copy them and attempt to run them in another PC or outside company, it won't work. Take a look at:
    http://blogs.technet.com/b/rms/archive/2013/08/29/the-new-microsoft-rms-is-live-in-preview.aspx
    https://technet.microsoft.com/en-us/library/dd277361.aspx

Maybe you are looking for