SAP ABAP Data Element SMALLFILE (Physical file name (short))
Hierarchy
FI-CA (Software Component) FI-CA
   FI-CA (Application Component) Contract Accounts Receivable and Payable
     FKKB (Package) Contract A/R & A/P: Central Objects
Basic Data
Data Element SMALLFILE
Short Description Physical file name (short)  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type TEXT30    
Data Type CHAR   Character String 
Length 30    
Decimal Places 0    
Output Length 30    
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 is stored in the file system. It can contain place holders which are then replaced by actual values at runtime.

Use

The physical file name is extracted form the function module FILE_GET_NAME to create a complete platform-specific file name at runtime.
If nothing is entered in the field log. path, the physical file name can also contain the file path. In this case, the file name is only valid for one hardware platform and must correspond to this platform's syntax.

Procedure

Enter a file name. You can use reserved words that are replaced with actual values at runtime. These words are always in pointed brackets:

Reserved word    Replacement value

<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  20050224 
SAP Release Created in