Delete a .csv file from desktop system

Hi All,
My requirement is to read the .csv file from the desktop system having the shared folder and delete the file after read successfully.
Here I can read the .csv file from the location using the function RFC_REMOTE_FILE and updated the content into internal table.
But I cant delete the file from the presentation server ( Desktop system).
Can anyone tell me how to delete the .csv file from the desktop system on different location.
Note:
I followed this link to read file:
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/9831750a-0801-0010-1d9e-f8c64efb2bd2&overridelayout=true

Hi Rob,
Thanks. I solved this problem myself.
The solution to delete the file from remote system is
concatenate 'DEL' i_filename i_dirname into v_bkfile separated by space .
call function 'RFC_REMOTE_EXEC'
  destination  c_dest
  exporting
    command               = v_bkfile
  exceptions
    system_failure        = 1  MESSAGE v_ermsg
    communication_failure = 2  MESSAGE v_ermsg.

Similar Messages

  • Cannot delete DEFAULT.BMP "file" from Desktop

    A symbol labeled DEFAULT.BMP mysteriously appeared on my desktop.
    When I try to trash it, I get a message saying it can't be moved to the Trash because it cannot be deleted. I tried command-i to see what it was, and if I could change its status there, but command-i didn't produce anything. As far as I can tell, it's a label, but nothing attached to it.
    I'd like to get if off my desktop. Any suggestions

    >Open the Terminal utility in your Applications > Utilities folder and
    >enter the following command:
    >
    >ls -la ~/Desktop/DEFAULT.BMP
    >
    >
    >Then copy the output into a reply to this thread so we can see what it is.
    Last login: Sun Dec  2 23:40:18 on ttys000
    localhost:~ Jerry$ ls -la ~/Desktop/DEFAULT.BMP
    ls: /Users/Jerry/Desktop/DEFAULT.BMP: No such file or directory
    localhost:~ Jerry$
    >
    >You can also try running the following command (copy it exactly as-is)
    >to attempt to forcefully delete the file (provide your password when
    >prompted to run this):
    >
    >sudo rm -rf ~/Desktop/DEFAULT.BMP
    All I got back was:
    sudo rm -rf ~/Desktop/DEFAULT.BMP
    Password:
    localhost:~ Jerry$

  • Cannot delete locked .INF file from desktop

    Okay,
    I go to a school where everyone can place everything into one server.
    Someone put an autorun.inf virus in all the folders, including mine.
    I ended up having the virus on my flashdrive, but wasn't able to delete it through a PC.
    A friend said that fellow classmates have been able to delete it through Macs, so I gave it a shot. (This virus doesn't affect Macs, by the way.)
    I was able to remove it from my flashdrive, but I cannot remove it from my desktop.
    It's just sitting there, locked.
    I can't find a way to unlock it, I've tried control+click, right click+delete...
    Is there a way to remove it?
    Message was edited by: RueLi

    Another way that usually works. Depress the Option key when you empty Trash.
     Cheers, Tom

  • Cannot delete .band files from desktop

    I was working on a file in GarageBand, I saved the .band file on my desktop, but after I quit GarageBand without saving the work, the .band file went a little weird. I tried dragging it to the trash and cmd-delete it but the message came up saying "The item “Recording Final.band” can’t be moved to the Trash because it can’t be deleted." Later I launched GarageBand again, and when I tried to drag the weird .band file from desktop to the GarageBand icon on my dock, the dock appears to crash, my wallpaper went gray for a second and then the dock came back up. Also when I select the file and hit space bar to do a quick look it shows up saying No Items Selected. I like to keep my desktop tidy don't want these files here blocking the way. Anyone knows the solution to the problem?

    The first thing I'd do is just restart your system. You might find the file has disappeared. If not, try deleting it again. If you get the same error msg, do as follows.
    Enable 'show path bar' in Finder > View. Highlight the problem file and make a note of the path.
    Open Terminal and use the
    rm <path to file>
    command to remove it (remove the angled brackets). If you want to be on the safe side, use the command
    cd <parent directory of file>
    to move into the correct folder first.
    Example
    Suppose the path is:
    Lion > Music > Garageband > problemfile.band
    In Terminal, you'd type
    cd ~/Music/Garageband
    Then type
    ls -l
    Assuming you see 'problemfile.band' in the list, type
    rm problemfile.band
    If you get an error, try
    sudo rm problemfile.band
    and enter your admin password (which will be invisible when you type it).
    If you still get an error msg, post back here, stating the error msg.

  • Unable to delete file from desktop

    I'm trying to delete a .mp4 file from my desktop. On doing so I'm first prompted to enter the password in a window 'Finder wants to make changes. Type you password to allow this'. After doing so I get the msg 'the operation can't be completed because you don't have permission to acess some of the items'.
    I have checked the permissions in the get info tab and it has read and write acess.
    Kindly help me with the issue.

    Hi Niel,
    Thanks for the quick reply. M sorry by mistake i clicked on 'This helped me' .. hw can I change it to 'this solved my question'.
    Well I was stuck as I was trying to lock unlock general properties of the file whereas my desktop general properties was in locked state.
    Quite new to the mac..getiing used to it.. thanx a ton !!..

  • Why does the new operating system not delete the moved files from their original location - it seems like an enormous waste of space, time and effort to clean up every file once you've moved it

    Why does the new operating system not delete the moved files from their original locations - it seems like an enormous waste of space, time and effort to clean up every file once you've moved it - also, when transferring large amounts of files it becomes a very large problem remembering which files were transferred and which not.

    You're going to need to be more specific, as I'm not quite sure I understand what you're talking about.
    If you're referring to copying from an external hard drive or flash drive, and you want to actually move files rather than copy them, you can hold down the option key to force it to do a "move" rather than a "copy." This is not new behavior, though... the Mac OS has worked this way as long as I can recall (and I've been using it since 1984).
    If you're having a problem with trying to move files from one place to another on a single drive causing them to be copied instead, that is likely because of some permissions issue preventing you from actually being able to move them.

  • Cannot Delete CPTL file from Desktop using Vista

    Hi All,
    I cannot Delete CPTL file from Desktop using Vista. Explorer
    crashes. It is a Captivate 2 file.
    I have tried (with no luck):
    - logging in as a different user and deleting the file.
    - running explorer as an Administrator
    - uninstalling Captivate.
    Anyone got any ideas?
    Cheers,
    Raef

    Hi Raef,
    That is a strange issue. Here are a couple more ideas you
    could try:
    - Have you tried renaming the file (including suffix)?
    - Have you rebooted?
    - Do you get any error messages when trying to delete, such
    as "Acess Denied"?
    - Is your machine networked? Is it possible someone else has
    the file open?
    - Can the file be moved to another location or put in a
    folder (and then deleted)?
    - Have you tried using the Command Prompt / DOS mode to
    delete the file?
    It sounds like it could be a Vista issue so I would look at
    the Microsoft Vista forums too. Sorry I do not have an exact
    answer.
    IHTH,
    Aaron

  • How to delete file from other system(LAN)

    Hello folks,
    Cud u plz help me out in finding code for deleting a file from other system i.e in LAN,assuming that the connection is already established to that system.

    > Cud u plz
    sigh
    Please make the extra effort to write out words such as "could", "you", and "please". The extra keystrokes won't cost much in the way of time, and the enhanced clarity will be appreciated by those communicating on a forum with international readership. Also, it will give the appearance that you take your question seriously, which will in turn make your question look more interesting to answer.
    Thanks!
    ~

  • How can I delete two .jpg files from my desktop that refuse to be deleted?

    How can I delete two .jpg files from my desktop that refuse to be deleted?

    The two icons refused to be moved to the garbage. The good part in all this is that ater I turned off the computer at night and turned it back on the next morning they were gone!
    Thanks.

  • Can we send .csv file from sap srm system to sap pi?

    Hi Experts,
    we have 3 options send the data from sap systems to sap pi.i. e.proxy,idoc and rfc only
    How can we send .csv file from sap srm to sap pi?
    Regards,
    Anjan

    Anjan
    As you know SAP SRM and SAP PI are different boxes.
    *_Option 1:_*
    we need a shared AL11 directory in between SAP SRM and SAP PI (Ask basis to setup shared folder). Place / Populate the file in the folder from SAP SRM and then it can be picked through sender file communication channel.
    In this case you (Basis team) will share one folder which is visible from the AL11 transaction of both the systems (SRM and PI). You will drop .csv file using some report or program from SRM at this location and from PI you can read that file using File communication channel (NFS mode).
    Option 2:
    Setup a FTP at SRM environment and expose some folder which can be accessible from PI. Use sender file communication channel at PI end to pick the file.
    You can use this option incase sharing of folder is not possible (due to network / other constrains). Here FTP server is required to expose any folder as FTP so as it can be accessible from internet (remote location). You need to expose some folder at SRM machine.  You will drop .csv file using some report or program from SRM at this location. Now PI can fetch the file from that location using  sender file communication channel (FTP Mode) providing user credentials.
    Hope it clears now.
    Regards
    Raj

  • Delete CSV file from server using php

    Hi all,
    I've got a link in a site I'm creating that I would like to trigger php to delete a CSV file that is held on the server.
    Any one have any ideas?
    Cheers
    T

    http://www.php.net/manual/en/function.unlink.php
    http://www.php.net/manual/en/ref.filesystem.php - More file functions.

  • HT3842 Does iTunes store the original music file and copy it into a separate folder? If i delete the original file from finder will it remove it from my iTunes library?

    Hi, on my last PC when transferring music to my new MacBook Pro i noticed i had about 6 duplicated of each song in every album i took hours in removing them.
    I Just wondered Does iTunes store the original music file and then copy it into a separate folder?
    If i delete the original file from finder will it remove it from my iTunes library or vice versa. I didnt want to lose any music like i have some how managed to on my old computer.
    Or should i keep both files of it in the Music folder and also iTunes library folder?
    Which is best ?

    DrewPowell wrote:
    I Just wondered Does iTunes store the original music file and then copy it into a separate folder?
    It does both at the same time.
    When you add files to iTunes, it copies them into /Music/iTunes/iTunes media/ folder. The original file remains where it was.
    You can drag a file to /Music/iTunes/iTunes media/Automatically add to iTunes/ folder.
    This will add to iTunes and move it to /Music/iTunes/iTunes media/.
    I keep a shortcut of this folder on my desktop then simply drag files to the shortcut to add to iTunes.
    Then there are no "extra" files around.

  • I am trying to delete an XLS file from a network drive and am getting a message that says the file cannot be deleted because it is in use.  I can't see where it is in use and have tried to reboot the computer to no avail.

    I am trying to delete an XLS file from a network drive and am getting a message that says the file cannot be deleted because it is in use.  I can't see where it is in use and have tried to reboot the computer to no avail.  I can delete other files but several XLS files are giving me this message.

    You said it was a network drive.  So is someone else on the network using that same file or may have have left with excel still accessing it on their system?

  • Error loading csv file from application server

    Hi all,
    While uploading a csv file from the application server to psa we are getting the following error,
    Error 2 while splitting CSV data record
    Message no. RSDS_ACCESS011
    Diagnosis
    Error 2 occurred while splitting the CSV data record 1
    1 = Could not find a closing escape character
    2 = Invalid escape character
    3 = Conversion error
    4 = Other error
    System Response
    The function was terminated.
    Procedure
    Check the values of the data separator and escape sign, and try again.
    But i've checked the file and the escape sign, data seperator in it also. Everything is fine.  The same file we are able to load successfully in quality system.
    How to solve this error??
    Thanks in advance.

    Hi BI consultant:
       Could you please provide more details?
    For example:
    1.Is your P application server a UNIX flavor? (Solaris, AIX, UX, Linux)
       If yes..
             2. Are you able to see the contents of the file correctly with a "cat" or "vi" command? (at operating system level).
                   If no...
                         3. Did you upload the csv flat file to the server via FTP?
                                If yes...
                                     4. Did you use the "binary" or the "ascii" parameter on the FTP command used to upload the file?
    Probably you need to upload the CSV file again to your application server and make sure you can se the file contents ("cat" or "vi" command) before trying to execute the InfoPackage.
    Regards,
    Francisco Milán.
    Edited by: Francisco Milan on Jun 3, 2010 11:13 AM

  • Why is it that when i trash files from my system drive it asks for my permission but doesn't show up in the trash bin?

    Hey guys, need help.
    I've been trying to figure out why everytime i delete files from my system drive, it doesnt show up in my trash bin.
    Has anyone encountered the same issue?
    Would appreciate any help guys.
    Thanks.

    1. Triple-click the line below to select it:
    ~/.Trash
    2. Right-click or control-click the highlighted line and select
    Services ▹ Show Info
    from the contextual menu.* An Info dialog should open.
    3. The dialog should show "You can read and write" in the Sharing & Permissions section. If that's not what it shows, click the padlock icon in the lower right corner of the window and enter your password when prompted. Use the plus- and minus-sign buttons to give yourself Read & Write access and "everyone" No Access. Delete any other entries in the access list.
    4. In the General section, uncheck the box marked Locked if it's checked.
    5. From the action menu (gear icon) at the bottom of the dialog, select Apply to enclosed items and confirm.
    6. Close the Info window and test.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard (command-C). Open a TextEdit window and paste into it (command-V). Select the line you just pasted and continue as above.

Maybe you are looking for

  • Unable to get parameter values from a remote database

    I am linking to a remote database view via a synonym in Oracle and trying to retrieve parameter values from it.  The username and password are the same for the local and remote database and I can run the SQL query using SQL plus against the database

  • Is TM in Snow Leopard Compatible Excel 2004?

    I had a problem upgraded from Leopard to Snow Leopard this weekend that required me to execute PRAM. Now that I have got it done I can't preview Excel files in Time Machine. I can preview .pdf files and I can restore Excel files but when I click on a

  • IPhoto Calendar Print command ghosted out in file menu

    I've created a calendar within iPhoto's calendar application but when I try to print to my local printer, the print command is ghosted out in the drop down file menu. All other print functions work fine.

  • Typical Error in MIRO

    Hi SAP MM Experts! We have a typical scenerio of LIV against PO no GRN Now we have a condition type ZJEX (Delievry Costs Category) which is begaving eratically in the MIRO say PB00 is Ra 100 and ZJEX is 10 % of the PB00 At the time of LIV there are t

  • Mysterious ORA-00933 on startup when using ODAC unmanaged/managed

    I've been chasing this issue for a while now with no success. Whenever my app starts there's a chance that the first query hitting the database will cause an ORA-00933. This always happens at the very first query hitting the database. I've traced the