2007 Jan 17 9:04 AM
Hello
I have a question pertaining to the use of C-calls in a class that I'm writing. The purpose of the class is to allow a user to browse files on either the current application server or a remote application server. Additionally the browser would be used in a product that our company is shipping to a number of clients so the code needs to be portable between different systems. I'm using the following C-calls: C_SAPGPARAM, C_DIR_READ_START, C_DIR_READ_FINISH and C_DIR_READ_NEXT.
Obviously these functions are fast but their portability to other systems might be an issue. The product would also be up for SAP certification later this year and I have no idea what the impact of the use of these functions would be.
The question that I have is whether there is an alternative way to browse for files on an application server? Basically what it should do is return a list of entries of a directory on the server and indicate whether an entry is a file or directory, it should of course be relatively fast in order to avoid unnecessary delays when browsing directories.
Anyway, help and advice in this regard would be greatly appreciated.
Bye
Ettienne Hugo
2007 Jan 24 4:23 PM
Hi,
Statndard Transaction in SAP itself uses the same C-Calls.
For Eg , AL11 uses these C-Calls.
The Function module SUBST_GET_FILE_LIST fetch all the files in a specified folder.But still this too iuses C-Calls
Regards
Immanuel D
2007 Jan 24 4:23 PM
Hi,
Statndard Transaction in SAP itself uses the same C-Calls.
For Eg , AL11 uses these C-Calls.
The Function module SUBST_GET_FILE_LIST fetch all the files in a specified folder.But still this too iuses C-Calls
Regards
Immanuel D