2008 Aug 06 2:14 PM
Hi all,
I´m using the function SUBST_GET_FILE_LIST for get all files in the application server. But I have a problem with performance. The system take several minutes to list this files. I have about 50 files in the server.
Anybody know how to do to list this files more quickly????
Great,
2008 Aug 06 2:26 PM
2008 Aug 06 2:23 PM
Hi,
check the below code which is used in F4 help for the method F4 in class in CL_RSAN_UT_FILES.
SELECT t1fileintern t2filename
FROM filenameci AS t1 JOIN filetextci AS t2 ON t1fileintern = t2fileintern
INTO ls_file.
IF ls_file-text IS INITIAL.
ls_file-text = ls_file-file.
ENDIF.
ls_value_tab = ls_file-file.
APPEND ls_value_tab TO lt_value_tab.
ls_value_tab = ls_file-text.
APPEND ls_value_tab TO lt_value_tab.
ENDSELECT.
Regards,
Boobalan S
2008 Aug 06 2:25 PM
2008 Aug 06 2:26 PM
2009 Jul 21 3:16 PM