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

move a file in SAP directories(AL11) from source path to target path
3.3 (65%) 4 votes

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

  • 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.
  • 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. […]
  • move a file from server path to local path and vice versa (0)
    In move a file in SAP directories(AL11) from source path to target path post i have tried to explain, how a file could be transported from one SAP server path to another SAP server path. […]