Show TOC

Function documentationImport File Using FTP Locate this document in the navigation structure

 

You can define a Data Manager package to import a file from an FTP server by using the process chain /CPMB/IMPORT_USING_FTP. The file is transferred from an FTP site to the application.

Activities

  1. Create a Data Manager package by using the corresponding process chains (see Package Usage).

  2. Run the Data Manager package as follows:

    1. Log on to the Planning and Consolidation Office module.

    2. On the action pane, choose   Manage data   Run a package  .

    3. Choose the package created in step 1 and choose Run.

    4. Enter the FTP user and password.

    5. Enter the complete FTP file path.

    6. Choose a transformation file.

    7. Choose the name of the destination dimension.

    8. Select the method to insert the data:

      • Merge — Joins the data values

      • Replace — Clears existing data values and replaces them

    9. To run the default logic after import, choose Yes, then choose Next.

    10. To check the work status when importing the data, choose Yes.

    11. Choose one of the following options:

      • Run now

      • Schedule

      • Run now & schedule

    12. Choose Finish.

You can change the default package instructions (see Modifying the Dynamic Script of a Package).

Dynamic script task parameters

Task

Parameter

Default Value

Description

/CPMB/CONVERT

CLEARDATA

0

Delete data before writing 0 = NO 1= YES

/CPMB/CONVERT

FILE

File name

/CPMB/CONVERT

SPACKAGE_SIZE

40.000

Package size

/CPMB/CONVERT

TRANSFORMATIONFILEPATH

Transformation file

/CPMB/FTP

FTP_DESTINATION

FTP address

/CPMB/FTP

FTP_DOCNAME

Document name

/CPMB/FTP

FTP_PASSWORD

FTP password

/CPMB/FTP

FTP_USER

FTP user

/CPMB/LOAD

CHCKCK

0

Check work status

1 = YES

0 = NO

/CPMB/LOAD

CLEARDATA

0

Delete data before writing

0 = NO

1= YES

/CPMB/LOAD

RUNLOGIC

0

Run logic after process

0 = NO

1 = YES