When you execute the Data Collection task in the data monitor you can download a data upload template for reported data. You have the option to download the template as a CSV file or a XLSX file.
Note
Alternatively, you can also download the download template from SAP Note 2659656.
In the upload file template, there are several special characters that are used by the system:
- * – Comment
- P – Parameter
- D – Data structure
- 2 – Data rows.
The Header row (marked with D in the first column) includes all mandatory input fields for the data import. You can add fields from theAdditional fields section to row D, if necessary.
If you add AmountInTransactionCurrency as additional field, you also have to provide TransactionCurrency.
If you add QuantityInBaseUnit, you also need to provide BaseUnit.
LocalCurrency is derived from the currency assigned to the consolidation unit automatically.
Group Currency is derived from the currency assigned to the consolidation version.
Note
The order of the input fields can be changed by users.
In Value row (marked with '2' in the first column) you enter your values for individual fields or leave it empty.
You can use the Manage Substitution and Validation Rules - Group Journal Entries app to create and use substitution and validation rules to fill fields automatically, or to substitute or validate field values based on defined preconditions and rules. If you want to restrict a rule to a specific process, you have to define a precondition for the rule on the document type level. If you don’t specify a document type, the rule applies to all processes, such as manual posting, API import, and upload.
In addition, there are the following parameters that are included in the file as well:
- Periodical – import period or YTD data
- Update Mode – delete, overwrite, or add
- NSEP – number format
- DOCTY – document type used for this file
- TOTALS - Totals Mode
- CUSTSIGN - Custom Sign Convention.
The flexible upload file parameters are described in detail as follows:
- Periodical
- If you enter x, the data of the file is interpreted as period data. The data of the file is written to the period specified in the file with no additional calculation.
- If you leave the Periodical field blank, the data of the file is interpreted as cumulative (year-to-date) data. The system subtracts the cumulative data from the previous period and stores the periodic value.
- Update Mode
- Enter 1 to delete all: All existing records in a block (consisting of ledger, consolidation chart of accounts, version, fiscal year, period, and consolidation unit) are reset to zero before loading the new data.
- Enter 2 to overwrite: The deletion replaces any existing data that was uploaded using the same combination of version, period, consolidation unit, and document type. The system does not delete any data physically in the system. Instead, it calculates a delta between the new data and any data that was uploaded previously, then creates new records for the delta data.
- Enter 5 to add: Only the uploaded records are added to the existing records. Any existing records including those which share the same item and all of the same subassignments are unchanged.
- NSEP - Number separator
If you use the CSV file format you have to define the decimal separator in the input file as follows:
Value 1 stands for ‘.‘ (dot) as the decimal separator. Example: number format 1,000.00 .
Value 2 stands for ‘,‘ (comma) as the decimal separator. Example: number format 1.000,00 .
If you use the XLSX file format, the NSEP parameter is ignored. In this case you have the following options to define the decimal separator:
- DOCTY - Document Type
Optional parameter that defines to which document type the data is written. Only document types with the following settings are allowed:
Posting level 00, reported data.
Automatic posting.
Minimum of one currency or quantity allowed.
Deferred tax calculation disabled.
If you enter invalid characters in this field, errors will occur when the file is uploaded.
If you do not provide the parameter, e.g. line is set to be ignored by adding an asterisk before P in column A.
Or if the field is left empty, then the default value will automatically be activated.
The default value for flexible upload of document types is the alphabetically first value of posting level 00 document type IDs. In most cases, this value is 00.
- TOTALS - Totals Mode
You can use the Import Reported Data app to upload reported data with some missing dimension values. The total value of such a dimension is then totaled without changing the existing values of the same dimension.
This is necessary, for example, to load a provisional balance sheet without breaking it down into subitems that can contain the details of a functional transaction type. The balance carryforward has already filled the opening subitem and this value will not change when the balance sheet is loaded. Instead, the delta is calculated and saved in a standard transaction type.
See see following example in the documentation:https://help.sap.com/docs/SAP_S4HANA_CLOUD/90c07e91c7a64f328be3fd6b48955b13/8c68c6bfaf4d4790b9738b1437969eb9.html?locale=en-US&state=PRODUCTION&version=2602.500&q=Import+reported+data .
- CUSTSIGN - Custom Sign Convention
The SAP Sign logic interprets positive amounts for each FS item as debit amounts and negative amounts as credit amounts. For instance, revenue is stored as a negative amount.
When the Custom Sign Convention logic is set up, you can define your own sign logic (Custom Sign Convention logic) instead of the SAP Sign logic. At FS item type level and at FS item level, you can specify if the FS items should be posted as debit amounts or credit amounts.
If you activate the Custom Sign Convention logic, you can define which sign convention is applied to the external input values using a specific parameter in the upload file.
- If you set the parameter to X, the Custom Sign Convention logic is used.
- If you leave the parameter blank, the SAP Sign logic is used.
Note
If the source file for the upload does not include annual net income or current year retained earnings, the Calculate Net Income task should be run after the import.
Note
If the input file contains data with multiple versions, an error is displayed and no records will be added to the existing records.