hi everybody
im trying to execute the fm EPS_DELETE_FILE but it seems it cant delete the files
CALL FUNCTION 'EPS_DELETE_FILE'
EXPORTING
FILE_NAME = l_filename
DIR_NAME = l_dirname
IMPORTING
FILE_PATH = l_pathname
EXCEPTIONS
INVALID_EPS_SUBDIR = 1
SAPGPARAM_FAILED = 2
BUILD_DIRECTORY_FAILED = 3
NO_AUTHORIZATION = 4
BUILD_PATH_FAILED = 5
DELETE_FAILED = 6
OTHERS = 7
.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
the parameter l_pathname is not taking the extension of the files, I dont know why
l_pathname is taking this value
100.300.1.6\310\WORKS\OUT\file_20091502
instead of
100.300.1.6\310\WORKS\OUT\file_20091502.txt
hence its not deleting the file
anybody knows the reason?