Ansicht
Dokumentation

/AIF/CHECK_AND_SEND_FILES - Reading Files from a Folder and Sending them to AIF

/AIF/CHECK_AND_SEND_FILES - Reading Files from a Folder and Sending them to AIF

CPI1466 during Backup   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

You use this report to read several files from a given folder and map and transfer these files into the SAP Application Interface Framework. Based on the transfer of the data, you can use the monitoring functions of the SAP Application Interface Framework to monitor queues.

You can start the report in the following ways:

  1. Use transaction SE38 and starting it manually
  2. Use transaction SM36 to schedule it as a batch job (it can be run periodically)
  3. Use transaction /AIF/LFA_CHECK_SEND.

Integration

You can use the Reading Files from a Folder and Sending Them to AIF report as follows:

  • To read several files from the application server
  • To convert them into SAP ABAP structures
  • To transfer data to the SAP Application Interface Framework for further processing

After successfully transferring the file, it will be moved to another folder to avoid multiple selects and transfers of the same file.

Prerequisites

To be able to map and transfer files to the SAP Application Interface Framework, you have to make configuration settings for the mapping rules via the /AIF/LFA_SETTINGS view cluster.

Features

Selection

  • Configuration settings
Select the configuration settings (namespace and ID). Specify the folder name and the file types that you want to process (for example, *.csv).
  • Directories
You can specify both, the source directory and the target directory in AIF, either using direct paths or using logical file paths. For defining logical file paths, see transaction FILE.
  • Block size in lines
You can split the file content into several packages. You can specify how many data sets are sent in one SAP Application Interface Framework transfer. If you do not enter a value, the entire file content is sent as one package.
  • Use queue
You can use queues of the AIF persistency runtime configuration.





PERFORM Short Reference   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 2803 Date: 20240425 Time: 125716     sap01-206 ( 41 ms )