SAP ABAP Data Element FEB_FILENAME (Physical File Name)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   FI-BL-PT-BS-EL (Application Component) Electronic Bank Statement
     FIN_EB_BSIMP (Package) Electronic Bank Statement - Import
Basic Data
Data Element FEB_FILENAME
Short Description Physical File Name  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type TEXT_512    
Data Type CHAR   Character String 
Length 512    
Decimal Places 0    
Output Length 512    
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 20 File Name 
Long 30 Physical File Name 
Heading 20 Physical File 
Documentation

Definition

Specifies the physical file from which the system reads or to which it writes.

Use

Specify a file name.

Directories with usage "Read Files"

When the system reads files from the directory specified for this, you can use a placeholder '*' (asterisk) to specify more exactly the list of files to be read. The field can also remain empty,meaning the system then imports all the files from the directory.

Directories with usage "Store Files"

If the system stores files in the directory specified for this, the file name can contain reserved placeholders. If you do not define a template, the original file name is used. The following reserved placeholders (set in pointed brackets) are available and can be replaced by current values at runtime:

Reserved Word    Replacement Value     Technical Field Name

<FILE>    Name of the file from which the system has already imported

<CCODE>    Company code*    FEBKO-BUKRS

<STATEMENT_DATE>    Statement date*    FEBKO-AZDAT

<STATEMENT_NO>    Statement number*    FEBKO-AZIDT

<BANK_ID>    Short key for house bank*    FEBKO-HBKID

<BANK_NO>    Bank number*

<ACCOUNT_ID>    Short key for account details*    FEBKO-HKTID

<ACCOUNT_NO>    Bank account number*    FEBKO-KTONR

<SYSID>    Name of R/3 application    SY-SYSID

<CLIENT>    Client     SY-MANDT

<DATE>    Date     SY-DATUM

<TIME>    Time    SY-UZEIT

<YEAR>    Year four digit    SY-DATUM

<SYEAR>    Year two digit    SY-DATUM

<MONTH>    Month     SY-DATUM

<DAY>    Day     SY-DATUM

<WEEKDAY>    Weekday     SY-FDAYW

<COUNTER>    Counter**

* These values cannot be determined for the physical file itself, but only when you process an individual bank statement from the file.

** The reserved word <COUNTER> can only be used for directories with usage 4 (store files and append counter to file names). If the <COUNTER> placeholder is used, it is replaced with the current counter value. If the <COUNTER> placeholder is missing in the file name, the counter value is appended to the end of the file name. The system checks whether there is an existing file with the same name before writing the file to a directory. It may be that the counter is so increased that the file is not overwritten.

If it is not possible to determine a value for the replacement during the runtime, for instance because the bank statements in the file are incorrect, it is left out of the file name. If it is not possible to determine a file name from the template at all, the original file name is taken. In both cases a warning is issued in the application log.

The file name extension is moved to the end of the file name formed.

An '*' (asterix) is not allowed if you are using "Store Files".

Dependencies

Example

Directories with usage "Read File"

If you create "*.VMK" as a template, only those files are imported that have .VMK as the file name extension.

Directories with usage "Store File"

If you enter <DATE>_<FILE>_<COUNTER> as as template, and process a file with the name COINFO.ZK66.VMK on 03 December 2010 for the first time, it is stored as 20101203_COINFO.ZK66_0001.VMK.

History
Last changed by/on SAP  20110901 
SAP Release Created in 606