3. Module parameter reference — REST connector module
Use this reference to configure the SAP PI/PO receiver channel for the SKYVVA v2.3.6 REST module Skyvva/V3/RestIntegration and a V3 message-type interface. Check the module and managed package prerequisites in 2. Designing the interface in SAP-PO.
3.1 How a setting is resolved
For Batch, Skyvva Bulk, and the Auto switch thresholds, the module checks the channel parameter, then the interface field, then the built-in default. When you change a value on the SKYVVA interface and see no change at runtime, check whether the channel supplies an override.
Routing has a different precedence. The module first reads the integration and interface names from the message, then looks at the channel for missing names.
3.2 Channel routing
| Parameter | What to set |
|---|---|
Operation | The channel's integration pattern. Use Integrate Synchronous, Integrate Asynchronous, Skyvva Batch, Skyvva Bulk, Salesforce Bulk, or Skyvva Autoswitch. |
Integration | The SKYVVA integration name, when the message does not carry it. |
Interface | The receiving SKYVVA interface name, when the message does not carry it. Use the exact capitalization when entering the parameter name. |
AppVersion | The installed SKYVVA managed package version, such as 2.48 on an org running that version. The module uses this to determine which version-dependent interface fields to request. |
3.3 Authentication
The SAP REST adapter and the SKYVVA module authenticate separately. Configure OAuth on the adapter's General tab for requests it sends to Salesforce. Configure the module on the Module tab for operations that make their own Salesforce calls, including Batch, Bulk, Auto switch, and interface lookups.
| Module parameter | When to use it |
|---|---|
OAuth2Flow | Set Client-Credentials for a Salesforce External Client App. If omitted, v2.3.6 uses the legacy Username-Password flow. |
AuthorizationServerURL | The OAuth token endpoint. For Client Credentials, use the org's My Domain endpoint, such as https://<your-domain>.my.salesforce.com/services/oauth2/token. |
ConsumerKey | Consumer key from the Salesforce app. Use this spelling when configuring a channel. |
ConsumerSecret | Consumer secret from the Salesforce app. Enter it in the channel configuration. |
SforceUsername | Salesforce user for the legacy Username-Password flow. For Client Credentials, set the run-as user in the Salesforce app. |
pwdSforceLoginPassword | Password for the legacy Username-Password flow. |
SforceSecurityToken | Optional separate security token for the legacy flow. Enter it here only if you have not already appended it to the password. |
See How to use the OAuth2 client-credential flow? for the settings on both tabs and the Salesforce setup.
3.4 Sizing
Use positive whole numbers for package sizes.
| Setting | Module parameter | Interface field | Effect in v2.3.6 |
|---|---|---|---|
| Processing Package Size | Configured on the interface | Number_of_Records_Per_Batch__c | Controls SKYVVA's processing size. In v2.3.6 the legacy split within Auto switch's Integrate path also reads this field. |
| Transfer Package Size | Configured on the interface | Package_Size__c | The v2.3.6 SAP PI/PO REST module does not use it to size the legacy transfer split. |
| Batch Package Size | BatchPackageSize | Batch_Package_Size__c | Records per SKYVVA Batch basket. The V3 module falls back to 100 when neither the channel nor the interface supplies a numeric value. |
| Bulk Package Size | BulkPackageSize | Bulk_Package_Size__c | Records per Skyvva Bulk package. The V3 module falls back to 100 when neither the channel nor the interface supplies a numeric value. Salesforce Bulk sends data through a separate path. |
Direct Integrate Synchronous and Integrate Asynchronous send the message in one request from the adapter. In v2.3.6 the legacy transfer split runs only when Skyvva Autoswitch chooses Integrate. See 4.3 Large messages in v2.3.6 and 8. Operation Auto switch.
3.5 Auto switch
Set Operation to Skyvva Autoswitch and configure the two thresholds:
| Module parameter | Interface field | Default | What it does |
|---|---|---|---|
AutoswitchIntegrateMaxSize | Integrate_Max_Size__c | 200 | Through this count, use Integrate. Above it and through the batch threshold, use Skyvva Batch. |
AutoswitchBatchMaxSize | Integrate_Batch_Max_Size__c | 5000 | Above this count, use Skyvva Bulk. |
Choose the thresholds using test messages that represent your record sizes and Salesforce processing costs. Auto switch counts records, so two messages with the same count can have different memory and processing costs. The audit log reports the thresholds used and the operation selected.
3.6 Salesforce Bulk settings
For Salesforce Bulk, configure the target object and write operation on the SKYVVA interface. Prepare the message fields for that target in SAP PI/PO. The module builds the CSV for Salesforce Bulk API from the incoming fields.
| Module parameter | What it does |
|---|---|
BulkSetFieldValueToNULL | Set to X when a field present with an empty value should be submitted as an explicit null. If other records supply that CSV column, an omitted field is blank. Confirm the intended result on a small test job before enabling it for production traffic. |
See 7. Operation Salesforce Bulk for the mapping and job checks.
3.7 Session reuse
| Module parameter | What to set |
|---|---|
SessionPooling.Active | Use X for the documented session-reuse configuration. |
SessionGlobalFilePath | Choose the SAP PI/PO directory for the module's session cache. The runtime needs write access. |
The adapter's OAuth settings have their own lifetime and renewal behavior. A successful adapter login does not establish that a module request has a valid session. For a login error, use the message monitor to identify which component failed before changing credentials or session settings.
3.8 Diagnostics
Start with the SAP PI/PO message audit log. Look for the module version, the operation, the selected path, and any size settings reported for that path. Record the message ID and the first error when requesting support.
SforceRequestPayload = X includes the request payload in the audit log. Use sanitized test records while reproducing a problem and turn the setting off after the check. Review logs for credentials and business data before sharing them.
3.9 Legacy parameter names
Use the current names on new channels. The following aliases can appear on existing v2.3.6 channels.
| Legacy name | Current name |
|---|---|
SforceWebServiceOperation | Operation |
IntegrationID | Integration |
InterfaceName | Interface |
ConsumeKey | ConsumerKey |
SforceIntegrateMaxSize | AutoswitchIntegrateMaxSize |
SforceIntegrateMaxBatchSize | AutoswitchBatchMaxSize |
BatchPacketSize | BatchPackageSize |
SforceBulkPackageSize | BulkPackageSize |