Call Input Package Method

Explanation

Use this activity to perform the step where a method (API) is called that takes care of previously unpacked input file lines.

This is the last step when performing a Complete Input Flow. In most cases, there must be a specific interface (API), defined in a component package, that takes care of the data/transactions read and unpacked by the External Files toolkit. This API must decide what to do with the data.

In the External Files toolkit there is a general interface for handling input and output files:

These interfaces will be suggested when you are creating an external file type and template from a view definition. The input interface takes care of processing input file data by calling the defined Input Package (on the file type) and then calling the New__ or Modify__ method to ensure that validations are performed properly.

Prerequisites

An external load must have been created and must be in state Unpacked.

System Effects

The previously unpacked input file lines will be taken care of by a method (API) that has the task to process the unpacked data. One example is the External Vouchers Interface in Accounting Rules that has a designed API to read unpacked file data and external vouchers using the External Files toolkit and then process the external vouchers.

The load will be assigned the state Transferred.

Window

External File Transactions

Related Window Descriptions

External File Transactions

Procedure

  1. Open the External File Transactions window.
  2. Find the external load using Populate or Query.
  3. Right-click in the header section, click Input File and then click Call Input Package Method to call the registered method (API) that will take care of processing the unpacked file data.