Monitor Existing Batch Input Sessions in Monitoring and Error Handling

Use

In this scenario, SAP Application Interface Framework is not involved in processing batch input data in batch input sessions.

Integration

In order to display batch input sessions in Monitoring and Error Handling, you have to create a raw and an SAP data structure and you need to define an SAP Application Interface Framework interface.

The raw and SAP data structures are the same for a batch input recording. In order to create the structure and create an SAP Application Interface Framework interface, an AIF Batch Input Structure Generator report (transaction code /AIF/BDC_GEN) is provided (see Batch Input Structure Generation and Interface Definition).

In order to display the batch input session data belonging to the corresponding SAP Application Interface Framework interface, make settings in Customizing for SAP Application Interface Framework under Start of the navigation pathSystem Configuration Next navigation step Interface Determination Next navigation step Assign Batch Input Session and CreatorEnd of the navigation path. The batch input session belonging to one SAP Application Interface Framework interface is determined by the batch input session name and creator.

Monitoring of Batch Input Sessions in Monitoring and Error Handling

In the scenario for processing batch input data shown in the graphic above, SAP Application Interface Framework is not involved in processing the batch input data from the legacy system.

With the batch input method, an ABAP program reads the legacy system data that is to be entered in the SAP system and stores the data in a batch input session (transaction code SM35).

You can process batch input sessions in the background processing system. During processing, the batch input data is written into the standard batch input tables (for example, the APQI and APQD tables). Since no entries are written to the SAP Application Interface Framework tables in this scenario, the batch input data is selected from the batch input tables in order to display the batch input sessions in Monitor and Error Handling.

Batch input sessions are maintained by the system in the batch input queue. The queue information needs to be selected from the APQI table. The batch input data is selected from the BDC_OBJECT_READ function module. It is necessary to transform the data from the APQI table and the queue data into the structure defined as the raw structure in SAP Application Interface Framework. In Monitoring and Error Handling, this structure is displayed in the Data Structure view. The data for the Log Message view is selected from the BDC_OBJECT_READ function module.

Features

In this scenario, the following are not possible in SAP Application Interface Framework:

  • Displaying messages in the Interface Monitor

    There are no entries in the AIF index and statistic tables as batch input data is not processed by SAP Application Interface Framework.

  • Creating alerts using and sending E-mail notifications

  • Defining an interface-specific selection screen

  • Using a key fields based search in Monitoring and Error Handling

    There are no index table entries.

Activities

In Customizing for SAP Application Interface Framework under Start of the navigation pathSystem Configuration Next navigation step Interface Determination Next navigation step Assign Batch Input Session and CreatorEnd of the navigation path, assign the batch input session and creator for batch input interfaces for which you want to use this monitoring scenario.

In order to display batch input sessions in Monitoring and Error Handling, you have to assign engines to interfaces in Customizing for SAP Application Interface Framework under Start of the navigation path Interface Development Next navigation step Additional Interface Properties Next navigation step Specify Interface EnginesEnd of the navigation path as follows:

  • BDC application engine

  • BDC persistency engine

  • Logging engine for BDC message header

  • Selection engine for BDC error segments