Вы находитесь на странице: 1из 2

form unix_upload.

data: begin of l_dir_list occurs 30." File list of the directory


include structure epsfili.
data: end of l_dir_list.
data: l_uxdir like epsf-epsdirnam,
l_uxfile like rlgrap-filename,
l_pcfile like rlgrap-filename,
l_mask like epsf-epsfilnam.
* l_uxdir(100) TYPE c.
data: lv_filename type string.
call function 'F!"_#"$_%&'"'
exporting
client ( sy-mandt
logical_filename ( p_uxpat)
operating_system ( sy-opsys
parameter_* ( ' '
importing
file_name ( l_uxdir
exceptions
file_not_found ( *
ot)ers ( +.
l_mask ( p_prefix.
call function '",-_#"$_./"0$1/2_!-$%#'
exporting
dir_name ( l_uxdir
file_mask ( l_mask
* IMPOTI!"
* #I_!$ME %
* FI&E_'O(!TE %
* EO_'O(!TE %
tables
dir_list ( l_dir_list
exceptions
invalid_eps_subdir ( *
sapgparam_failed ( +
build_directory_failed ( 3
no_aut)ori3ation ( 4
read_directory_failed ( 5
too_many_read_errors ( 6
empty_directory_list ( 7
ot)ers ( 8
.
if sy-subrc 9: 0.
* ME))$"E I# )Y*M)"I# TYPE )Y*M)"TY !(M+E )Y*M)"!O
* ,IT- )Y*M)".1 )Y*M)"./ )Y*M)".0 )Y*M)".1.
endif.