Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

Mapping context issue - data not properly mapped

$
0
0

Hi Gurus,

 

I have an IDOC to Web Service interface with next structures:

 

IDOC Structure

 

<IDOC>

     <E1EDP01> (0..unbounded)

          <01field1></01field1>

          <01field2></01field2>

          <E1EDPT1> (0..unbounded)

               <T1field1></T1field1>

               <T1field2></T1field2>

               <E1EDPT2> (0..unbounded)

                    <T2field></T2field>

               </E1EDPT2>

          </E1EDPT1>

 

     </E1EDP01>

</IDOC>

 

Web Service xsd

 

<SEG>

     <Concepts> (1..1)

          <Concept> (1..unbounded)

               <Cfield1></Cfield1>

          </Concept>

     </Concepts>

</SEG>

 

My mapping is like this:

 

For each E1EDP01 a concept must be created:

 

E1EDP01 --> Concept

 

If T1field1 = "AA" then send T2field to Cfield1

 

It's a very simple logic but it seems not to be sending the right values.

For example, if there are 2 E1EDP01 then 2 Concept segments are created BUT only one Cfielf1 is being filled and not the second one.

I tried playing with different contexts but doesn't seem to be working.

Can I do this without using an UDF?

Thanks in advanced!


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>