Skip to Content
0
Dec 16, 2016 at 09:00 AM

Is it possible to pass payload values that are not in the schema

66 Views

Hi Gurus,

Is it possible to pass payload values that are not in the schema to the target message? I know this is possible using pass through wherein mapping is not required. But the problem is, I need the mapping for dynamicConfiguration. The filename needs to be fetched from a target field. I cannot use variable substitution for this since, I only need a part of the value. The only hope is to use a mapping and use dynamicconfiguration.

But, there are some new custom nodes and fields that are created at runtime in the SAP source system. These nodes and fields are not in the schema imported in SAP PI. Because of this, the required nodes and fields are not sent to the target message/system.

So, back to my question sirs :) Is it possible to pass payload values that are not in the schema to the target message using message mapping?

Sample:

Schema:

<Parent>

<child_Boy/>

</Parent>

Source and Target files (same):

<Parent>

<child_Boy>Noct</child_Boy>

<Baby>

<baby_Boy>Ignis</baby_Boy>

</Baby>

</Parent>

By the way, mapping is just direct 1:1 mapping since the schemas used for the source and target are the same.