OData Support
Use
SAP Application Interface Framework supports the monitoring of error messages for OData services. For erroneous data messages, you can display the error messages and the content of the data message in the source format. Correcting the contents of the data messages, restarting, or cancelling data messages of the OData service using the SAP Application Interface Framework is not supported.
Activities
-
To receive up-to-date error logs of OData services in SAP Application Interface Framework, select the services in the program /AIF/ODATA_TRANSFER_JOB and schedule the program to run periodically.
You can look up the available oData services in transaction /IWFND/MAINT_SERVICE.
-
Create an interface with a raw structure containing at least a component of type /AIF/ODATA_STD_RAW_FLDS_S. This component contains the standard fields of the OData error log, for example, the service name, the user, and a timestamp. A mapping is not required for an OData interface.
You define the interface in Customizing of SAP Application Interface Framework under.
-
For the OData interface, specify the following interface engines:
-
Application Engine: OData application engine
-
Persistence Engine: OData persistence engine
-
Selection Engine: AIF Index tables
-
Logging Engine: OData logging engine
You specify the engines in Customizing of SAP Application Interface Framework under.
-
-
Specify the OData services and elements, for example entity sets, whose error logs you want to monitor using this interface.
You specify the services in Customizing of SAP Application Interface Framework under .
-
Define a message index table that at least includes the structure /AIF/ODATA_STD_IDX_FLDS_S. For an example of such an index table, see the template table /AIF/T_ODATA_IDX.
Add your index table to the OData interface in Customizing of SAP Application Interface Framework, under .
-
Optionally, you can decide to enable the business users to display the source contents of the OData data message, that is, the response and the request. If enabled, there is the Display Contents in Source Format button available in the Data Messages view of the Monitoring and Error Handling.
To enable the Display Contents in Source Format button, in Customizing of SAP Application Interface Framework, select .

