Connection Management
The Connection Management application is used for maintaining connections to external systems. It allows the logical mapping of external objects to be used for modeling in SAP Profitability and Performance Management.
Key Features
| Key Features | Use | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Check Connection | Performs the necessary checks to ensure that all relevant fields for the selected source type have been provided and that the external object is valid. | |||||||||
| Connection is Obsolete | A connection which is already used by a model function cannot be deleted. Choosing this checkbox makes the connection unavailable for use. Such an obsolete connection is no longer available in the search help list of the model function's Connection Name field. Activating functions that still use the obsolete connection results in the error message “Connection is Obsolete”. | |||||||||
| Upload from Excel | Allows you to upload a connection setting or multiple connection settings. | |||||||||
| Transport |
Transport Preparation in the Source System Upon environment transport, the “Default” connections used by an environment from the source system is considered and transported to the target system. In contrast to the "Default" connection class, the system cannot transport “Custom” connections from one environment to another system as "Custom" connections are only available locally. Transport’s After-Import Activation Phase in the Target System A system can use the same connection name with different connection classes.
Example:
If a "Custom" connection (in the example above pointing to DB2) exists in the target system, the system uses this connection during activation, whereas the "Default" connection is ignored. However, if no "Custom" connection with the same connection name exists in the target system used by the environment, the "Default" connection included in the transport or available in Connection Manager is used during activation. |
|||||||||
| Migration Report | This report allows you to migrate all functions from all environments in a single report run. The report also creates required connections. It can be executed as many times as required without consequences, given that only the first execution changes the data.
For migrating model functions from physical to logical models that use connections, launch the report /NXI/P1_MIG_MODEL_PHY_TO_LOG. |
Procedures
Adding a Connection
-
In the client where SAP Profitability and Performance Management is installed, choose or launch the transaction code /NXI/P1/CONM. The system opens a browser window where you can add connections in edit mode.
-
The Connection Management screen appears. Choose the Edit button in the top left-hand corner of the screen to continue.
-
Choose Add.
-
In the Add Details window, fill out the following available fields:
-
Connection Name: Alphanumeric and unique name with a maximum length of 30 characters
-
Connection Description: Details about the connection
-
Connection Class
- “Default”: This connection can be transported
- “Custom”: This connection class cannot be transported
-
Connection Source: Connections are allowed for DDIC Table, DDIC View, CDS View, HANA Table, HANA View, HANA SDA, BW InfoProvider, Model RDL and OData Service.
-
-
Choose OK to continue.
-
The system displays the Connection Details screen, where you can see the Connection Name, Connection Details, Connection Source and Connection Description columns. On the left-hand side, these field columns are read-only; they can be edited only on the right-hand side. You can add hidden columns by using the Personalization button. Additional fields are available in the connection details on the right side.
-
In the Table / View Name field, you can choose a table name either by entering it manually or by using the search help as follows:
-
Choose the Search Help button.
-
The Select: Table Name dialog box appears. Make an entry in the Table Name field and press the Enter key.
-
Select an entry in the results section to automatically transfer it to the Table Name field.
The following fields are important for setting up the OData service connection:-
RFC Destination: When you use the OData service from an external system, the HTTP RFC destination is required from source to target system.
-
Decimal Separator: You can use a comma or period which serves as the reference for data conversion.
-
Service Base URL (mandatory): Identifies the root of the OData service.
-
EntitySet Name (mandatory): Identifies the resource which is involved in the interaction.
-
Service URL Options (optional): Use this field to define common query options, for example select and filter.
-
Maximum Page Size (optional): Specifies if the request should be executed using a maximum page size. If you leave this field blank, the server-side maximum page size is used if it exists.
-
Authentication Type (mandatory): Specifies which authentication type the service uses.
-
If no authentication is required, select the “Basic Authentication” option. In this case, the OData service connection is established within an SM59 connection.
-
If the service shall provide an authentication, select the “OAuth”option. In this case, only the authentication request is processed using an SM59 connection. The URL of the actual service must be maintained.
-
-
Header Fields (optional): Some OData services only work with additional header fields. You can maintain such fields here using the FIELD1=VALUE1;FIELD2=VALUE2 format.
-
-
Save your changes.
Removing a Connection
A connection can be removed only if it is not used by any functions.
-
In the client where SAP Profitability and Performance Management is installed, choose or launch the transaction code /NXI/P1/CONM. The system opens a browser window where you can delete connections in edit mode.
-
On the Connection Management screen, choose the Edit button in the top lefthand corner to continue.
-
Choose the connection to be deleted, and then choose Delete.
-
Confirm the deletion by choosing “Yes” in the Confirm Deletion dialog box.
-
If the connection is used by a function, the Where Used dialog box appears. It shows a list of functions from all environment versions that use the selected connection.
-
To continue with the deletion, go to the modeling environment and disassociate the connection from the function. Save your changes and perform steps 1 and 2 again.
Managing Connections in a Model Function
-
“Physical”: The function is configured normally.
-
“Logical”: The function needs only the field Connection Name; all other fields are not required.
-
In edit mode, choose the Add button.
-
Fill in the required fields:
- Function
- Description
- Function Type
-
Fill in any optional fields as necessary:
- Event Handling
- Logging
- Processing Type
- Partitioning
-
Choose Ok to save your changes.
-
In edit mode, fill in the following function details:
-
Connection Type
- Physical
- Logical
-
Connection Name
-
-
Choose the Synchronize button. The fields associated with the connection name are listed.
-
Activate the function.

