2008 Nov 10 4:53 PM
Hello Friends,
I need to find out file path in local system through SAP.
Is there any class available?
I searched in cl_gui_frontend_services. no use.
file name = xxxx.doc
i need complete path ....
plese help me.
thanks
raghu
Hello Friends,
I need to find out file path in local system through SAP.
Is there any class available?
I searched in cl_gui_frontend_services. no use.
file name = xxxx.doc
i need complete path ....
plese help me.
thanks
raghu
2008 Nov 10 5:01 PM
REPORT GET_ARCHIVO.
DATA: filetable TYPE FILETABLE,
rc TYPE I,
user_action TYPE I,
p_path TYPE STRING.
CLASS cl_gui_frontend_services definition load.
CALL METHOD cl_gui_frontend_services=>file_open_dialog
EXPORTING
window_title = 'Selección de Archivo'
default_extension = 'TXT'
CHANGING
file_table = filetable[]
rc = rc
user_action = user_action
EXCEPTIONS
file_open_dialog_failed = 1
cntl_error = 2
error_no_gui = 3
not_supported_by_gui = 4
others = 5.
READ TABLE filetable INDEX 1 INTO p_path.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |