Advanced event processing application-specific information (ASI) is metadata that specifies adapter-dependent information about how to process business objects for the adapter for SAP Software.
The adapter for SAP Software uses application-specific information (ASI) to create queries for Create, Retrieve, Update, and Delete operations. ASI for Advanced event processing business objects is generated by the external service wizard at the following levels: the IDoc business-object level (for individual IDocs), the Operation-level for individual IDoc business objects, and the property level.
The sections that follow describe the metadata elements for each level.
Business object-level metadata for Advanced event processing business objects defines the top-level wrapper of an IDoc.
The following table describes the business object-level metadata elements of an Advanced event processing business object.
| Metadata element | Description |
|---|---|
| Type | The business object type. The business object type will always be AEP. |
| Operation | Each outbound operation contains the
following parameters:
Each inbound operation contains the following
parameters:
|
For AEP inbound processing, MethodName should represent a method that retrieves data from the SAP system. The data retrieved might correspond to a Create, Update or Delete operation. For example, when you create a customer in the SAP system, this operation generates an event in the AEP event table (with CustomerID as key). The AEP inbound processing retrieves the data for the customer that was created and sends it to endpoint. A similar processing sequence would occur for customer update or customer delete operations in the SAP system.

Property-level metadata can represent either child objects or an array of child objects.
The following table describes the property-level metadata elements of an Advanced event processing business object.
| Metadata element | Description |
|---|---|
| IDOCName | Name of the IDOC |
| FieldName | Actual BAPI Field name as represented in SAP |
| PrimaryKey | An indication of whether this property is a primary key. |
| ForeignKey | Foreign key relationship |
| MaxLength | The length of the field. |

Operation-level metadata for an Advanced event processing business object specifies the operation that posts the IDoc object to the SAP application.
The following table describes the application-specific metadata elements of an Advanced event processing business object operation.
| Metadata element | Description |
|---|---|
| Name | The name of the operation. |
| MethodName | The name of the ABAP handler for this operation. |
| RouterName | The name of the router. |