Implementing and Configuring Enhanced Notification Processing (ENP)
Use
You can either create your own implementation of the ICustomLogic interface or use an implementation from a third-party. The DLL of a third-party must be compiled for a 32-bit operating system.
Prerequisites
If you want to implement a customer-owned implementation yourself, you need a development environment for the .NETdevelopment. SAP recommends that you use Microsoft Visual Studio 2008 or higher.
Process
-
Implementing your own enhancement in the Microsoft Visual Studio:
-
You create a class that implements the ICustomLogic interface.
-
You create an implementation for a constructor without parameters.
-
You create implementations for the following interface methods:
-
GetLogicModules
-
GetCustomVariables
-
Initialize
-
Send
-
-
You compile your implementation. A DLL (Dynamic Link Library) is thus generated from the class, which you then use for the configuration of enhanced notification processing (ENP) in the PCo Management Console.
-
-
Making settings in the PCo Management Console:
The concept of enhanced notification processing (ENP) envisages that the implementation of a customer-owned enhancement is created without specific reference to a particular destination system and a particular agent instance. The advantage of this concept is that you can use the same implementation for different processes.
For that reason, you must make specific settings in the PCo Management Console to link your implementation with a specific destination system and a specific agent instance. You need to perform the following configuration activities:
-
Copy the DLL into the PCo system directory
You copy the DLL that you generated for your implementation into the system directory of your PCo installation.
-
Create a source system
-
Create a destination system of one of the following supported types and make the relevant settings:
-
Web Service Destination system (see Server Settings Tab (WS Destination System))
-
ODBC destination system (see ODBC Destination System: Configuration Tab.)
-
-
If you want to send data to a normal Web service (Web Service Destination system), you also need to create the configuration of the service operation.
To do so, click on the Operation Configuration tab. Then choose the service operation you want. You then define the variables for the Web service fields that are to be filled dynamically by the notification enhancement. (See Operation Configuration Tab (WS Destination System).)
-
Create an agent instance for the source system
-
Settings on the Notification Processing tab
If you want the notification enhancement calls via the notification process to retain a specific sequence, you need to activate the option Process Notification Messages Exactly Once in Order on the Notification Processing tab in the agent instance settings.
-
Assign a DLL to the agent instance
On the Notification Processing tab of the agent instance, you assign the DLL and create the destination system for the notification enhancement. (See Enhanced Notification Processing.)
-
Creating a notification
-
Define enhanced notification processing as the destination of a notification
On the Destinations tab, you need to define enhanced notification processing as a destination and assign the modules and variables. (See: Assignment of Modules and Variables (ENP).)
-