
Importing a File
Using this function, you import data from a file. You can transfer transaction data, plan data, comments and master data hierarchies. In order to import larger datasets periodically, you can schedule program RKCFILE0 in the background.
Prerequisites
You must have maintained the sender structure, the transfer rules, and where necessary, the sender structure package (see
Types of Data Transfer).Examples
You can use the following examples to help set the sender structure, the transfer rules, and the parameters for various tasks:
Importing a File: Transaction Data Importing a File: Master Data Importing a File: Master Data HierarchyProcedure
To import data from a file, proceed as follows:

Note that only files from the application server can be imported in background processing.
If you select Sender set-display field assignments, the system displays a list that makes clear which value is contained in which sender record field. Using this list, you can see if you have described the sender structure incorrectly.
For a binary file, the SAP binary format is expected. Note that binary files cannot be imported from the presentation server.
With TXT format, the fields in the lines should be separated with tabs.
With CSV format, the fields should be separated with semicolons.
With MC format, the file to be imported is split into two parts: firstly, lines at the beginning with characteristic values which are valid for the rest of the records, and secondly, individual records. The fields in these individual records are split by a field separator (either a comma or a semicolon). For more information, see
Note that with TXT, CSV, and MC formats, fields of type C which are not text fields are automatically converted into capital letters.
Specify if the numbers do not have any editing characters or if they have a decimal point or comma.
This option is irrelevant when importing master data or comments on master data, and is not available in these cases.
Integers and floating point numbers must be between 12 and 16 bytes in length in the file.
With Data format you can specify whether the data is in ASCII or EBCDIC format. In EBCDIC format, all fields apart from packed fields (type P) and hexadecimal fields (type X) are converted from EBCDIC to ASCII. Fields of type P and X do not need to be converted.
If your file contains comments rows that are not to be imported, you can indicate them as such here. Enter the character with which the comment rows begin. The system will then ignore these rows when importing.
In many information systems, the period is locked for transaction data. The period is not then, in the key of the transaction data record. In such cases, the key figures are stored n times in the data portion of the record, where n is the number of possible periods. Records of this structure cannot be transformed using data transfer rules into n transaction data records, in which the period is stored in the key, and the key figure exists only once in the data portion. A transformation during the data transfer is necessary for this. For the data transfer, the period must be contained in the sender structure.
To transform such a record, proceed as follows:
For more information, see
Result
If you have selected Display file, the system displays a list of the transferred records. If you have selected Sender-set-display field assignments, the system displays additional information about how the individual fields of the sender record were filled. If you have transferred the data, a confirmation message will appear. You will find more detailed information on the update and summarization in the log (see
Displaying the Transfer Log and Processing Errors).