How to Archive/move  a file in Tcode AL11

Hi Experts,
How to arvhieve a file or move the file from one path to other path in AL11. For one of the inbound file, i need to archive it after preocessing the data.
Appreciate your response,
Preetham

Hi Preetham,
Create a new report for this, first read data from first path and then transfer that data to the new path.
Sample code...
Wf_filename1 = file path on application server.
  IF file_type = 'BIN'.
    OPEN DATASET wf_filename1 FOR INPUT IN BINARY MODE.
  ELSE.
    OPEN DATASET wf_filename1 FOR INPUT IN TEXT MODE.
  ENDIF.
  DO.
    CLEAR : wf_row.
    READ DATASET wf_filename INTO wa_output.
Enddo.
wf_filename2 = new path in al11(for archiving).
OPEN DATASET wf_filename2 FOR OUTPUT IN TEXT MODE.
      TRANSFER wa_output TO wf_filename2.
  CLOSE DATASET wf_filename1.
  CLOSE DATASET wf_filename2.
Reward points if helpful.
Regards,
Sachin M M

Similar Messages

  • I have an older macbook circa 09 and purchased a new macbook pro 2012. The older one has been backed up to an older time capsule. How do i move the files to my new macbook?

    I have an older mackbook pro circa 2009, i thought it died on me it just went completely black. I later found out just a bad battery i purchased a new one in the interim. Now that i have discovered the problem i bought an older time capsule and backed up the older macbook i now want to transfer my personal files to my new macbook pro to maintain one personal mackbook. How can i move the files from my time capsule to my newer macbook pro?
    thank you in advance for your help!!

    http://manuals.info.apple.com/en_US/iphone_user_guide.pdf

  • How can I move mp3 files from my ext.drive to my iPad via MB Air 11 ?

    How can I move mp3 files from my ext.drive to my iPad via MB Air 11 ?
    Thx

    You could drag your files to your macbook air's desktop then plug in you iPad...? I don't really know about this as i don't have a iPad. =S

  • MY hard drive crashed and i lost all my files. How do i move my files from my phone or ipad back to my new hard drive?

    MY hard drive crashed and i lost all my files. How do i move my files from my phone or ipad back to my new hard drive

    See Recover your iTunes library from your iPod or iOS device.
    tt2

  • I have e9 running a cpu A. I have e11 now running on cpu B. How do i move my files from A to B?

    I have elements 9 running on computer A. I now have elements 11 running on computer B. How do i move my files from computer A to B?

    Do a full backup using the organizer's backup command on computer A. Then restore that to computer B.
    EDIT It will probably go smoothest if you use some kind of removable drive for the backup location.

  • How do I move data files from old iPhone? Specifically, the password files for the App mSecure from my old iPhone 3Gs to iPhone 4S?

    How do I move data files for mSecure (a password saver app) from old iPhone 3GS to new iPhone 4S?

    That article is about using your iPod as an external hard drive, to move files from one computer to another computer.  It is not related to your question.
    You can't use iTunes to move song files from iPod to computer, except for songs you purchased from the iTunes Store (and you can also re-download purchases).  However, there are third-party methods and utilities that can move song files from iPod to computer.  If you do a Google search on something like "ipod transfer," you should get some links.
    Once the song files are on your current computer, add them to that computer's iTunes library by dragging the files (or folder containing the files) to the iTunes window.  After confirming everything is there (and fixing the data issue you mentioned) you can sync the iPod.  You may want to do a Restore on the iPod, if it might have a data corruption issue, which will erase the iPod's hard drive, re-install the latest software, and set it to defautl settings.

  • How do I move my files from my PC to the Cloud?

    How do I move my files from my PC to the cloud?

    i use a Photo Sync... Buy at AppStore... $2.99 only 
    Very easy to transfer photo from iPhone to Pc or from Pc to iPhone. That awesome!

  • How do I move music files from the startup disc to iTunes in the other internal hard disk os 10.5.8?

    How do I move music files from the startup disc to iTunes in the other internal hard disk os 10.5.8?
    The music I want to move was in iTunes but is now just files. I had to reinstall a new iTunes and lost all my old music.
    Thank you!

    That article is about using your iPod as an external hard drive, to move files from one computer to another computer.  It is not related to your question.
    You can't use iTunes to move song files from iPod to computer, except for songs you purchased from the iTunes Store (and you can also re-download purchases).  However, there are third-party methods and utilities that can move song files from iPod to computer.  If you do a Google search on something like "ipod transfer," you should get some links.
    Once the song files are on your current computer, add them to that computer's iTunes library by dragging the files (or folder containing the files) to the iTunes window.  After confirming everything is there (and fixing the data issue you mentioned) you can sync the iPod.  You may want to do a Restore on the iPod, if it might have a data corruption issue, which will erase the iPod's hard drive, re-install the latest software, and set it to defautl settings.

  • How do I move photo files from computer to ipad 3?  Sync is dimmed.

    How do I move photo files from computer to ipad 3?  Sync is dimmed.

    Could this be what you are experiencing?
    http://ipadhelp.com/ipad-help/sync-apply-buttons-grayed-out-in-itunes-over-capac ity/

  • How do I move my files from my Macbook to a pc?

    How do I move my files from my MAcbook to my pc?

    What operating system is the PC running?
    You will need to turn on file sharing on the PC. For Windows XP use methods described here. Windows 7 here.
    Connect to the shared Windows volume by going to the Go menu in the Finder and selecting Connect to Server... In the resulting dialog type smp:// and the IP address of your windows machine. Click Connect and enter your Windows machine's username and password when prompted.
    The Windows share will now appear on your Mac's desktop. Drag the items you want to copy over to it.
    Best of luck.

  • How do i move video files from PC to iCloud?

    how do i move video files from PC to iCloud?

    You can't move videos to iCloud, but you can upload photos

  • How do I move all files from an old PPC to a new Mac Mini?

    How do I move all files from an old PPC to a new Mac Mini?

    The new mini has a Firewire 800 port. Likely the PPC version only has Firewire 400.  The OP will need a converter cable which is why I was asking first about what hardware is available and how much is being copied.
    Probably go with using the external hard drive if you decide all you want are data files.
    If you want to migrate:
    Kappy: A Basic Guide for Migrating to Intel-Macs - http://discussions.apple.com/message/10257343
    Mac OS X 10.3, 10.4: Transferring data with Setup Assistant / Migration Assistant FAQ - http://support.apple.com/kb/HT1554
    Setting-up a new Mac from an old one or its Backups - http://web.me.com/pondini/AppleTips/Setup.html

  • How do I move large files from a Windows computer to my MacBook Pro? There are a lot of photos (tiffs

    How do I move large files from a Windows computer to my MacBook Pro? There are a lot of photos (tiffs, jpgs, some photoshopped files), iTunes library, word docs. Is there a particular type of external hard drive that can be used or am I limited to copying stuff onto z-drive and moving that way?

    If both computers are on the same network, you can share the files from the Windows host using SMB and mount the share on the Mac. Otherwise, the Mac should be able to read (not necessarily write) any storage device formatted in Windows.

  • How do I move aiff files from the viewer to the timeline-it is not working when I try to drag and click or clicking on overwrite or insert in Final Cut Pro 7. Thanks

    How do I move aiff files from the viewer to the timeline-it is not working when I click and drag or when I try to move the files to the overwrite or insert buttons-Thanks.

    hi
    You cannot move audio from the viewer
    Mark your in and out points then in the browser grab hold of the audio tracks icon and drag that to the time line
    PJ

  • How do I move a file directly from the desktop to a folder in OX 10?

    I am new to Mac and the Mountain Lion software.  Having worked exclusively with PC operating systems, I am familiar with how to work with files in Windows, but am having trouble doing similar actions in OX 10.  How do I move a file directly from the desktop to a folder in OX?  Although this answer is likely in a video tutorioal (somewhere), I do not have the time to sit an arbitrarily watch generic OS videos that give a broad brush overview, without answering specific queries.  Any help out there?

    You might fun http://www.apple.com/support/macbasics/ to be of help to get used to doing things the Mac way.
    Allan

Maybe you are looking for