‎2006 Oct 10 10:06 AM
Hi
Is there any function module to get multiple flat files from application server. If so please send the FM and required code
regards
mac
‎2006 Oct 10 10:08 AM
‎2006 Oct 10 10:08 AM
‎2006 Oct 10 10:08 AM
‎2006 Oct 10 10:09 AM
Hi
Try to use SUBST_GET_FILE_LIST:
CALL FUNCTION 'SUBST_GET_FILE_LIST'
EXPORTING
DIRNAME = PATH
FILENM = '*'
TABLES
FILE_LIST = T_FILE_LIST
EXCEPTIONS
ACCESS_ERROR = 1
OTHERS = 2.
Max
‎2006 Oct 10 10:23 AM
hi,
check the FM 'RZL_READ_DIR_LOCAL'
call function 'RZL_READ_DIR_LOCAL'
exporting
name = p_dir
tables
file_tbl = itab
EXCEPTIONS
ARGUMENT_ERROR = 1
NOT_FOUND = 2
OTHERS = 3
.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
hope this helps,
do reward if it helps,
priya.
‎2006 Oct 10 10:24 AM