cancel
Showing results for 
Search instead for 
Did you mean: 

Map an undefined node

0 Kudos

Hi Gurus,

I'm not sure if this is at all possible. Is it possible to map a node + fields that are not defined in the external definition imported in PI?

For example:

the source file has:

<source>

  <name>BOB</name>

  <sex>F</sex>

  <contact>

    <telephone>1111111</telephone>

    <mobile>2222222</mobile>

    <email>aaa@aaa.com</email>

  </contact>

</source>

But in PI structure (ext def), it's only:

<source>

   <name>

   <sex>

<source>

Is there a way to map the source node contact to the target structure even if it was not declared in PI? Can it be done using UDF or XSLT mapping?

Accepted Solutions (1)

Accepted Solutions (1)

former_member186851
Active Contributor
0 Kudos

Hello Sap,

Why dont you add that field in the ED?

And if the ED doesn;t have that field why you wish to send data to it?

0 Kudos

The source wsdl is using xsd:any. It can contain different ATTP extensions and it's not defined in the wsdl. The BADI will add these extensions in the ATTP processing

former_member186851
Active Contributor
0 Kudos

Hello Sap,

Then try creating DAta type with optional.

Check the below link

Answers (0)