Introduction

This tutorial shows you how to import and export data with the Import/Export utility in FreeForm Business Process. You import data from data files stored locally, and you export data from your application. You can also import data from the server, and you can export data to the server. You learn how to validate data files, view the status of your data import and export jobs, and schedule data import and export jobs. The sections build on each other and should be completed sequentially.

Background

You can import data from another Cloud Enterprise Performance Management (EPM) business process and external systems into your application. You can use the following methods to load data:

Before importing data, you must:

  • Define or load metadata and refresh the database.
  • Prepare the data load file. Source data must be in a business process-specific data file format or in an Essbase data file format.
  • Ensure the data load files do not contain any thousands separators, quotes, and so on, around data values. Up to one single . (decimal point) character is supported.
  • Ensure the data import file type is .csv, .txt, or .zip.

You can create a data import file based on a template, or you can generate one based on the source system. To use a template, run the export data process in your business process and use the exported file as a template.

Note:

When importing data, no validation is performed on intersections to determine which are valid, and data is loaded to all intersections. To review data that has been loaded into invalid intersections, run the Invalid Intersection report before importing data to see and clear invalid intersections.

The snapshot and import files are included in the Prerequisites section of this tutorial.

Prerequisites

Cloud EPM Hands-on Tutorials may require you to import a snapshot into your Cloud EPM Enterprise Service instance. Before you can import a tutorial snapshot, you must request another Cloud EPM Enterprise Service instance or remove your current application and business process. The tutorial snapshot will not import over your existing application or business process, nor will it automatically replace or restore the application or business process you are currently working with.

Before starting this tutorial, you must:

Note:

If you run into migration errors importing the snapshot, re-run the migration excluding the HSS-Shared Services component, as well as the Security and User Preferences artifacts in the Core component. For more information on uploading and importing snapshots, refer to the Administering Migration for Oracle Enterprise Performance Management Cloud documentation.

Assigning Values to User Variables

User Variables were added when the business process was created. User variables act as filters in forms, enabling planners to focus only on certain members. In this section, you set values for user variables.

  1. On the home page, click Navigator (Navigator), and under Tools, click User Preferences.
    Navigator menu
  2. Under Preferences, click User Variables.
    Selecting User Variables
  3. For Market, click its Member Selector (Member Selector) to select New York as the variable's value.
    New York selected
  4. Verify your selection and click Save.
    User variables with selected Member
  5. At the information message, click OK.
    Information message

Reviewing the Data Point of View

In this section, before importing data, you review the data point-of-view (POV) in the form and the contents of the import file used in this tutorial.

Reviewing Form Data

  1. On the home page, click Data.

    data home
  2. In Data Entry, under Library, expand Other.
  3. Click Assumptions by Market.

    In this example, the forms displayed are part of the sample FreeForm application provided in the Prerequisites section of this tutorial. When you create your business process, the cubes do not contain data.

    assumptions by market folder

    An empty form for actual monthly sales of Cola product for all markets is displayed.

    assumptions by market open
  4. At the bottom, close the form by clicking close icon on the tab.
  5. In Data Entry, under Library, expand Other.
  6. Click Assumptions by Product.

    assumptions by product form

    An empty form for actual sales data of New York is displayed.

    assumptions by product open
  7. At the bottom, close the form by clicking close icon on the tab.

Reviewing the Import Files

  1. On your local computer, navigate to where you saved NY_actual.csv and open it.

    Caution:

    Do not make any changes.
  2. Review the contents of the file.

    This file has the actual sales data for New York.

    excel file opened
  3. On your local computer, navigate to where you saved All_markets_products.csv and open it.

    Caution:

    Do not make any changes.
  4. Review the contents of the file.

    This file has the actual as well as budgeted sales data of all the markets, except New York's actuals.

    excel file opened
  5. Close the files without making any changes.
  1. On the home page, click Application, then Overview.

    home page
  2. On the right, click Actions to display your data import and export options.

    import export menu

Validating Import Files

Before you import data, you validate the data file to test whether the import file format is correct.

  1. On the right, click Actions, then click Import Data.

    import export menu
  2. In Import Data, click Create.

    create button
  3. Ensure your selections match the following:

    Location Local
    Source Type Default
    File Type Comma delimited
  4. Click Choose File.

    import data screen

    Note:

    Depending on your browser, the button label may display Choose File or Browse.
  5. On your local computer, navigate to where you saved NY_actual.csv and open it.
  6. Click Validate.
  7. In the Information dialog, click OK.

    info box
  8. Click Close twice.
  9. From the cards on the top of the page, click Jobs.

    nav bar
  10. Under Recent Activity, click Validate Import Data.

    recent activity

    Import and Export Status shows that the job completed without any errors.

    status
  11. Click Close.
  12. Repeat steps 1 - 11 to validate the second file: All_markets_products.csv.

    The import file specific to the FreeForm application snapshot is provided in the Prerequisites section of this tutorial.

Uploading Data Files to Inbox/Outbox Explorer

In this section, you use the Inbox/Outbox Explorer to upload a file to the server.

  1. From the cards on the top of the page, click Overview.

    nav bar
  2. On the right, click Actions, then Inbox/Outbox Explorer.
  3. In Inbox/Outbox Explorer, click Upload.
  4. In Upload File, click Choose File.

    upload file box

    Note:

    Depending on your browser, the button label may display Choose File or Browse.
  5. On your local computer, navigate to where you saved NY_actual.csv and open it.
  6. In Upload File, click Upload File.
  7. In the Information dialog, click OK.

    info box
  8. In Inbox/Outbox Explorer, click Close.

    The import file is uploaded and listed in the Inbox/Outbox Explorer.

    file listed
  9. Click Close.

Importing Data

When you create your application, the cubes do not contain any data. You can load data using a data load file using the Import Utility.

Importing Data from a Local File

  1. On the right, click Actions, then click Import Data.

    import export menu
  2. In Import Data, click Create.
  3. Ensure your selections match the following:

    Location Local
    Source Type Default
    File Type Comma delimited
  4. Click Choose File.

    import data screen

    Note:

    Depending on your browser, the button label may display Choose File or Browse.
  5. On your local computer, navigate to where you saved All_markets_products.csv and open it.
  6. In Import Data, click Import.
  7. In the Information dialog, click OK.

    info box
  8. Click Close twice.

Verifying the Data Load

  1. From the cards on the top of the page, click Jobs.

    nav bar
  2. Under Recent Activity, click Import Data.

    recent activity

    Import and Export Status shows that the job completed without any errors. A total of 5503 records were processed. Those records include both actual and budget sales data for all markets.

    status
  3. Click Close.
  4. On the top left, click nav icon (Navigator), then click Data.

    navigator data menu
  5. In Data Entry, under Library, expand Other.
  6. Click Assumptions by Market.

    assumptions by market folder

    The imported data is displayed on the form. Missing data for New York will be imported from NY_actual.csv.

    assumptions by market open
  7. At the bottom, close the form by clicking close icon on the tab.

Importing Data from a File in the Inbox

You import data from a file in the Inbox by running a job.

  1. On the top left, click nav icon (Navigator), and under Application, click Overview.

    navigator data menu
  2. On the right, click Actions, then click Import Data.

    import export menu
  3. In Import Data, click Create.

    create button
  4. Ensure your selections match the following:

    Location Inbox
    Source Type Default
    File Type Comma delimited
    save as job
  5. In Source File, enter NY_actual.csv.

    You previously uploaded this file to the Inbox in the Uploading Data Files to Inbox/Outbox Explorer section of this tutorial. This file was uploaded to the inbox, earlier in this tutorial.

  6. Click Save as Job.
  7. In Save as Job, enter Import job NY actual, then click Save.
    save as job box
  8. In the Information dialog, click OK.

    info box
  9. In Import Data, click Close.
  10. In Import Data, click Refresh.

    Import Data displays the Import job NY actual job. The job was created but not run yet.

    refresh list
  11. Click actions icon (Actions) and review the job actions. If you select Submit the job runs immediately. You will run the job later.

    submit menu
  12. In Import Data, click Close.

Scheduling and Running the Import Job

  1. From the cards on the top of the page, click Jobs.

    nav bar
  2. On the right, click Schedule Jobs.
  3. In Schedule Job, under What type of job is this?, select Import Data.
  4. Under When do you want to run this job?, select Run Now, then click Next.

    Schedule Job

    Tip:

    You can schedule the job to run later.
  5. Select Import job NY actual, then click Next.

    final schedule screen
  6. Click Finish.

    Finish screen

    The Import job NY actual job is displayed in Recent Activity.

    Recent Activity

Viewing the Data Import Status

  1. Under Recent Activity, click Import job NY actual.

    recent activity

    Import and Export Status shows that the job completed without any errors.

    status
  2. Click Close.

Reviewing the Data Load

  1. On the top left, click nav icon (Navigator), then click Data.

    navigator data menu
  2. In Data Entry, under Library, expand Other.
  3. Click Assumptions by Product.

    assumptions by product folder

    The imported data is displayed on the form.

    assumptions by product open
  4. At the bottom, close the form by clicking close icon on the tab.
  5. In Data Entry, under Library, expand Other.
  6. Click Assumptions by Market.

    assumptions by market folder

    New York data was added.

    assumptions by market open
  7. At the bottom, close the form by clicking close icon on the tab.

Exporting Data

You export data into a flat file. You can use the exported file:

  • When you need to load data to a migrated or new business process
  • As a backup of your application data
  • As a template for importing data into multiple dimensions

Exporting Data to a Local File

  1. On the top left, click nav icon (Navigator), and under Application, click Overview.

    navigator data menu
  2. On the right, click Actions, then click Export Data.

    export menu
  3. In Export Data, click Create.
  4. Ensure your selections match the following:

    Location Local
    Cube Basic
    File Type Comma delimited
    Smart Lists Export Names
    Dynamic Members Include
    Decimals None
    export data screen
  5. Under Slice Definition, for Row, from the drop-down, select Measures.

    Slice Definition 1
  6. For Measures, click member selector icon (Member Selector).

    Select Members
  7. In Member Selector, for Search Measures, enter Sales.

    sales search
  8. In the displayed results, for Sales, click Function Selector icon (Function Selector), and select Children.

    hover
  9. In Select Members, click OK.

    Slice Definition 2
  10. Under Slice Definition, for Column select Year from the drop-down.
  11. For Year, click member selector icon (Member Selector).
  12. For Year, click Function Selector icon (Function Selector) and select Descendants.
  13. In Select Members, click OK.

    Slice Definition 3
  14. Under Slice Definition, for Point of View, click member selector icon (Member Selector).

    POV selections
  15. For 100, click Function Selector icon (Function Selector) and select Level 0 Descendants.
  16. In Select Members, from the tabs at the top, click Market.
  17. For Search Market, enter New York.
  18. For New York, click Function Selector icon (Function Selector) and select Level 0 Descendants.
  19. In Select Members, from the tabs at the top, click Scenario.
  20. For Actual, click Function Selector icon (Function Selector) and select Level 0 Descendants.
  21. In Select Members, click OK.
  22. Ensure your selections match the following Slice Definition:

    Slice Definition 5
  23. In Export Data, click Export.
  24. In the Data Export, click OK.
    info box

    Depending on how your browser is set up, you may be prompted to save the file (filename ending in ExportedData_Measures.zip) or the file may download directly to the downloads folder set in your browser.

  25. Click Close twice.

Viewing the Exported Data File

  1. On your local computer, navigate to where the exported filename ending in ExportedData_Measures.zip was downloaded and open it.
  2. In the open zip file, open the filename ending in ExportedData_Measures.1-1.csv.
  3. Review the contents of the file.

    The file contains the members you selected when you exported the file.

    excel file opened
  4. Close the files without making any changes.

Exporting Data to the Outbox

You export data to the Outbox by running a job.

  1. On the right, click Actions, then click Export Data.

    export menu
  2. In Export Data, click Create.
  3. Ensure your selections match the following:

    Location Outbox
    Cube Basic
    File Type Comma delimited
    Smart Lists Export Names
    Dynamic Members Include
    Decimals None
    export data screen
  4. For Slice Definition, select the dimensions and members for row, column and point of view based on the following:

    Slice Definition

    For more detailed steps, see Exporting Data to a Local File.

  5. In Export Data, click Save as Job.
  6. In Save as Job, enter Export to Outbox, and click Save.

    save as job
  7. In the Information dialog, click OK.

    info box
  8. Click Close.

    Export Data displays the Export to Outbox job. The job was created but not run yet.

    export outbox listed
  9. Click actions icon (Actions) and review the job actions. If you select Submit the job runs immediately. You will run the job later.

    submit job
  10. Click outside to close the menu.
  11. In Export Data, click Close.

Scheduling and Running the Export Job

  1. From the cards on the top of the page, click Jobs.

    nav bar
  2. On the right, click Schedule Jobs.
  3. In Schedule Job, under What type of job is this?, select Export Data.
  4. Under When do you want to run this job?, select Run Now and then click Next.

    Schedule Job

    Tip:

    You can schedule the job to run later.
  5. For the Export to Outbox, click edit icon (Edit).

    Export Data
  6. In Export Data to File, enter ExportOutbox and click OK.

    Export Outbox File Name
  7. Click Next.
  8. Click Finish.

    Finish screen

    The Export to Outbox job is displayed in Recent Activity.

    Recent Activity

Viewing the Data Export Status

  1. In Jobs, click Refresh.

    The Export to Outbox job displays as Completed under Recent Activity.

    Recent Activity
  2. Click Export to Outbox.

    Import and Export Status shows that the job completed without any errors.

    Tip:

    You can optionally download the exported data file from this page. You can also download the data file from Inbox/Outbox Explorer.
    Import and Export Status
  3. Click Close.

Downloading your Exported Data File from Inbox/Outbox Explorer

  1. From the cards on the top of the page, click Overview.

    nav bar
  2. On the right, click Actions, then Inbox/Outbox Explorer.

    Inbox/Outbox Explorer displays the zip file created from Scheduling and Running the Export Job.

    Inbox Outbox Explorer
  3. For ExportOutbox.zip, click actions icon (Actions) and select Download File.

    download file

    Depending on how your browser is set up, you may be prompted to save the file (ExportOutbox.zip) or the file may download directly to the downloads folder set in your browser. Refer to Viewing the Exported Data File for the steps to view the file.

  4. In Inbox/Outbox Explorer, click Close.