SK SKYVVA Documentation

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

ParameterWhat to set
OperationThe channel's integration pattern. Use Integrate Synchronous, Integrate Asynchronous, Skyvva Batch, Skyvva Bulk, Salesforce Bulk, or Skyvva Autoswitch.
IntegrationThe SKYVVA integration name, when the message does not carry it.
InterfaceThe receiving SKYVVA interface name, when the message does not carry it. Use the exact capitalization when entering the parameter name.
AppVersionThe 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 parameterWhen to use it
OAuth2FlowSet Client-Credentials for a Salesforce External Client App. If omitted, v2.3.6 uses the legacy Username-Password flow.
AuthorizationServerURLThe OAuth token endpoint. For Client Credentials, use the org's My Domain endpoint, such as https://<your-domain>.my.salesforce.com/services/oauth2/token.
ConsumerKeyConsumer key from the Salesforce app. Use this spelling when configuring a channel.
ConsumerSecretConsumer secret from the Salesforce app. Enter it in the channel configuration.
SforceUsernameSalesforce user for the legacy Username-Password flow. For Client Credentials, set the run-as user in the Salesforce app.
pwdSforceLoginPasswordPassword for the legacy Username-Password flow.
SforceSecurityTokenOptional 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.

SettingModule parameterInterface fieldEffect in v2.3.6
Processing Package SizeConfigured on the interfaceNumber_of_Records_Per_Batch__cControls SKYVVA's processing size. In v2.3.6 the legacy split within Auto switch's Integrate path also reads this field.
Transfer Package SizeConfigured on the interfacePackage_Size__cThe v2.3.6 SAP PI/PO REST module does not use it to size the legacy transfer split.
Batch Package SizeBatchPackageSizeBatch_Package_Size__cRecords per SKYVVA Batch basket. The V3 module falls back to 100 when neither the channel nor the interface supplies a numeric value.
Bulk Package SizeBulkPackageSizeBulk_Package_Size__cRecords 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 parameterInterface fieldDefaultWhat it does
AutoswitchIntegrateMaxSizeIntegrate_Max_Size__c200Through this count, use Integrate. Above it and through the batch threshold, use Skyvva Batch.
AutoswitchBatchMaxSizeIntegrate_Batch_Max_Size__c5000Above 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 parameterWhat it does
BulkSetFieldValueToNULLSet 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 parameterWhat to set
SessionPooling.ActiveUse X for the documented session-reuse configuration.
SessionGlobalFilePathChoose 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 nameCurrent name
SforceWebServiceOperationOperation
IntegrationIDIntegration
InterfaceNameInterface
ConsumeKeyConsumerKey
SforceIntegrateMaxSizeAutoswitchIntegrateMaxSize
SforceIntegrateMaxBatchSizeAutoswitchBatchMaxSize
BatchPacketSizeBatchPackageSize
SforceBulkPackageSizeBulkPackageSize
Open this article in the interactive viewer →