Professional Documents
Culture Documents
**** Use transaction SM69 to create the xcommand Z_MV (which is the unix mv
command)
DATA: lt_dir_list TYPE STANDARD TABLE OF btcxpm INITIAL SIZE 0.
* initialise
CLEAR: lt_dir_list[].
CLEAR: lv_from_param, lv_to_param, lv_arch_parameter.
CLEAR: lv_status, lv_exit_code.
ELSE.
MOVE gs_file_list-path TO lv_arch_dir.
ENDIF.
ELSE.
* Error processing file rename and keep in current directory
CONCATENATE gs_file_list-path
lv_name
'.err'
INTO lv_to_param. "To directory & filename
ENDIF.
CONCATENATE lv_from_param
lv_to_param
INTO lv_arch_parameter
SEPARATED BY space.