IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Services and service-related functions > Access external services with adapters > Configure and using adapters > IBM WebSphere Adapters > SAP Software > Reference > Business object information > Application-specific information
Advanced event processing business object application-specific information
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.
There is no metadata at the IDoc Data Record or IDoc Control Record child business object-level.
The sections that follow describe the metadata elements for each level.
Business-object-level metadata for Advanced event processing
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.
Business object-level metadata elements: Advanced event processing Metadata element Description Type The business object type. The business object type will always be AEP. Operation Each outbound operation contains the following parameters:
- Name
- Name of the operation ( Create, Update, Delete or Retrieve)
- MethodName
- The name of the Advanced event processing handler for the operation.
- RouterName
- The name of the router.
Each inbound operation contains the following parameters:
- Name
- Name of the operation ( Create, Update, or Delete).
- MethodName
- The name of the Advanced event processing handler for the operation.
- RouterName
- The name of the router.
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.
The following illustration is an example of Advanced event processing business object metadata for an outbound operation:
Figure 1. Business-object metadata for SapAlereq01
Property-level metadata for Advanced event processing business objects
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.
Property-level metadata elements: 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.
The following illustration is an example of Advanced event processing property-level metadata for the Messagetype property:
Figure 2. Property-level metadata for Messagetype
Operation-level metadata for Advanced event processing business objects
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.
Outbound objects use only the Name metadata element.
Operation-level metadata elements: Advanced event processing business object 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.