move a file in SAP directories(AL11) from source path to target path

In previous posts i had mentioned about finding all files under a path in SAP directories. After finding all these files i had a requirement to move them into a permanent location from the temporary path. ARCHIVFILE_SERVER_TO_SERVER helps achieving copying of file to a desired path from the source. And after relocation if you do not need file anymore in source path ,you can delete it by DELETE DATASET with source path.


You may also like

  • OPEN DATASET returns with sy-subrc 8 (0)
    Using multi server for SAP systems bring with many problems that is hard to find.ICM_HTTP_CONNECTION_FAILED was one of these errors whose reason is directly dependent with server name. […]
  • files under an SAP directory (0)
    Files under a specific directory of SAP directories can be easily found by the following function module.It returns a list of files with their names and sizes.
  • find BADI’s with debugging (0)
    As describes in earlier post , any customer-exit including BADI which is formerly implemented can be found by debugging standard SAP code. For unimplemented BADI's there are other […]