SAP ABAP Function Module OCS_GET_FILE_INFO (Reads attributes as size, date and time of a file or directory)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-UPG-OCS (Application Component) Online Correction Support (Support Package and Add-On Tools)
     SOCS (Package) OCS: RFC Functions for Registering Support Packages
Basic Data
Function Module OCS_GET_FILE_INFO Reads attributes as size, date and time of a file or directory  
Function Group OCSI   OCS Information Tools  
Program Name SAPLOCSI   OCS Informationtools 
INCLUDE Name LOCSIU08    
Parameters
Type Parameter Name Typing Associated Type Default value Optional Pass Value Short text
Importing DIR_NAME TYPE OCS_FILE-NAME '$(DIR_EXECUTABLE)' Path for file
Importing FILE_NAME TYPE OCS_FILE-NAME '*' File name mask
Tables DIR_LIST TYPE OCS_FILE List of files fitting to filename mask
Exception NO_AUTHORITY TYPE No authorizations for C function calls
Exception ACTIVITY_UNKNOWN TYPE Activity of calling C functions unknown
Exception NOT_A_DIRECTORY TYPE Specified directory does not exist
Exception NO_MEDIA_IN_DRIVE TYPE Could not read from specified directory
Exception TOO_MANY_ERRORS TYPE 50 errors occured reading the directory
Exception TOO_MANY_FILES TYPE 1000 files where read from directory
Exception BRACKET_ERROR_IN_FILENAME TYPE ')' in filename before '$)'
Exception NO_SUCH_PARAMETER TYPE Parameter specified by '$(...)' not found
               
Processing Type
Normal Function Module  
Remote-Enabled Module BaseXML supported
Update Module Start immediately
Immediate Start, No Restart
Start Delayed
Coll.run
JAVA Module Callable from ABAP  
Remote-Enabled JAVA Module  
Module Callable from JAVA  
History
Last changed by/on SAP  20010122 
SAP Release Created in