1. Home
  2. Dokumente
  3. Tutorials
  4. 22. What is message type?
  5. 22.4 How to process message type based Interface?

22.4 How to process message type based Interface?

Learning Objectives

After completing this unit, you’ll be able to:

  • Describe what is message type based Interface.
  • Comfortably use How to process message type based Interface


SKYvva functionality for outbound interface processing. Our old interface processing is based on sObject which we use as the message type. We put in the field „Source/Target Name“ the sObject. From the structure of the sObject, we generate the structure and provide them for doing the mapping.

Now we will going to use our new logic. we start to use message type which can be different from a sObject.

What Is Interface processing?

Interface: Interface is the second main object in SKYVVA after the integration. Interface describes the structure of data to exchange between Salesforce and other application.

Interface processing is job which is process to exchange data with all connected systems.  The property of interface is define the processing mode.


Interface processing is required for exchanging data with connected systems.

Pre-requisite :

  1. Create Message type:
  2. We have to create adapter
  3. We have to create Integration.
  4. We have to creation Interface.

How to process message type based Interface?

To process the message type based interface we have to follow the given steps:

Step1:  We have to Create Message type.

There is some pre-requisite to create message type.

  • Create metadata provider.
  • Create IStructure repository in metadata provider
  • We can manually create message type or we also can use upload file feature to create message type.

Step2: We have to create adapter.  We are going to create three adapter as below

  • xml adapter
  • Rest Adapter
  • SAP-R/3 Adapter


Step3:  We have to create Integration.

Step4:  We have to create outbound interface.

  • Select Sobject for query statement
  • Select message type existing for interface

Step 5: We can export data payload as hierarchy base on message type by use adapter type: –

5.5  Export data interface the result as xml file

  • Choose XML adapter type for interface(while creating interface)
  • Do mapping on Sobject field with message type field


  • Now we have to navigate to integration and click Export Data button on integration detail page.

  • Select an interface and click Start Export button











  • It will take some time process. After completing process you will get exported data.

Here is the result data payload exported


<?xml version=“1.0″ encoding=“UTF-8″?>




<Description>CoCa USA</Description>

















5.2 Callout data from Skyvva/Salesforce based message type to SAP by use Rest Adapter

  • Select message type existing for interface
  • Choose Rest Adapter type for interface
  • Do mapping on Sobject field with message type field











  • Navigate to Developer Consult => Debug => Open Execute Anonymous Widow and write Script

Here form script to execute

IServices.invokeCallout(‚InterfaceID‘, new String[]{‚AccountID‘}, ‚SYNC‘);


Here is the result data payload as Json string after executed

„AccounTests“: [
„ContactTests“: [
„LastName“: „TO“,
„FirstName“: „Rin“,
„EMAIL“: „rinto@gmail.com“
„AssetTests“: [
„SerialNumber“: „1234567“,
„Quantity“: „2.00“,
„Asset_Name“: „Land“
„LastName“: „Ton“,
„FirstName“: „Jonh“,
„EMAIL“: „jonh@gmail.com“
„Name“: „CocaCola“,
„Id“: „0011v00001x8jbpAAA“,
„Description“: „Hello world“,
„AccountNumber“: „0001“
] }


Fandest du diesen Artikel hilfreich? Ja Nein

Wie können wir helfen?