on 01-13-2012 7:52 AM
Hi All,
I have requirement where i want to get the list of files exist in folder present on presentation server from webdynpro component.
and also i want to know how can i get a list of files from application server (al11).
Thanks In Advance.
You could create a function module that calls function module EPS_GET_DIRECTORY_LISTING and get files in DIR_LIST, make sure to pass the directory name from al11 in DIR_NAME.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
use method DIRECTORY_LIST_FILES of class CL_GUI_FRONTEND_SERVICES. This is a static public method so you can call it with out instantiating the class e.g. CL_GUI_FRONTEND_SERVICES=>DIRECTORY_LIST_FILES.
This is bad information. The CL_GUI_* classes can't be used from Web Dynpro.
They require a connection to the SAPGUI. Access to the client side within a browser is very limited. There is no control in Web Dynpro which will give you the file list you require. You can use ACFUpDownload. In 7.02 this control has a file dialog which can allow users to select a file(s). However it can't just return this list to the server.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.