Function module to return Physical path for Logical path
Hi,
Can someone tell me if there is a function module that will return a Physical file path for the imported Logical file path? I dont want the file. I am only interested in the path.
Regards,
Hema
_________________
Regards,
Hema
Hi Hema,
May be FM 'FILE_GET_NAME' is wht you are looking for.
data : v_logical like filename-fileintern,
v_physical(255).
Move 'z_log_file' to v_logical_file.
call function 'FILE_GET_NAME'
exporting
logical_filename = v_logical
importing
file_name = v_physical.
_________________
MyAbap.Com
(Pentium wise, pen and paper foolish !! )
Hi,
If you want only the path, you can use FM SO_SPLIT_FILE_AND_PATH
Regards,
Ramesh,
Mountainview,Ca-94085
_________________
M.Ramesh,
SAP Consultant,
Mountain view,Ca-94085