Connect SAP form – Completing the Service tab

This tab is displayed for the SOAP connector type only.

Completing the Service tab for the IDoc connector type

If you are creating or updating a Connect SAP rule of IDoc connector type, use the Service tab to enter the authentication details that you want to use to connect to the SAP system and configure the request and response.

Complete the following section for the SAP connection:

Field Description
Authentication profile Optional. Select or create an authentication profile that you want to use to connect to the SAP system.
Client number Required. Specify the client number of the SAP system.
Server host name Required. Specify the server host name of the SAP system.
Port Required. Specify the port number of the SAP system.
Use SSL/TLS Select this check box if you want to use a secure SSL/TSL protocol to connect to the SAP system.

Complete the following section for the request:

Field Description
IDoc XML stream Required. Specify or create an XML stream that represents an IDoc XSD input document. This input document describes the external SAP service.

Complete the following section for the response:

Field Description
Status code Optional. Specify a Single Value Identifier property to hold the status code that the Connect-SAP method returns. This field is set to the standard property . pyStatusValue by default.
Status detail Optional. Specify a Single Value Text property to hold the status description for the status code that the Connect-SAP method returns. This field is set to the standard property . pyStatusMessage by default.
Test connectivity Click this button at any time after you have completed and saved the form to confirm that the Pega Platform can connect to the SAP system.

The system presents test results in a separate window, identifying the parameters used in the test, the steps attempted, and the outcome of each step.

Completing the Service tab for the SOAP connector type

If you are creating or updating a Connect SAP rule of SOAP connector type, use the Service tab to identify the properties of the remote SOAP service used by the SAP connector.

Complete the following section for the service properties:

Field Description
Style and use Specify the SOAP operation style for the messages:
  • Choose RPC/encoded for RPC-encoded.
  • Choose Document/ literal for document-literal.
  • Select RPC/ literal for RPC-literal.
Method Name Specify the SOAP operation name.
Namespace URI Optional. Enter the Uniform Resource Identifier (URI) or Uniform Resource Name (URL) for the namespace, starting with uri: or urn:. This need not correspond to a file at that location.
SOAPAction Header Optional. Enter the value of the soapAction HTTP header to send with the SOAP request message.
Request Only Select to specify the connector is to send the SOAP message and end the connection without waiting for a response (operate asynchronously). Clear this option to specify that the connector is to wait for a response (operate synchronously).
Note: If you select this option, the connector does not wait for a response even if you configure data mappings on the Response tab.

Complete the following section for Integration system:

Select the integration system to use as the system of record.

Complete the following section for authentication:

Field Description
Use Authentication? If selected, the Pega Platform includes authentication credentials in the HTTP header of the SOAP request message.

If your application requires SOAP headers that conform to a WS-Security format rather than using HTTP Basic, NTLMv1, or NTLMv2 authentication, you can configure the header directly on the Request tab.

Authentication Profile Required, if Use Authentication? is selected. Select the Authentication Profile that contains the authentication details required by the remote service.

This field supports the Global Resource Settings syntax (=PageName.PropertyName). The default property name for this field is pyAuthenticationProfile. For more information, see Using the Global Resource Settings feature.

Complete the following section for the connection:

Field Description
Service Endpoint URL Enter the URL of the remote service provider to which the SOAP request message is sent.

This field supports the Global Resource Settings syntax (=PageName.PropertyName). The default property name for this field is pySOAPURL. For more information, see Using the Global Resource Settings feature.

Response Timeout Optional. Enter a number of milliseconds after which, if no response is received, this rule times out with a failure message. Enter zero or leave blank to wait indefinitely.

This field is disabled and ignored at runtime when the Intended for field is set to queuing.

This field supports the Global Resource Settings syntax (=PageName.PropertyName). The default property name for this field is pySOAPTimeout. For more information, see Using the Global Resource Settings feature.

Connection ID

Optional. If the external system uses HTTP token passing to maintain stateful session data between requests, you can use this field to specify that a group of logically related connectors is share one session. Enter an arbitrary text value in this field, and enter the same text value in the other HTTP connector rules that are to share session data.

Maintain Session Select to use HTTP token-passing as the mechanism for maintaining a stateful session with the Web service provider. If selected, enter a Connection ID value in the previous field.

This field is disabled and ignored at runtime when the Intended for field is set to queuing.

Complete the following section for the SAP configuration:

Field Description
SAP authentication profile Optional. Select or create an authentication profile that you want to use to connect to the SAP system.
Client number Optional. Specify the client number of the SAP system.
Language Optional. Specify the language that you want to use to connect to the SAP system.
Server host name Optional. Specify the server host name of the SAP system.
System number Optional. Specify the system number of the SAP system.
System ID Optional. Specify the system ID of the SAP system.
SAP router Optional. Specify the router information of the SAP system.

Complete the following section for error handling:

Field Description
Error Handling

The properties in this section hold status and exception information returned by the Connect-SAP method. To map SOAP fault messages returned by the external Web service to the clipboard, use the Faults tab.

Status Value Property

Optional. Specify a Single Value Identifier property to hold the status code that the Connect-SAP method returns. When you generate a connector rule with the New SAP Integration wizard, this field is set to the standard property . pyStatusValue. The literal value Good identifies success.

Status Message Property Optional. Specify a Single Value Text property to hold the status description for the status code that the Connect-SAP method returns. When you generate a connector rule with the New SAP Integration wizard, this field is set to the standard property . pyStatusMessage.
Invocation Exception Property Optional. Specify a property of mode Java Object to contain the exception object, if any are thrown during the execution of the connector.
Error Handler Flow Optional. Identify a flow rule that routes to an appropriate place a work item that cannot continue in its current flow because this connector rule was unable to connect to the external system. The default flow rule Work-.ConnectionProblem provides one approach for handling such problems. See Handling connector exceptions.

Complete the following section for processing options:

You can allow connector requests from this Connect SAP to be processed asynchronously in parallel with the calling activity, or in background by an agent. (The mode of execution of each connector request is determined by the Execution Mode parameter of the Connect-SAP method, as enabled by the values in these two fields.)

Field Description
Processing Options  
Intended For Optional. Select:
  • immediate execution — the SAP connector executes synchronously; the calling activity waits for results.
  • queuing (response will not be available ) — the SAP connector executes asynchronously, with calls placed in a queue for processing by the Pega-IntSvcs agent. The calling activity continues without waiting for results.

Blank is equivalent to immediate execution.

Queuing, when selected, occurs only if also specified in the Connect-SAP method.

Request Processor Optional. If you selected queuing for the Intended for field, identify here a Connect Request Processor data instance that defines the classes and other characteristics of the queued connector requests, and for which the RuleSet key part matches the RuleSet of this Connect SAP rule. See More about SAP Connector rules.
Test Connectivity Click this button at any time after you have completed and saved the form to confirm that the Pega Platform can connect to the Java class identified.

The system presents test results in a separate window, identifying the parameters used in the test, the steps attempted, and the outcome of each step.

Simulations Click to create a simulator for this connect rule. See Connect Simulators.

You can use the Tracer tool to trace and analyze connector and service events.