File Adapter (Type "Export")

The File Adapter function of type “Export” provides automated access to files so that results can be exported as file content.

Key Features

Header

In the header, you define the principal behavior of the File Adapter function. The following fields are available:

  • File IO Type: Choose “Export” to export data into a server file.

  • File Format: Refers to the definition of a file format, which is maintained centrally for the environment.

  • File Name: Specifies the name of the file on the server that is used.

  • Number of Threads: Multiple threads can reduce the export time. The maximum permitted value is 256.

Server Files

This is a helper tab that has no influence on the runtime of the function.

The Refresh Directory List button shows a list of files that are currently available on the server. The content of these files can also be viewed here. Use the Select File button to register it in the header as the file name to be used.

Small files can also be uploaded and downloaded but we recommend that you use server-side IT-driven mechanisms to manage files in the server directory.

Preview

This is a helper tab that has no influence on the runtime of the function.

Once the file name is set in the header, the Preview button allows you to preview the file.

Stage

This is a helper tab that has no influence on the runtime of the function.

Once the file name is set in the header, the Stage tab allows you to stage the file in a temporary table separating the data into columns. This makes it easier to analyze data, including filtering, sorting, and checking.

Mapping

The file columns can be mapped to existing fields in the environment. The Field Mapping Proposal button helps you to match columns to field names.

Optionally, formulas can be defined to convert data.

Procedure

Function Access

Follow the steps below to access the File Adapter function of type “Export”:

  1. In the client where SAP Profitability and Performance Management is installed, choose Start of the navigation pathSAP Menu Next navigation step Profitability and Performance Management Next navigation step Modeling Next navigation step Start My EnvironmentsEnd of the navigation path.

  2. The Environment screen appears in a separate browser window. Choose an existing environment and continue. Within the environment, you can set up the newly added function.

Function Configuration

Follow the steps below to configure the File Adapter function of type “Export”:

  1. In edit mode, configure the following required fields in the header. For more information about the header, see the Key Features section above.

    • File IO Type = “Export”
    • File Format: Choose the file format configured in Start of the navigation pathEnvironment Next navigation step File FormatsEnd of the navigation path
    • Number of Threads
  2. Define the input function to be used on the Input tab.

  3. Define the fields to be used on the Signature tab.

  4. Choose Field Mapping Proposal on the Mapping tab to generate the mapping of columns to field names with field attributes.

  5. Define the checks to be used on the Checks tab, if needed.

  6. Choose Save and then choose Activate.

Related Information

  • For more information about common aspects of SAP Profitability and Performance Management functions, see Concepts for Key Users.

  • For more information on how to add and remove functions in SAP Profitability and Performance Management environments, see Function Hierarchy.