Ansicht
Dokumentation
FILE_GET_NAME_AND_LOGICAL_PATH - Assign physical file names and get logical path
ROGBILLS - Synchronize billing plans ROGBILLS - Synchronize billing plansThis documentation is copyright by SAP AG.
Function
SAP applications run on various hardware platforms with various file systems. This function module allows you to use platform-independent logical file names in application programs.
It returns the physical file name, the logical path and possibly the UPLOAD and DOWNLOAD file format for a logical file name.
A logical file path must also be assigned to the logical file name to make this possible for various
platforms. The file name returned by the function module is then derived from the physical file name for the current operating system. Any placeholders in the physical file name are replaced by current values at runtime.
Example
logical file name: | MONTHLY_SALES_FILE |
physical file name: | VALUES<PARAM_1> |
logical path: | SALES_DATA_PATH |
CALL FUNCTION 'FILE_GET_NAME_AND_LOGICAL_PATH'
EXPORTING
LOGICAL_FILENAME = 'MONTHLY_SALES_FILE'
PARAMETER_1 = '0796'
IMPORTING
FILE_NAME = FILE
LOGICAL_PATH = PATH.
- Result:
- FILE = VALUES0796
-
PATH = SALES_DATA_PATH
More Information
All definitions needed for the platform-independent assignment of file names are defined as cross-client definitions using transaction FILE. This data can be listed with the transaction SF07. Transaction SF01 defines logical file names for the current client.
For detailed information about editing file names and paths, see the function module FILE_GET_NAME.
Parameters
CLIENTELEMINATE_BLANKS
FILE_FORMAT
FILE_NAME
LOGICAL_FILENAME
LOGICAL_PATH
OPERATING_SYSTEM
PARAMETER_1
PARAMETER_2
PARAMETER_3
USE_BUFFER
USE_PRESENTATION_SERVER
WITH_FILE_EXTENSION
Exceptions
FILE_NOT_FOUNDFILE_SYSTEM_NOT_FOUND
OPERATING_SYSTEM_NOT_FOUND
Function Group
SFILCL_GUI_FRONTEND_SERVICES - Frontend Services Vendor Master (General Section)
This documentation is copyright by SAP AG.
Length: 4081 Date: 20240523 Time: 072806 sap01-206 ( 40 ms )