Create External Output File via Assistant

Explanation

Use this activity to create an output file, by reading source data, packing it and then reading the lines to the file.

The assistant can handle any file type and file template defined in External Files. This means that this is a multi-purpose assistant that can handle the same actions as existing interfaces, e.g. the External Supplier Invoices Interface in Invoice.

 

A special feature is when you want to extract data from a source view. This is easily done by doing the following:

In this special case the general output method External_File_Utility_API.Create_External_Output is executed, that will mainly use the associated parameter values to define select criteria when reading data from a source view. The parameter value can be specified according to the following:

Critera Notation
Equal 1010
Not equal !=
Larger than >
Less than <
Larger than or equal to >=
Less than or equal to <=
LIKE 10%
NOT LIKE !10%
IN 1010;1020;1030
NOT IN !1010;1020;1030
BETWEEN 1010..1030
NOT BETWEEN !1010..1030

 

Prerequisites

System Effects

The output process will gather data, pack them to a string according to the file template and then write the data to an output file.

Restrictions

Unicode Restrictions - File Generation in Finance

Window

External File Assistant

Related Window Descriptions

External File Assistant

Procedure

  1. Open the External File Assistant.
  2. Choose processing mode, Online or Batch.
  3. Click Next.
  4. Supply file options on this page, i.e. external file type, parameter set, external file template and the file name.
    The file direction is set automatically according to the following:

Make sure that the file direction is OutputFile.

  1. Click Next.
  2. If a parameter set was supplied that has associated parameters then these parameters will be displayed along with defined default values. The values supplied are normally used as select criteria. Modify the values for each parameter if necessary. Click List, if available, to get valid values for each parameter.  The field might also support a drop down list with valid values.
  3. If the processing mode is Online then click Finish to start the process, else click  Next.
  4. If the processing mode is Batch then define the scheduling of the batch job and start the process by clicking Finish.