SK SKYVVA Documentation

How to Use Re-Order Button on Mapping Tool?

Introduction

'Re-Order Mapping' is located on the Mapping Tool, which allows you to reorder mapping records by sequence. This change also prevents users from reordering records in Data Mapping. When the button is used, the sequence field is reorganized during the callout of the record, and the resulting payload records are sorted in ascending sequence numbers. These improvements result in a more efficient and organized data payload sequence structure.

How Re-Order Field Mapping and Callout With SAP CPI Adapter?

In this lesson, you will learn how to reorder the mapping fields of the outbound interface and perform the manual process using the SAP CPI Adapter, as shown below:

Pre-requisite

Here is just an example: we have mapped 'MyAccount' Message Type to the Account sObject and 'MyContact' Message Type to the Contact sObject. The current Mapping order is as follows:

AccountNumber

Email

Re-Order Field Mapping of MyAccount Message Type

Click the Re-Order Mapping button

[su_box title="Note" box_color="#2a8af0" title_color="#000000"]By default, the target object will have a 'rootNode' even if our business message type does not have it. This is used to store fields without nodes and to wrap all mapping nodes and fields[/su_box]

Now the MyAccount sub-node of the rootNode will be displayed.

MyAccount Mapping Fields Before Re-Order MyAccount Mapping Fields After Re-Order

AccountNumber AccountNumber

BillingCity Name

BllingCountry BillingCity

Name BillingCountry

Select the 'MyContact' sub-node on 'Target Object'.

-

MyContact Mapping Fields Before Re-Order MyContact Mapping Fields After Re-Order

Email LastName

FirstName FirstName

LastName Email

Phone Phone

Now, we will show you execute Interface with manual processing

You need to filter your records to be callout on Filter Query on SOQL Query for the Filter sObject section

Finally, the payload is generated based on the mapping order.

Open this article in the interactive viewer →