SK SKYVVA Documentation

13. Set Context Filter

In this chapter, We will see how the "Set context" filter works and what is the use of it.

How to use "Set Context"  Filter for hierarchical mapping:-

Pre- Requisite:-

Step 1:-

Step 2:-

[su_box title="Note" box_color="#2a8af0" title_color="#000000"] If one condition is not enough to find one record then you need to add a second condition to become more precise in the filter.So you can define 3 different conditions to be able to fetch the desired records.[/su_box]

Step 3:-

[su_box title="Note" box_color="#2a8af0" title_color="#000000"]Contact(AccountId), No Foreign key could generated. Please select external Id fields to use with foreign key. If there are no external Id fields then make sure you use vlookup to link the object.[/su_box]

Enhancement of SET FILTER on mapping in v2.47

We have the function to set context on the node level, to fetch data specify by condition value. But the user can pick up the value from one node occurrence only followed by condition input. On the new enhancement of set filter function, we have modified from the node level to the field level. In this way, the user has the possibility to get value from multiple node occurrence to map on target side. Pre-required

Steps to see the use of set context Step-1 create  Integration -> Create Inbound Interface.

Step-2 Do  Mapping

In this case, I have choose IDOC as the master node to map on target side. Then I need the field from node E1EDK14 to map the target with the same level as master node. But this node is stayed on lower level than IDOC. So in this case we need to set context to move node level from lower to higher.

In this example below I want to map field ORGID to different field on target

Note: The Condition value must be unique, otherwise the run-time will give the unexpected result

After save the mapping we can validate what the value that we have set on the condition. By right click the field that we have set context => Set/Remove Filter

  Note: The node or field that we have set Context or Filter will be remark with blue italic letter

Within the condition defined on QUALF and ORGID has been map to different target field so we can briefly work below:

Post data from Postman

The data has been insert correctly

Open this article in the interactive viewer →