Configuring BPM Processes Using Web Services 
You use this procedure to configure BPM processes and to retrieve the original messages back to BPM Process by two Web services.
You must ensure that you have a PI-CP system.
Configuring BPM Processes:
In the Process Development perspective, open the process used for communicating with AEX.
Import the newly created service interface from ESR.
Assign this service interface to the Start and the Intermediate Event of the process.
To retrieve the original data and update message status in AEX, perform the following sub steps :
Create an automated activity in the process model with Web service OriginalMessageAccessor (namespace: http://sap.com/aii/scp/functions/ejb/) to retrieve the original data.
In the Input Mapping view, map the following attributes:
MESSAGE_ID_LIST
OPERATION_MAPPING_GUID
SWCV_GUID
Create an automated activity in the process model with Web service MessageStatusUpdater (namespace: http://sap.com/aii/scp/functions/ejb/) to update message status on AEX.
In the Input Mapping view, map the following attributes:
MESSAGE_ID_LIST
Save and deploy the process.