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.
| Item | Value |
|---|---|
| Integration | SAP Cloud Integration |
| Entry interface | Account_CPI_CreateMessageOnly_IN |
| Related interface | Contact sub-interface generated by SKYVVA node mapping |
| Source | Postman, representing a customer submission |
| Request and response | XML |
| Initial result | SKYVVA messages with status New |
| After successful Reprocess | Account 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
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.
| Setting | Account interface | Contact interface |
|---|---|---|
| Interface Name | Account_CPI_CreateMessageOnly_IN | Use the Contact sub-interface name generated when the node mappings are saved |
| Source/Target Name | Account | Contact |
| Interface Direction | Inbound | Inbound |
| Processing Mode | Asynchronous | Asynchronous |
| Operation Type | Upsert | Upsert |
| External Mapping | Enabled | Enabled |
| By Passing Message | Disabled | Disabled |
| Interface API Version | V3 | V3 |
| Salesforce External ID | ERP_DEBTOR_ID__c | ERP_CONTACT_ID__c |
| Source structure node | Account | Account/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.
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.
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.
| Source | Target | Description |
|---|---|---|
Each IDOC | One Account | Exact exported node connection; one customer per IDoc. |
E1KNA1M/KUNNR | Account/ERP_DEBTOR_ID__c | Customer upsert key; retain leading zeros. |
E1KNA1M/NAME1 | Account/Name | Customer name. |
STRAS, ORT01, PSTLZ | BillingStreet, BillingCity, BillingPostalCode | Customer address fields. |
LAND1, REGIO, BRSCH | BillingCountry, BillingState, Industry | Direct connections in the export; these optional source fields are absent from the small input. Validate their values when supplied. |
E1KNA1M/TELF1 | Account/Phone | Customer phone. |
Each E1KNVKM | One nested Contact | Preserve the Contact's parent customer context. |
Parent KUNNR + - + PARNR | Contact/ERP_CONTACT_ID__c | Stable key, for example 0000006000-0001. |
NAMEV, NAME1, SMTP_ADDR, TELF1 within E1KNVKM | FirstName, LastName, Email, Phone | Contact 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.
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.
| Setting | Value | Description |
|---|---|---|
| Address | /skyvva/Account/CPI/PartnerOnboarding/v3 | Relative path for this exercise. |
| Authorization | User Role | Caller must satisfy the configured authorization. |
| User Role | ESBMessaging.send | Example role used in the supplied screenshot. |
Figure 4. HTTPS sender channel identity.
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.
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
| Setting | Value | Description |
|---|---|---|
| Processing Type | Skyvva | Use SKYVVA integration processing. |
| Operation | Integrate | Current GUI label for the SKYVVA integration operation. |
| Skyvva API Version | V3 | Select the native V3 configuration. |
| Integration | SAP Cloud Integration | Match the Salesforce parent Integration. |
| Interface | Account_CPI_CreateMessageOnly_IN | Entry Account interface with chained Contact interface. |
| Mode | Asynchronous | Makes Processing Behavior available. |
| Processing Behavior | Create Message Only | Save messages and skip automatic reprocessing. |
| Request Format | XML | CPI Message Mapping supplies XML. |
| Response Format | XML | Return an XML acknowledgement. |
| Structure Format | Skyvva Format | Match the structure generated from SKYVVA and used as the CPI Message Mapping target. |
| Skyvva App Version | Actual installed version, at least 2.51.18 | Example screenshot: 2.51.18. |
| Salesforce Api Version | Version supported by your org and adapter | Example screenshot: 59.0. |
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.
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.
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.
| Record | External key | Name |
|---|---|---|
| Account | 0000006000 | Global Tech Solutions 6000 GmbH |
| Contact | 0000006000-0001 | John Smith |
| Contact | 0000006000-0002 | Maria 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
| Setting | Value |
|---|---|
| Method | POST |
| URL | Endpoint copied in section 6 |
| Authorization | Credentials authorized for the CPI HTTPS sender |
| Content-Type | application/xml |
| Body | The 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.
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.
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.
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.
Figure 13. Reprocess action and selected message in the source example.
Verify all three outcomes:
- The Account message and both Contact messages finish successfully. For Failed or Partial Completed, inspect the message error and existing business records before retrying.
- Account key
0000006000exists with the expected name and mapped values. - Contacts
0000006000-0001and0000006000-0002exist, and eachAccountIdequals that Account's Salesforce record ID.
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 setting | Configuration |
|---|---|
| SKYVVA interfaces | Inbound, Asynchronous, Upsert, External Mapping enabled |
| SKYVVA Mapping Tool | Account-to-Account and nested Contact-to-Contact node mappings build the hierarchy |
| CPI Message Mapping | Maps customer and Contact fields; joins customer number and contact number with - for the Contact external ID |
| Target schema | Generated from the Account main interface in SKYVVA after saving the hierarchy |
| Receiver | Skyvva API Version V3, Mode Asynchronous, Processing Behavior Create Message Only |
| Payload settings | Request XML, Response XML, Structure Format Skyvva Format |
| Before release | Messages are New; Account and Contact business records remain absent or unchanged |
| After successful release | Account 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.