Documentation Index

Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt

Use this file to discover all available pages before exploring further.

SAP (cron input agent)

Prev Next

This input agent reads data from an SAP system and passes it to the profile as input data. To do so, it calls a remote function call (RFC) on the SAP system. A defined interface handles the data exchange. For a detailed description, see section SAP RFC.

Settings

Settings field for the SAP cron input agent: SAP alias, RFC name, output format, timeout, and fields, structures, and tables.

SAP alias: The SAP alias of the connected system. You maintain the aliases in the configuration file ./etc/sap.xml.

RFC name: The name of the function module the input agent calls on the SAP system. Example: RFC_READ_TABLE.

Output format: The input agent processes the data from the RFC call in one of the formats CSV, FIXRECORD, SAPXML, or XML. See also . The received data are not IDoc files.

The output format SAPXML also parses “deep data types” in the response of the RFC or BAPI. These include:

  • Tables in the EXPORT parameters

  • Tables in tables

  • Parameters of type STRING and XSTRING

  • CHANGING parameters

IMPORTANT: With SAPXML, creating the source structure through fails or returns an incorrect structure. Start a job in that case. Then create the source structure from the received response of the RFC, that is, from the backup file. See section Create source structure.

Timeout: Defines how long the input agent waits for a response from the SAP system. If no data arrives by then, the job terminates with an error message.

Request RFC: Queries the SAP system for the Fields, Structures, and Tables of the specified function module. The result appears in .

Create structure: Creates a source structure for the mapping in phase 3 from the structures and tables of the function module.

Fields, Structures, Tables: Here you fill the fields, structures, and tables with data for the call. Placeholders and MSG_CALL_ variables are allowed.