SAP ABAP Data Element FILEEXTERN (Physical file name)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-CCM-FIL (Application Component) Platform-Independent File Names
     SFIL (Package) Platform-Independent File Names
Basic Data
Data Element FILEEXTERN
Short Description Physical file name  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type TEXT60    
Data Type CHAR   Character String 
Length 60    
Decimal Places 0    
Output Length 60    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 File 
Medium 15 Physical file 
Long 20 Physical file 
Heading 55 Physical file 
Documentation

Definition

Name under which a file will be stored in the file system. This file name may contain placeholders that are substituted at runtime.

Use

The physical file name is used by the function module FILE_GET_NAME at runtime to compose a complete platform-specific file name.
If nothing is entered in the field Logical path, the file name may also contain the file path. In this case, the file name applies only to one hardware platform and must conform to the syntax of this platform.

Procedure

Enter a file name. You can use reserved words, which are substituted by the current values at run time. Reserved words must be enclosed in angle brackets:

Reserved word    Word to be substituted

<OPSYS>    Operating system in call

<INSTANCE>    R/3 application instance

<SYSID>    R/3 application name in SY-SYSID

<DBSYS>    Database system in SY-DBSYS

<SAPRL>    R/3 release in SY-SAPRL

<HOST>    Host name in SY-HOST

<CLIENT>    Client in SY-MANDT

<LANGUAGE>    Log on language in SY-LANGU

<DATE>    Date in SY-DATUM

<YEAR>    Year in SY-DATUM, 4-character

<SYEAR>    Year in SY-DATUM, 2-character

<MONTH>    Month in SY-DATUM

<DAY>    Day in SY-DATUM

<WEEKDAY>    Day of the week in SY-FDAYW

<TIME>    Time in SY-UZEIT

<STIME>    Hour and minute in SY-UZEIT

<HOUR>    Hour in SY-UZEIT

<MINUTE>    Minute in SY-UZEIT

<SECOND>    Seconds in SY-UZEIT

<PARAM_1>    External parameter 1

<PARAM_2>    External parameter 2

<PARAM_3>    External parameter 3

<P=name>    Name of a profile parameter

    (see Report RSPARAM for valid values)

<V=name>    Name of a variable

    (stored in variable table)

<F=name>    Return value of a function module

    Naming convention for this function module:

    FILENAME_EXIT_name

<Y=name>    Return value of a function module

    Naming convention for this function module:

    Y_FILENAME_EXIT_name

<Z=name>    Return value of a function module

    Naming convention for this function module:

    Z_FILENAME_EXIT_name

Examples

Dependencies

The function module for the run-time variable <F=name> must meet the following requirements:

  • Name
    The name must begin with "FILENAME_EXIT_".
  • Parameter
    • An export parameter with the name "OUTPUT" must exist. No structure may exist for this parameters.
    • Import parameters are only supported if they have default values.
    • Table parameters are not supported.

Valid example: FILENAME_EXIT_EXAMPLE.

History
Last changed by/on SAP  19961018 
SAP Release Created in