SK SKYVVA Documentation

14. How to Push Account and Contact Data via V3 Create Message Only with the SkyvvaSalesforce Adapter

1. Overview

A partner submits customer and contact details for review before they enter Salesforce. This tutorial sends that data from Postman through SAP Cloud Integration (CPI), saves it as SKYVVA messages, and lets a data steward review and release it with Reprocess.

The SkyvvaSalesforce receiver adapter uses V3, Asynchronous, and Create Message Only. CPI Message Mapping converts the SAP customer XML into Account and nested Contact data. SKYVVA External Mapping maps the resulting field names to Salesforce fields when the messages are later processed.

ItemValue
IntegrationSAP Cloud Integration
Entry interfaceAccount_CPI_CreateMessageOnly_IN
Related interfaceContact sub-interface generated by SKYVVA node mapping
SourcePostman, representing a customer submission
Request and responseXML
Initial resultSKYVVA messages with status New
After successful ReprocessAccount and related Contacts created or updated
Postman: customer XML
  → SAP CPI: CPI Message Mapping
  → SkyvvaSalesforce receiver: V3 / Asynchronous / Create Message Only
  → SKYVVA messages: New
  → Data steward reviews and clicks Reprocess
  → Salesforce Account and related Contacts
image

Figure 1. Source overview showing Postman, CPI Message Mapping, and Salesforce message storage.

Before you start

Prepare access to a Salesforce sandbox with SKYVVA installed, SAP Integration Suite, and Postman. The Salesforce integration user needs access to the Integration, interfaces, SKYVVA message data, Account, Contact, and the external ID fields used below. The reviewer needs access to monitoring and Reprocess. Prepare working Salesforce receiver credentials and separate credentials authorized to call the CPI HTTPS endpoint. For CPI Message Mapping, have the source message definition for the DEBMAS06 sample available; the tutorial does not supply or display a source schema file. Generate the target schema from SKYVVA after configuring the Account/Contact hierarchy.

For the current adapter's native V3 asynchronous path, use an installed SKYVVA package version of 2.51.18 or later and enter that actual version in Skyvva App Version. This is the adapter routing threshold; also confirm that your installed SKYVVA build supports manual release of create-only message trees.

Manual-release compatibility: the current local v2.51 source filters out New roots and messages whose root is New in the Monitor Reprocess selection. That can leave the create-only hierarchy ineligible for this release action. The supplied screenshots show a historical run, so verify the behavior in your installed package before using this walkthrough as a review-and-release workflow.

Create Message Only pauses the adapter's automatic posting step. It does not provide approval routing or prevent a separate authorized user, scheduler, or custom process from releasing messages. Use an isolated test interface and ensure no other process releases its messages during this exercise.

2. Prepare the Salesforce interfaces

In Salesforce, open the SKYVVA application and Integration SAP Cloud Integration. Prepare the inbound Account main interface, then use its SKYVVA Mapping Tool to map Account node to Account node and the nested Contact node to Contact node. Save these node mappings to build the hierarchical interface; SKYVVA generates the Contact sub-interface and chain.

SettingAccount interfaceContact interface
Interface NameAccount_CPI_CreateMessageOnly_INUse the Contact sub-interface name generated when the node mappings are saved
Source/Target NameAccountContact
Interface DirectionInboundInbound
Processing ModeAsynchronousAsynchronous
Operation TypeUpsertUpsert
External MappingEnabledEnabled
By Passing MessageDisabledDisabled
Interface API VersionV3V3
Salesforce External IDERP_DEBTOR_ID__cERP_CONTACT_ID__c
Source structure nodeAccountAccount/Contact within the same hierarchy

This test uses External Mapping. In the SKYVVA Mapping Tool, map only the object nodes to define the Account/Contact hierarchy. CPI Message Mapping handles the field-to-field transformation.

Use the exact external ID API names available in your org and its exported schema, including namespace prefixes where applicable. Upsert uses these keys to match existing records. The Contact key must combine customer number and contact number, because a contact number such as 0001 can occur under different customers.

image

Figure 2. Account interface under Integration SAP Cloud Integration, configured for inbound asynchronous upsert.


External Mapping requires the mapped XML to use Salesforce field API names. Save the Account-to-Account and nested Contact-to-Contact node mappings to build the hierarchy and its Account relationship. SKYVVA uses the successfully processed parent message to fill each Contact's AccountId; leave that field out of CPI Message Mapping for this exercise. By Passing Message must be disabled, because Create Message Only requires stored SKYVVA messages.

3. Prepare the integration flow and mapping

Use an integration flow named Account Contact via V3 Create Message Only in package Skyvva Salesforce Adapter Testing. Its business steps are:

Sender (Partner Submission)
  └─ HTTPS → Start (Receive Customer Submission)
               → Message Mapping (Map Customers and Contacts)
               → Request Reply (Save Waiting Messages)
                    ├─ SkyvvaSalesforce → Receiver (Salesforce)
                    └─ response → End (Return Acknowledgement)

The component type identifies what to add in CPI; only the text in parentheses is its General → Name.

image

Figure 3. Original canvas with HTTPS, Message Mapping, and a SkyvvaSalesforce receiver connection from End.

Map customer XML to Account and Contact data

The source is a DEBMAS06 IDoc, an SAP customer master XML message. Each IDOC/E1KNA1M represents a customer; each nested E1KNVKM represents one contact person. CPI Message Mapping converts those nodes into the Account interface's exported structure.

SourceTargetDescription
Each IDOCOne AccountExact exported node connection; one customer per IDoc.
E1KNA1M/KUNNRAccount/ERP_DEBTOR_ID__cCustomer upsert key; retain leading zeros.
E1KNA1M/NAME1Account/NameCustomer name.
STRAS, ORT01, PSTLZBillingStreet, BillingCity, BillingPostalCodeCustomer address fields.
LAND1, REGIO, BRSCHBillingCountry, BillingState, IndustryDirect connections in the export; these optional source fields are absent from the small input. Validate their values when supplied.
E1KNA1M/TELF1Account/PhoneCustomer phone.
Each E1KNVKMOne nested ContactPreserve the Contact's parent customer context.
Parent KUNNR + - + PARNRContact/ERP_CONTACT_ID__cStable key, for example 0000006000-0001.
NAMEV, NAME1, SMTP_ADDR, TELF1 within E1KNVKMFirstName, LastName, Email, PhoneContact fields; distinguish Contact NAME1 from customer NAME1.

Generate the target schema directly in SKYVVA: open Account_CPI_CreateMessageOnly_IN → Generate MetaData, select Format = XSD Schema and API = V4/Integrate, then download the generated schema and use it as the CPI Message Mapping target. Set the receiver's Structure Format = Skyvva Format for this generated structure; the receiver runtime remains V3. Use the generated root element and namespace. If the export has no nested Contact, finish the saved hierarchy/source structures in section 2 and regenerate before mapping.

Choose Skyvva Format when the XML or JSON received by the adapter follows the structure defined by the schema generated from SKYVVA. CPI can map the data into this structure, or forward it directly if it already matches.

image

Figure 3a. Source DEBMAS06 and the Account_CPI_CreateMessageOnly_IN target structure in CPI Message Mapping.

4. Configure the HTTPS sender

The HTTPS sender exposes the endpoint Postman will call. Use this example path and ensure the caller has the role required by the sender connection.

SettingValueDescription
Address/skyvva/Account/CPI/PartnerOnboarding/v3Relative path for this exercise.
AuthorizationUser RoleCaller must satisfy the configured authorization.
User RoleESBMessaging.sendExample role used in the supplied screenshot.
image

Figure 4. HTTPS sender channel identity.


image

Figure 5. HTTPS endpoint path and required user role.

5. Configure the SkyvvaSalesforce receiver

Connection

Use your Salesforce OAuth2 connection, with the login URL for the target org and the credential alias for the selected OAuth2 flow. The supplied example uses OAuth2 → Client Credential.

image

Figure 6. Example OAuth2 client-credential configuration for the Salesforce receiver.

If authentication fails, check the login URL, credential alias, and Salesforce integration user's access before resending.

Processing

SettingValueDescription
Processing TypeSkyvvaUse SKYVVA integration processing.
OperationIntegrateCurrent GUI label for the SKYVVA integration operation.
Skyvva API VersionV3Select the native V3 configuration.
IntegrationSAP Cloud IntegrationMatch the Salesforce parent Integration.
InterfaceAccount_CPI_CreateMessageOnly_INEntry Account interface with chained Contact interface.
ModeAsynchronousMakes Processing Behavior available.
Processing BehaviorCreate Message OnlySave messages and skip automatic reprocessing.
Request FormatXMLCPI Message Mapping supplies XML.
Response FormatXMLReturn an XML acknowledgement.
Structure FormatSkyvva FormatMatch the structure generated from SKYVVA and used as the CPI Message Mapping target.
Skyvva App VersionActual installed version, at least 2.51.18Example screenshot: 2.51.18.
Salesforce Api VersionVersion supported by your org and adapterExample screenshot: 59.0.
image

Figure 7. Original V3 asynchronous Create Message Only settings; change Structure Format to Skyvva Format as specified above.


If Processing Behavior is missing, check Processing Type, Operation, Skyvva API Version, and Mode. V2 → V4/integrate is a separate receiver configuration and does not use this native V3 create-only mechanism.

6. Deploy and copy the endpoint

Once the mapping and connections are ready, save and deploy the integration flow. Confirm its runtime status is Started.

image

Figure 8. Source integration flow showing its deployed and Started state.


In Monitor → Manage Integration Content, open the deployed flow and copy its URL from Endpoints. Use the exact URL from your tenant.

image

Figure 9. Endpoint location in Manage Integration Content.

7. Prepare a small customer submission

Start with one Account and two Contacts. This makes the initial pause and later parent/child processing easy to verify.

RecordExternal keyName
Account0000006000Global Tech Solutions 6000 GmbH
Contact0000006000-0001John Smith
Contact0000006000-0002Maria Garcia

Check whether these external keys already exist in the sandbox. If they do, record their current values before sending: Upsert will update those records after release. If you need a create test, use unused keys and carry those values through every check.

The example input uses the source IDoc structure. Postman sends it to CPI; CPI Message Mapping converts it before the SkyvvaSalesforce receiver receives it. The full bulk source is optional after the small scenario has passed; this tutorial's create-only test does not establish bulk capacity or remove Salesforce limits.

8. Send the request from Postman

SettingValue
MethodPOST
URLEndpoint copied in section 6
AuthorizationCredentials authorized for the CPI HTTPS sender
Content-Typeapplication/xml
BodyThe small source XML from section 7, sent as raw XML or an XML file

Send once and retain the response and request time. On success, the XML acknowledgement reports StatusMsg = Successful, StatusCode = OK, and that reprocessing was skipped because posting behavior is Create Message Only. This confirms message storage; it does not confirm Account or Contact posting.

image

Figure 10. Original bulk-file request returning a create-only acknowledgement. The screenshot uses Postman's binary-file body option.

9. Verify that business posting is paused

In CPI Monitor Message Processing, find this run by integration-flow name and request time. A Completed CPI message means the flow delivered and handled the create-only request.

image

Figure 11. CPI processing log showing Completed for the source example.


If no Salesforce message appears, inspect the CPI processing error and confirm the receiver's Integration and Interface names match Salesforce.

In Salesforce, open SAP Cloud Integration → Monitor and locate the new message tree for Account_CPI_CreateMessageOnly_IN. Confirm one Account business message and two Contact business messages, with the expected keys and values, status New, and both Contact messages linked to the same Account parent message. Additional API/container messages can vary by installed package version. If either Contact message is missing, correct the source structure and chain configuration before release.

image

Figure 12. Source example's Salesforce message list before release; this view alone does not establish Account or Contact absence.


On SKYVVA 2.51, a larger submission can appear as several API messages, each containing up to 20 Account message trees at the default package size; the last group can be smaller. A configured Transfer Package Size can override that size. Each Account tree also contains its Contacts; they do not reduce the Account count per group. These are stored message groups awaiting release.

Then check Account and Contact directly by the external keys from section 7. For a create test, the records should still be absent. For an update test, their business values should still match the baseline recorded before the request.

Changing the channel back to None affects subsequent requests. It does not itself release messages already stored. Review the waiting data before taking the next action.

10. Release and verify the messages

For a package build that supports releasing these waiting messages, open the Integration's Monitor tab, select only the message tree for this customer, click Reprocess, and confirm the action when prompted. Allow asynchronous processing to finish, then refresh the monitoring view.

If the action selects no eligible messages, or the tree remains New without a submitted job, check the installed package's Reprocess eligibility described in the prerequisites. Stop this release test and resolve that compatibility issue with the package maintainer. Changing the CPI channel to None or resending the payload does not release the existing tree.

image

Figure 13. Reprocess action and selected message in the source example.


Verify all three outcomes:

  1. The Account message and both Contact messages finish successfully. For Failed or Partial Completed, inspect the message error and existing business records before retrying.
  2. Account key 0000006000 exists with the expected name and mapped values.
  3. Contacts 0000006000-0001 and 0000006000-0002 exist, and each AccountId equals that Account's Salesforce record ID.
image

Figure 14. Source example's expanded Account and Contact message results after Reprocess; business-record details require separate verification.


If Contacts fail or link incorrectly after the Account succeeds, check the chain's Account relationship, Contact external keys, required fields, and the parent message's completed result before retrying.

With Processing Behavior = None, the adapter follows normal processing rather than deliberately skipping its reprocessing step. Asynchronous acknowledgement still requires separate checks of the final business records.

11. Summary

This flow receives customer XML from Postman, transforms it with CPI Message Mapping, and saves Account and Contact data as waiting SKYVVA messages. A reviewer checks the data before releasing it through Reprocess on a compatible SKYVVA package build.

Component or settingConfiguration
SKYVVA interfacesInbound, Asynchronous, Upsert, External Mapping enabled
SKYVVA Mapping ToolAccount-to-Account and nested Contact-to-Contact node mappings build the hierarchy
CPI Message MappingMaps customer and Contact fields; joins customer number and contact number with - for the Contact external ID
Target schemaGenerated from the Account main interface in SKYVVA after saving the hierarchy
ReceiverSkyvva API Version V3, Mode Asynchronous, Processing Behavior Create Message Only
Payload settingsRequest XML, Response XML, Structure Format Skyvva Format
Before releaseMessages are New; Account and Contact business records remain absent or unchanged
After successful releaseAccount and Contacts are upserted, and each Contact links to its Account

The acknowledgement confirms message storage. Verify final message statuses, business values, and Contact relationships separately after release. Confirm the installed package supports releasing the waiting tree, as described in the prerequisites.

Open this article in the interactive viewer →