SK SKYVVA Documentation

1. SkyvvaSalesforce Receiver Adapter in SAP Integration Suite

1. Introduction

The SkyvvaSalesforce Receiver Adapter connects SAP Integration Suite to Salesforce. It sends data from your integration flow to Salesforce and returns a result when the selected action provides one.

You configure the adapter on the receiver connection of the integration flow. The settings let you choose how to sign in, what to do with the data, and which message format to use.

This guide describes SkyvvaSalesforce adapter 1.3.0. We recommend SKYVVA package 2.51.20 or later. Complete the prerequisites in the Installation and Beginner Guide before configuring the receiver.

Integration flow using the SkyvvaSalesforce receiver adapter

Figure 1. Integration flow using the SkyvvaSalesforce receiver adapter.

Context Before You Start

Use this guide when SAP Integration Suite sends data to Salesforce. The adapter offers two ways to handle the data:

Processing TypeWhen to use it
SkyvvaChoose Integrate for SKYVVA record processing, Query for the SKYVVA V4 query service, or Platform Event - Publishing to send an event.
SalesforceWork directly with Salesforce records, large groups of records, or events.

This guide uses Client Credential to sign in. Have your Salesforce My Domain address and application credentials ready. Your Salesforce administrator must enable Client Credential sign-in for the application and select the user it runs as. For Skyvva integration processing, also identify the SKYVVA Integration and Interface you want to use.

Before configuring a test flow:

Why Use This Adapter?

The adapter brings the Salesforce connection and processing settings into one place. You can use the same adapter for sending individual records, processing groups of records, finding records, and working with events.

When to Use This Guide

Use this guide to understand the settings before configuring your receiver connection. For a worked event example, see SKYVVA Platform Event Receiver — ERP Posted Invoices. Use the receiver tutorial for your selected record or batch operation when preparing its message data.

How This Guide Is Organized

Follow the tabs in order: General → Connection → Processing. Then read the section for your chosen processing type:

Only fill in the fields displayed for your selected action. This guide describes receiver component version 1.3; the deployed adapter release and installed Salesforce SKYVVA package version are separate values. Check both in your environment before testing. Complete the required fields with your own values.

2. Receiver Adapter Configuration

  1. In SAP Integration Suite, open Design and the package containing your test integration flow (iFlow).
  2. Open Artifacts, click the iFlow name, and click Edit.
  3. Select the connection line going to the Salesforce receiver.
  4. In the adapter selection dialog, search for SkyvvaSalesforce and select it. If a connection already uses another adapter, prepare the replacement in a test copy.

Selecting the SkyvvaSalesforce receiver adapter

Figure 2. Selecting the SkyvvaSalesforce receiver adapter.

The adapter has three tabs:

TabWhat to configure
GeneralEnter a name and an optional description. The other values are already set.
ConnectionChoose how to sign in to Salesforce.
ProcessingChoose what the adapter should do with the data.

General tab

Figure 3. General tab.

3. Connection Tab

Use this tab to sign in to Salesforce with Client Credential.


image

Figure 4. Connection tab with Client Credential selected.

3.1 Authentication Type

This value is already set to OAuth2.

3.2 OAuth2 Flow

Select Client Credential. The User Credential field is hidden for this choice.

Ask your Salesforce administrator to enable Client Credentials Flow for your application and select the integration user under Run As. This user needs access to the APIs, records and fields used by your integration.

3.3 Login URL

Enter your Salesforce My Domain base address:

EnvironmentAddress format
Productionhttps://your-domain.my.salesforce.com
Sandboxhttps://your-domain--sandbox-name.sandbox.my.salesforce.com

Replace these values with your organization's address. Do not add /services/oauth2/token or an Apex REST path; the adapter adds the required path.

3.4 Client Credential

The adapter uses the Salesforce application's Client ID and Client Secret. Store them in CPI Security Material and enter the saved name, called an alias, in the receiver's Client Credential field.

  1. Open Monitor → Integrations and APIs → Manage Security → Security Material.
  2. Choose Create → OAuth2 Client Credentials.
  3. Enter the following values:
FieldValue
Nameskyvva-client-credentials, or your chosen alias.
DescriptionOptional description, such as Salesforce connection for SKYVVA.
Token Service URLYour Salesforce My Domain base address followed by /services/oauth2/token, for example https://your-domain.my.salesforce.com/services/oauth2/token.
Grant TypeSend as Part of URL, as used in this setup.
Client IDSalesforce Consumer Key / Client ID.
Client SecretSalesforce Consumer Secret / Client Secret.
  1. Click Deploy to save the entry.
  2. Return to the receiver connection's Connection tab. Enter the saved Name in Client Credential, for example skyvva-client-credentials.

Keep the receiver's Login URL as the My Domain base address, without /services/oauth2/token. The full token address belongs in Token Service URL in Security Material.

image

Figure 5. OAuth2 Client Credentials in CPI Security Material.


For Salesforce application setup, see External Client App Client Credentials setup or Connected App Client Credentials and Run As configuration.

After completing the Processing settings, save and deploy the test iFlow, then send a test message. Check that Salesforce sign-in and the selected operation both succeed.

4. Processing Tab

Processing Type determines how the adapter handles your data. The remaining settings change to match your choice.

Processing TypeWhat it meansNext choice
Skyvva — defaultSends data through a SKYVVA Integration and Interface. For Integrate, the Interface settings and mapping determine whether records are inserted, updated or upserted (created or updated).Choose Operation: Integrate, Query, or Platform Event - Publishing.
SalesforceCalls Salesforce APIs directly. Select the operation in the adapter, such as Create, Update, Upsert or Query. A SKYVVA Integration and Interface are not required.Choose Type, such as REST, then select the required Operation. Other types include REST Bulk, REST Bulk 2.0, REST Place Order, Event Processing and Apex Call.

Sections 5–7 explain Skyvva processing. Section 8 explains Salesforce processing. Section 9 covers the shared settings for logging, retry, and waiting time.


image

Figure 6. Processing Settings with Skyvva selected.


image

Figure 7. Processing Settings with Salesforce selected.

5. Skyvva Integrate — Request Settings

Select Processing Type = Skyvva and Operation = Integrate.

5.1 Skyvva API Version

Choose the version used by your SKYVVA integration.

VersionWhat you configure
V2 — defaultEnter Integration and Interface, then choose Skyvva API and Apex Method. Use the message format required by the selected API.
V3Enter Integration and Interface, then choose the mode, request/response formats and Structure Format.


image

Figure 8. Skyvva V2 receiver settings with Integration, Interface, Skyvva API and Apex Method.

6. Skyvva Integrate — Request Settings for V2

Select Skyvva API Version = V2.

6.1 Skyvva API

Choose the action required by your integration.

Skyvva APIWhat it does
IntegrateSends data to the SKYVVA Integrate service using its required message format.
IntegrateSynchronousProcesses data and returns the result in the same call.
integrateBatchSends a group of records for batch processing.
SearchServiceFinds Salesforce records using search criteria.
V4/integrateAccepts XML or JSON business data and prepares the V2 compatibility request for V4 integration.
V4/integrateSynchronousAccepts XML or JSON and requests synchronous processing through the V4 compatibility path.
V4/integrateBatchAccepts XML or JSON and submits the batch compatibility request through V4 integration.
V4/integrateWithIMessageCreates SKYVVA messages and submits them for processing. Use the message format required by this option.

Enter the actual Integration and Interface names in the receiver settings. These fields are available for both V2 and V3 integration.

New in adapter 1.3.0: The V2 receiver screen includes Integration and Interface. With V4/integrate, V4/integrateSynchronous, or V4/integrateBatch, these fields let you select the destination without adding fromSystem and targetObject to each message. Values supplied in the message take priority.

The older Integrate, IntegrateSynchronous, and integrateBatch options still require integrationid and interfacename in the message. The receiver fields do not replace those identifiers.

Prepare the message using the identifiers required by the selected API:

Selected APIMessage identifiers
Integrate / IntegrateSynchronous / integrateBatchintegrationid and interfacename in the service's expected message structure.
V4/integrate / V4/integrateSynchronous / V4/integrateBatchfromSystem and targetObject in the XML or JSON message. A missing, null or blank value uses the corresponding Integration or Interface receiver setting.
V4/integrateWithIMessageIntegration and Interface, or fromSystem and targetObject, in the expected message structure.

Use the exact field names and actual SKYVVA values. Keep any names in the message consistent with the receiver settings. V2 does not have separate Request Format or Response Format settings.

With V4/integrate, V4/integrateSynchronous and V4/integrateBatch, the SKYVVA interface stays V2. The adapter prepares the data for the V4 API and splits larger inputs into smaller requests using the interface's package-size setting. If a later request fails, earlier requests may already have been accepted. Check the results before resending records.

6.2 Apex Method

The choices are GET, POST, PUT, PATCH, and DELETE. Use POST for sending integration data unless the selected service requires another method.

Use POST for V4/integrate, V4/integrateSynchronous and V4/integrateBatch. The V4/integrateWithIMessage option handles its create/process requests automatically.

7. Skyvva — V3 Settings, Event Publishing, and Query

For Operation = Integrate, select Skyvva API Version = V3. Platform Event publishing and Query have their own settings in sections 7.10 and 7.11.

Configure the V3 Integrate fields below for your chosen mode. Record the installed package version and supported API version before testing.


7.1 Integration

Enter the name of the SKYVVA Integration in Salesforce.

7.2 Interface

Enter the name of the SKYVVA Interface within that Integration.

7.3 Mode

Choose how to process the records.

ModeWhat it does
Synchronous — defaultProcesses the data and returns the result in the same call.
AsynchronousSubmits data for background processing. Check the final result in SKYVVA and Salesforce.
Skyvva BatchProcesses records in groups using SKYVVA.
Skyvva BulkUses SKYVVA to process large numbers of records.
Salesforce BulkUses Salesforce to process large numbers of records.
Auto-SwitchChooses a processing method using the configured record limits.

7.4 Processing Behavior

Shown when Operation = Integrate, Skyvva API Version = V3, and Mode = Asynchronous. See Figures 9 and 10.

OptionWhat it does
None — defaultUses normal background processing.
Create Message OnlyStores SKYVVA messages for later processing.

For Create Message Only, use SKYVVA package version 2.51.18 or later and enter its actual installed version in Skyvva App Version. In the SKYVVA Interface, disable By Passing Message so SKYVVA can store the messages. This option creates messages for later processing; it does not immediately create or update the business records.


image

Figure 9. Skyvva V3 Asynchronous mode with Processing Behavior = None.


image

Figure 10. Skyvva V3 Asynchronous mode with Processing Behavior = Create Message Only.

7.5 Request Format

Choose JSON or XML to match the data sent by your integration flow. The default is JSON.

7.6 Response Format

Choose JSON or XML for the returned result. The default is JSON.

7.7 Structure Format

Shown for Processing Type = Skyvva → Operation = Integrate → Skyvva API Version = V3.

Request Format selects XML or JSON. Structure Format tells the adapter how to read the data you send. Choose Custom Format or Skyvva Format to match your message and the SKYVVA Interface mapping.

Custom Format (default)

Send your business data in its own structure. If the structure or field names differ from the target Salesforce object, configure a SKYVVA Message Type and mapping. If they already match the Salesforce object and its field API names, use External Mapping.

A Salesforce object, also called an sObject, defines a record type such as Account or Contact.

When your business fields differ from Salesforce fields

Configure a source Message Type in SKYVVA to describe the incoming structure and use it for your SKYVVA Interface. Then configure SKYVVA mapping from those business fields to the target Salesforce fields.

For example, send this customer data with Request Format = JSON:

[
  {
    "CustomerNumber": "0000006000",
    "CompanyName": "Global Tech Solutions GmbH",
    "Telephone": "+49-89-1234567",
    "City": "Munich"
  }
]

For an Account interface, configure the mapping as follows, using your actual Salesforce field API names:

Business fieldSalesforce Account field
CustomerNumberERP_Customer_ID__c
CompanyNameName
TelephonePhone
CityBillingCity

When your message already matches Salesforce fields

If the incoming structure and field API names already match the target Salesforce sObject, enable External Mapping on the SKYVVA Interface. The source system or CPI has already prepared the Salesforce fields before the message reaches SKYVVA.

For example:

[
  {
    "ERP_Customer_ID__c": "0000006000",
    "Name": "Global Tech Solutions GmbH",
    "Phone": "+49-89-1234567",
    "BillingCity": "Munich"
  }
]

Both examples use Custom Format. Set Integration and Interface in the CPI receiver's Processing tab. Use the Message Type and SKYVVA mapping for the first case, or the matching External Mapping configuration for the second.

Skyvva Format

Use the structure generated by SKYVVA for a Salesforce object, such as Account, including its object wrapper and Salesforce field API names. For example, use the generated OpenAPI 3.0 definition for CPI mapping. The JSON message follows this structure:

{
  "Integration": "SAP Cloud Integration",
  "Interface": "Account_ERP_V3_In",
  "Account": [
    {
      "ERP_Customer_ID__c": "0000006000",
      "Name": "Global Tech Solutions GmbH",
      "Phone": "+49-89-1234567",
      "BillingCity": "Munich"
    }
  ]
}

For this JSON format, Integration and Interface in the message take priority over the CPI receiver settings. If either field is omitted, the adapter uses the corresponding receiver setting. Use your actual Integration and Interface names.

For your first migration test, keep the message structure and mapping setup that already work. Choose Structure Format by the message entering the adapter: your custom business structure, or the structure generated by SKYVVA. Using External Mapping does not by itself require Skyvva Format. The JSON examples above do not define the XML structure.

7.8 Skyvva App Version

Enter the actual SKYVVA package version installed in Salesforce. Replace the default 2.48.0 with that version. This setting affects asynchronous processing, so do not enter a newer version than the one installed.

7.9 Salesforce API Version

Enter a Salesforce API version supported by your organization and adapter, such as 53.0 if supported. The field defaults to 53.0. This is separate from Skyvva API Version and Skyvva App Version.

7.10 Skyvva — Platform Event Publishing

To send an event instead of processing integration records, select Processing Type = Skyvva and Operation = Platform Event - Publishing.

FieldDescription
IntegrationEnter the name of the SKYVVA Integration containing the Interface.
InterfaceEnter the SKYVVA Interface name. Set its Salesforce Source/Target Name to the event API name, such as OrderEvent__e. Select Operation Type = Publish Platform Event when creating that Interface in SKYVVA.
Request FormatChoose Application/JSON or Application/XML to match the event data you send.
Response FormatChoose Application/JSON or Application/XML for the confirmation returned after sending.

Integration and Interface are required. Both formats default to Application/JSON.

This screen does not require Skyvva API Version or Mode selection. The adapter finds the event from the Interface and publishes the field values in your message.

Inspect the acknowledgement for the result of each event publication request. It does not confirm that the processes receiving the event have finished. If you change the event API name on the selected Interface, restart or redeploy the iFlow to refresh its cached event selection.


image

Figure 11. SkyvvaSalesforce receiver settings for SKYVVA Platform Event publishing.

7.11 Skyvva — Query

For a Query setup, add a new SkyvvaSalesforce receiver connection and select Processing Type = Skyvva → Operation = Query. This calls the SKYVVA V4 query service.

FieldWhat to enter
IntegrationEnter the SKYVVA Integration name if required by your query service.
InterfaceEnter the SKYVVA Interface name if required by your query service.
Request FormatSelect JSON or XML to match your query message, if required by the service.
Response FormatSelect JSON or XML for the result, if required by the service.

These fields have no default values. Enter any values required by your SKYVVA query service and send the message in its expected XML or JSON structure. Selecting Request Format does not convert the message.

Query does not show Skyvva API Version, Skyvva API, Apex Method, or integration Mode selectors. It is separate from Salesforce → REST → SOQL - Execute Query.

For dynamic query settings, ask the flow owner to configure the supported header or exchange-property overrides.


image

Figure 12. SkyvvaSalesforce receiver settings for SKYVVA Query.

8. Salesforce Processing

Select Processing Type = Salesforce to work directly with Salesforce records or events. Then choose Type and the action you need. SKYVVA Integration and Interface are not required.

Choose Type according to what you want to do:

TypeUse it for
RESTRead, add, change, or delete records; search for records; or combine several actions in one call.
REST BulkSend large groups of records using jobs and batches.
REST Bulk 2.0Load CSV data or retrieve large sets of records.
REST Place OrderWork with accounts, contracts, orders, and order products.
Event ProcessingRead event messages or publish a Platform Event.
Apex CallCall a custom service created in Salesforce.

Choose a Salesforce API version supported by your organization and operation. When testing REST Bulk, REST Bulk 2.0 or REST Place Order, confirm that the request uses the intended API version.

Some fields can use values prepared earlier in the iFlow. For example, use ${exchangeProperty.AccountId} for an exchange property or ${header.AccountId} for a message header. Set that value before calling the receiver.

8.1 REST

Select Type = REST for Salesforce records, searches, and queries. A query is a request to find records that match your conditions.

OperationWhat it does / what to enter
Other - Get REST API VersionsLists the available Salesforce API versions.
Other - Get REST Resource EndpointsLists the Salesforce addresses available for the selected API Version.
Metadata - AllLists the kinds of records available, such as Account and Contact.
Metadata - BasicShows basic information about the selected Salesforce Object.
Metadata - ComprehensiveShows the fields and related records for the selected Salesforce Object.
Salesforce Object - CreateCreates one record from the message data. Select Salesforce Object or provide Custom Salesforce Object.
Salesforce Object - GetRetrieves a record using Salesforce Object ID.
Salesforce Object - Get with External IDRetrieves a record using External ID Name and External ID Value.
Salesforce Object - UpdateUpdates the record identified by Salesforce Object ID using the message data.
Salesforce Object - Upsert with External IDCreates or updates a record using External ID Name, External ID Value, and the message data.
Salesforce Object - DeleteDeletes the record identified by Salesforce Object ID.
Salesforce Object - Delete with External IDDeletes a record using External ID Name and External ID Value.
SOSL - Search ResourceFinds records using the search entered in SOSL Search.
SOQL - Execute QueryRuns SOQL Query. Include deleted records in query result adds deleted or merged records; Auto Pagination collects all result pages.
SOQL - Execute Query for More ResultsRetrieves another query page using Next Records URL.
Salesforce Object - Get BlobDownloads the file from an Attachment or Document record.
Salesforce Objects - CompositePerforms several actions in one call. See section 8.2.
Salesforce Objects - sObject CollectionsAdds, changes, reads, or deletes a group of records. See section 8.3.
Salesforce Objects - Custom RequestUses the Salesforce address and action you provide. See section 8.4.
Salesforce - List Organization LimitsShows the usage limits for your Salesforce organization.

API Version defaults to 57.0. Select the version used by your Salesforce connection.

For record operations, fill in the fields shown:

SettingWhat to enter
Salesforce ObjectChoose the kind of record, such as Account. Select Custom for records defined by your organization.
Custom Salesforce ObjectEnter the Salesforce name of the custom object, such as Invoice__c.
Salesforce Object IDID of the record to read, update, delete, or download.
External ID NameName of a Salesforce field set up as an External ID, used to match records from another system, such as ERP_DEBTOR_ID__c.
External ID ValueValue to match in that field.
Filter FieldsChoose which fields to include in the result. Add one field per row.

For Get Blob, choose Attachment or Document as the Salesforce Object.

image

Figure 13. Salesforce REST operation choices.


image

Figure 14. Salesforce REST record settings.

8.2 Salesforce Objects - Composite

Select Type = REST and Operation = Salesforce Objects - Composite to send several actions in one call.

SettingWhat to choose
API VersionSalesforce API version; default 57.0.
Payload FormatApplication/JSON or Application/XML to match the message. Default XML.

The message contains the actions to perform, their addresses, and their data. With JSON input, these actions are listed in compositeRequest.

The adapter builds the main address automatically:

https://<salesforce-instance>/services/data/v<API-version>/composite

Each action inside the message has its own address, starting with /services/data/v<version>/. Changing API Version in the adapter does not change the versions written inside the message.


image

Figure 15. Salesforce Objects - Composite settings.

8.3 Salesforce Objects - sObject Collections

Select Type = REST and Operation = Salesforce Objects - sObject Collections. Choose what to do with the records in Method.

MethodWhat it does / what to enter
CreateCreates records from the message data.
UpdateUpdates records from the message data.
UpsertCreates new records or updates matching records using Salesforce Object and External ID Name.
RetrieveRetrieves records for the selected Salesforce Object using the IDs and requested fields in the message data.
DeleteDeletes the records in List of Ids. Enable All or None to cancel all deletions if one fails.

API Version defaults to 57.0. Choose Payload Format to match the message; the default is XML. Inspect each record result for errors; a successful HTTP response does not prove every record succeeded.

Both options are off by default.


image

Figure 16. Salesforce Objects - sObject Collections settings.

8.4 Salesforce Objects - Custom Request

Select Type = REST and Operation = Salesforce Objects - Custom Request to call a Salesforce address that you provide.

ParameterDescription
Resource Relative URLThe part of the address after your Salesforce domain name. Start with / and include the API version where needed.
Method NameGET, POST, PATCH, PUT, or DELETE; default GET.
Request Payload FormatFormat of the data to send: JSON, XML, or file content. Default XML.
Response Payload FormatFormat to request for the result: JSON, XML, or file content. Default XML.
HTTP ProtocolShown for PATCH. Keep Default.

GET reads data, POST sends new data, PATCH updates selected fields, PUT replaces data, and DELETE removes data. Choose the method required by the Salesforce service.

For example, enter /services/data/v57.0/sobjects/Account/${exchangeProperty.AccountId}. The adapter returns the result in Salesforce's response format.


Set AccountId earlier in the flow and use the supported exchange-property expression in the Resource Relative URL example above.

8.5 REST Bulk

Select Type = REST Bulk to send large numbers of records in groups. A job holds the work to be done; a batch is one group of records within that job.

ActionsAvailable operations
JobsJob - Create, Job - Get, Job - Abort, Job - Close, Job - Get All Batches
Data batchesBatch - Create, Batch - Get, Batch - Get Request, Batch - Get Results
Query batchesBatch Query - Create, Batch Query - Get Result, Batch Query - Get Result IDs
ParameterDescription
API VersionBulk API version; default 57.0.
Content TypeFor Batch - Create: XML, CSV, JSON, ZIP XML, ZIP CSV, or ZIP JSON. For Batch Query - Create: XML, CSV, or JSON. Default XML.
SOQL QueryFor Batch Query - Create, enter the query here.
Payload FormatJSON or XML for job messages and results. Default XML. Content Type controls the data sent in a batch.
Job IDID of the job to send data to, check, close, or stop.
Batch IDID of the batch to check or retrieve.
Result IDID of the query result to retrieve.
Data from Attachment / Attachment NameUse an attached file as the batch data. Enter its attachment name.
Handle XML Null ValuesAllows empty values marked as null to clear Salesforce fields in supported XML messages.

Create a job, then send each batch using its Job ID and close the job when submission is complete as required by the chosen Bulk workflow. Save the Job ID and Batch ID, check processing status and retrieve each batch's results. Successful upload is not final record completion.

For Batch Query - Create, confirm that the request's Content-Type matches the job's content type before your first run.


image

Figure 17. REST Bulk operation choices.


For Batch - Create, select Data from Attachment only when the iFlow already contains the file to upload. Enter its exact Attachment Name and the existing Salesforce Job ID. Set Content Type to match the attachment and job. To send the message body instead, clear Data from Attachment. Figure 18 illustrates the XML attachment settings.

image

Figure 18. REST Bulk batch creation settings.

8.6 REST Bulk 2.0

Select Type = REST Bulk 2.0 to load records from a CSV file or retrieve large sets of records. CSV is a text file with data arranged in rows and columns.

ActionsAvailable operations
Loading recordsJob - Create, Job - Upload Data, Job - Get, Job - Get All Jobs, Job - Close, Job - Abort, Job - Delete
Query jobsJob Query - Create, Job Query - Get Information, Job Query - Get Results, Job Query - Abort, Job Query - Delete, Job Query - Get All Query Jobs

API Version defaults to 57.0.

For Job - Create, turn on Advanced Job Properties to enter the job settings in the adapter. Otherwise, supply them in the message.

ParameterDescription
Salesforce ObjectKind of record, such as Account or CustomObject__c.
Operation NameInsert adds records; Update changes records; Upsert adds or updates; Delete removes records; Hard Delete removes them permanently. Default Insert.
Content TypeCSV.
Column Delimiter for JobCharacter separating the CSV columns. Default Comma; other choices are Backquote, Caret, Pipe, Semicolon, and Tab.
Line EndingHow each CSV row ends: LF or CRLF. Match the file. Default LF.
Assignment Rule IDOptional assignment rule for Case or Lead.
External ID Field NameField used to match records for Upsert. Include this column in the CSV.
Upload Job Data from bodyCreates the job and uploads its data together. Off by default.

To upload to an existing job, choose Job - Upload Data, enter its Job ID, and supply CSV data. Then choose Job - Close to mark the ingest upload complete and make the job ready for processing. Check the final job state and retrieve successful, failed and unprocessed records; closing/uploading alone does not prove success. See Salesforce: Bulk API 2.0 ingest workflow.

For Job - Get, Job Result Type chooses job information (None), Successful Results, Failed Results, or Unprocessed Records. Record results are downloaded as CSV.

For Job - Get All Jobs, Job Type and Enable PkChunking filter the job list. Query Locator identifies another page of that list. Leave these settings at their defaults unless you need a filtered list or another page.

For query jobs:

SettingWhat to enter
Operation NameQuery, or QueryAll to include deleted or merged records. Default Query.
SOQL QueryThe query used to find records.
Query Job IDID of the query job to check or retrieve.
Max RecordsMaximum records per result page; default 2000.
Auto PaginationTurn on to collect all result pages automatically.
Sforce-LocatorValue identifying a particular result page, when you need to retrieve it separately.

Advanced Job Properties also shows CSV column and line-ending settings for query creation. Wait for the query job to complete before retrieving its CSV results. Follow the returned locator until all required pages are collected, or use Auto Pagination. See Salesforce: Query job information and states.


image

Figure 19. REST Bulk 2.0 record loading settings.


image

Figure 20. REST Bulk 2.0 query creation settings.


image

Figure 21. REST Bulk 2.0 query result settings.

8.7 REST Place Order

Select Type = REST Place Order to work with Salesforce contracts and orders. Choose the action you need.

OperationPurpose
Account - Add Contracts and OrdersCreates contracts and orders related to an account from the message data.
Account - Add OrdersCreates orders related to an account from the message data.
Contract - Add OrdersAdds orders to the contract identified by Contract ID.
Order - Add ProductsAdds products to the order identified by Order ID.
Contract - GetRetrieves a contract using Contract ID.
Order - GetRetrieves an order using Order ID.
Contract - Filter DetailsRetrieves filtered contract details using Contract ID, Filter Name, and Filter Value.
Order - Filter DetailsRetrieves filtered order details using Order ID, Filter Name, and Filter Value.

API Version defaults to 57.0. When sending data, choose Payload Format to match the message. Use Filter Fields to choose which details to return where available.


image

Figure 22. REST Place Order settings.

8.8 Event Processing

Select Type = Event Processing to read Salesforce event messages or send a Platform Event. Choose the Event Type first.

Event TypeSupported actionsChannel example
PushTopic EventsEvent - Polling/topic/Account
Generic EventsEvent - Polling/u/notifications/ExampleUserChannel
Platform EventsEvent - Polling, Event - Publishing/event/OrderEvent__e
Change Data Capture EventsEvent - Polling/data/AccountChangeEvent

Event - Polling waits for event messages and returns them to your integration flow.

ParameterDescription
Channel NameEvent address to read. Use the exact spelling and letter case.
API VersionStreaming API version; default 57.0.
Replay IdWhere to start reading. -1 reads new events; -2 reads events still available in Salesforce. Enter a previous Replay Id to continue after that event.
Wait Time (in ms)How long to wait for events. Default and minimum 30000 milliseconds (30 seconds).
Maximum Events CountMaximum events to read; default 10. For Platform Events/CDC, keep the value between 1 and 100.
Invalid Replay Id ApproachIf the Replay Id is unavailable, read new events (-1), read available earlier events (-2), or stop with an error (None).
Max Buffer Size (in bytes)CometD response buffer setting for PushTopic/Generic polling. Default 10485760 bytes (10 MB).
Max Network Delay (in ms)CometD connection-response setting for PushTopic/Generic polling. Default 120000 milliseconds (2 minutes).
Payload FormatChoose JSON or XML for the returned events.

The default Event Type is PushTopic Events and the default operation is Event - Polling. PushTopic and Generic Events use CometD; Platform Events and CDC use Pub/Sub. These receiver calls read a bounded set of events; they are not continuous Sender subscriptions.

For Platform Events/CDC, enter a numeric Replay Id from a previously received event. If you only have a Base64 value, ask your administrator for a supported replay position; do not convert it yourself or copy one from a publishing response. Test resuming event delivery before relying on it for recovery.

For Platform Events → Event - Publishing, enter the Channel Name, such as /event/OrderEvent__e, and supply the event field values in the message. Choose JSON or XML for Request Format and Response Format; both default to JSON. The adapter returns a confirmation after sending the event.


image

Figure 23. Salesforce event polling settings.

8.9 Apex Call

Select Type = Apex Call to use a custom service created in Salesforce.

ParameterDescription
Resource Relative URLThe part of the service address after your Salesforce domain name, starting with /. For example /services/apexrest/Account/${exchangeProperty.AccountId}.
Method NameGET, POST, PATCH, PUT, or DELETE; default GET.
Payload FormatApplication/JSON or Application/XML; default XML. The adapter passes the message and result through without conversion.
HTTP ProtocolShown for PATCH. Keep Default.
Query ParametersOptional values added to the service address. Enter them only when the custom service requires them.
Customized Request HeaderAdditional request settings required by the service.

Prepare the message in the format required by the custom service. For an XML service, set Content-Type and Accept to application/xml in Customized Request Header. Selecting XML in Payload Format alone does not set these values for Apex Call.


image

Figure 24. Salesforce Apex Call settings.

8.10 Format and Header Settings

Payload Format means the format of the message data: Application/JSON or Application/XML. For Salesforce processing, the default is XML. Choose JSON when sending JSON data.

SettingWhen to use it
Pretty PrintMakes supported JSON or XML results easier to read.
Handle XML Null ValuesAllows values marked as null in supported XML messages to clear Salesforce fields.
Treat all XML Payload Values as StringKeeps XML values as text, for example numbers with leading zeros.
Customized Request HeaderAdds settings required by a particular Salesforce service.

The two XML options are off by default. They appear only for supported actions.

Custom Request has separate Request Payload Format and Response Payload Format fields. Event publishing has separate Request Format and Response Format fields. Get Blob returns file content.

If HTTP Protocol appears, keep Default.

8.11 Using SAP Salesforce Adapter Instructions

Many field names and choices match SAP's Salesforce adapter. For this adapter, use the labels and settings described above.

The main differences to remember are:

9. Adapter Settings

These settings apply to both Skyvva and Salesforce processing.

9.1 Logging Option

Choose how much information the adapter records. These settings are separate from CPI message-processing log settings. Detailed logging can also affect other connections using the same adapter, so use Trace or Debug only while investigating a problem.

OptionWhat it records
DefaultNormal logging.
Trace level / Debug levelMore detail for investigating a problem.
Info levelGeneral activity.
Warning levelWarnings and errors.
Error levelErrors only.

Keep Default for normal use.

9.2 Enable Retry for Fatal Connectivity Errors

Off by default. Enable limited connection retries for supported Skyvva asynchronous requests. This setting does not apply to every operation and does not correct invalid message data.

If a request fails or times out, check the Salesforce result before resending to avoid duplicates.

9.3 HTTP Client Timeout

How long the adapter waits for an HTTP response. The default is 60 seconds. This does not set the total processing time for a Bulk job or event delivery.


image

Figure 25. Shared Adapter Settings.

9.4 Deploy, Verify, and Recover

  1. Save and validate the iFlow. Deploy the adapter first, then any required referenced mapping artifacts and the iFlow. In Monitor → Integrations and APIs → Manage Integration Content, confirm that the iFlow status is Started.
  2. Send one prepared test message in your sandbox and save its CPI message ID, response and relevant record, job or event IDs. Check message-processing errors and the returned per-record or per-event results.
  3. Verify the operation-specific result:
Operation familyCompletion check
Integrate or direct record writesExpected Salesforce record IDs, field values and relationships; check individual errors and duplicates. For background modes, wait for final SKYVVA processing.
Create Message OnlyExpected SKYVVA messages are created. Immediate business reprocessing is intentionally skipped.
Query, Search or record retrievalExpected records/fields and any service errors. Retrieve further pages where the selected API returns a locator or next-records URL; one page is not necessarily the complete result.
Bulk jobsFinal job/batch status and successful, failed and unprocessed record results supported by that API. Upload/close acknowledgements alone are insufficient.
Event publishingResult of every requested publication. Verify the intended subscriber separately when testing the complete business scenario.
Event pollingExpected event payloads/count and returned replay position. An empty bounded poll does not prove the business producer failed; check the channel, replay start and test timing.
Custom Request or Apex CallThe custom service's documented response and business effect; HTTP success alone may not establish business success.
  1. If processing fails or times out, check which records, jobs or events were already accepted before retrying. Earlier writes may remain even when a later batch fails. Follow the agreed recovery steps and use the record-matching rules that prevent duplicate submissions.

For adapter replacement, connection migration and rollback, follow the Minor Upgrade Guide or Micro Update Guide.

10. Summary

The SkyvvaSalesforce Receiver Adapter sends data from SAP Integration Suite to Salesforce. Choose Skyvva processing when using SKYVVA Integration and Interface settings, or Salesforce processing for direct record and event operations.

Configuration areaWhat to set
GeneralA name and an optional description for the receiver connection.
ConnectionSalesforce login address and Client Credential, as used in this guide.
Skyvva V2Enter Integration and Interface, select Skyvva API and Apex Method, and prepare the required message structure. Selecting a V4 API operation keeps the existing SKYVVA interface at V2.
Skyvva V3 IntegrateIntegration, Interface, Mode, Structure Format, actual SKYVVA app version, and request/response formats.
Structure FormatCustom Format: use your business structure, with a SKYVVA Message Type and mapping when it differs from Salesforce, or External Mapping when it already matches. Skyvva Format: use the generated Salesforce object structure, including its object wrapper and field API names.
Skyvva QueryOptional Integration, Interface, Request Format, and Response Format for the fixed V4 query service.
SalesforceType, Operation, and the fields needed for that action.
Event publishingThe event details and formats; use the SKYVVA Interface or Salesforce Channel Name, depending on Processing Type.
Adapter SettingsLogging level, supported connection retries and HTTP response timeout.

Use this guide to choose the receiver settings. Prepare the message required by your selected operation, then follow Deploy, Verify, and Recover to check the result.

Open this article in the interactive viewer →