Assignment of Modules and Variables (ENP)
Use
In the screen area Module and Variable Assignment, you define the modules and variables for enhanced notification processing (ENP).
Prerequisites
-
On the Notification Processing tab, you have chosen either Destination System Calls with Response Processing or Customer-Owned Enhancement for your agent instance and you have created the destination system for the agent instance. (See: Enhanced Notification Processing.)
-
You have created one or multiple destination systems. The following destination system types are supported:
- Destination system type
For each Web service destination system, you have also configured the service operation and variable definition of the selected Web service. (See: Destination System: Operation Configuration Tab (WS Destination System).)
Procedure
Add Destination System
-
In your notification, choose the Add Destination System icon on the Destinations tab.
The Add Destination System dialog box appears.
-
In the Destination System field, select the entry /Enhanced Notification Processing.
-
In the Name field, enter a name of your choice for the destination system and choose OK.
You have assigned the destination system for enhanced notification processing. The system now displays the destination system in the Destinations screen area.
Agent and Destination System Calls
-
Expand the entry for the destination system and choose the Module and Variable Assignment row.
The following two assignment tables are now displayed:
-
Agent and Destination System Call Modules
-
Assignment of Enhancement Variables
-
-
In the Agent and Destination System Call Modules table, assign the agent instances and destination systems (Web Service Destination systems) that you want to call using enhanced notification processing. The table is structured as follows:
Column
Description
Module
All the modules that are provided by the implementation of notification processing are displayed in this column. The modules set up the connection to agent instances and destination systems that are to be called up from ENP.
Module Type
Specifies the type of module. The following module types are possible:
-
Destination system call
You can use this module to call one of the supported destination systems. You must assign the destination system in the Destination System column.
-
Agent call
From ENP, you can use this module type to specify that data coming from the connected destination system is transferred to or read by the current or other running agent instances.
Exception Handling
Select this checkbox if you want to deal with exceptions that occur in the destination system call in a controlled way. (See: Exception Handling in Enhanced Notification Processing.)
If you do not select this checkbox, exception handling is not enabled. Without exception handling, every exception within the destination system leads to termination of notification message processing and to an error message in the agent log.
Edit
To configure exception handling, choose the Edit pushbutton.
Destination System
For a module of the type destination system call, you must select a destination system here. Only the permitted destination systems are offered in the dropdown box.
Agent Instance
In the case of a module of the type Agent Call, you must select an agent instance here. Only the permitted agent instances are offered in the dropdown box.
-
Assignment of Enhancement Variables
-
The Destination System Variables and Source System Tags tabs are displayed in the lower screen area Assignment of Enhancement Variables.
-
Choose the Destination System Variables tab. All the destination system variables that PCo determined for the destination system selected previously are displayed here. Now assign the appropriate notification enhancement variables to the destination system variables. The enhancement variables are offered in a dropdown box. The assignment table is as follows:
Column
Description
Destination System Call Module
All the modules for calling the destination system(s) are displayed here.
Destination System Variables
All destination system variables are displayed here that are determined from the configured destination system:
-
For an ODBC destination system, the system displays the table columns configured as variables.
-
In the case of a destination system of the type Web service destination system, you see the input and output parameters configured as variables as well as the calculated variables (only for Web service destination systems).
Category
Shows if the variable is a request variable, a response variable, or a calculated variable.
Data Type
Indicates the data type of the destination system variables.
Enhancement Variable
Here you assign the appropriate enhancement variable to each destination system variable.
In the dropdown box, the system only offers the enhancement variables that you have defined in your implementation or that were provided by the SAP standard enhancement. You can only assign variables with matching data types.
-
-
Choose the Propose Assignment pushbutton if you want the system to propose the appropriate enhancement variables. The prerequisite for this is that the enhancement variables have the same name or a similar name to the destination system variables, and have the appropriate data type.
You can use this function most effectively when configuring the SAP standard enhancement Destination System Calls with Response Processing because same-name variables are used by preference there. (See also: Destination System Calls with Response Processing.)
-
Choose the Source System Tags tab. Here you can browse for tags for the selected agent instances and assign them to the enhancement variables. You only need to select these source system tags if you want to read or write tag values by means of an agent instance in enhanced notification processing. (See: Assigning Source System Tags.)
-
If the names or data types of the modules and the variables are changed after you have configured them in the PCo Management Console, you receive a warning when you call the configuration dialog again. The system then removes invalid configurations automatically and you can then complete the configuration.
See Also
For more information about the assignment of modules and variables, see the Implementation Guide for Enhanced Notification Processing (ENP) on SAP Service Marketplace under .

