Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

Mapping problem.

$
0
0

Hi all.

 

Bellow you can see a message that I will get after file content conversion.

Incoming_structure.PNG

 

The structure repeats it self after each orderheader.

The number of segments bellow the OrderHeader can differ but there will always be at least one of each segment.

For example there can be 1...unbounded LineItems in one OrderHeader.

 

Bellow is a picture of the of the mapping structures.

mapping.PNG

 

As you see there are two entrys of OrderHeader and that is just because I tested to create one with a RecordSet befor.

This is what i would like to achive.

Each entry of the OrderHeder in the incoming message should trigger either OrderHeader in the bottom of the target structure or a RecordSet including a OrderHeader.

For me it doesen't matter wich one because i will make an other mapping after thisone.

 

At the moment I have no problems triggering a RecordSet for each OrderHeader but the problem is the rest of the segments.

The context does not work for me so i just populate the first OrderHeader in the target with all the values for CustomerData, LineItems, PriceRecords, ItemTexts and so on.

 

How would i perform the mapping to keep the segments for each OrderHeader to turn upp in the correct OrderHeader in the target structure?

 

Result of RecordSet mapping.

result.PNG

 

Thanks for all help I can get.

Andreas


Viewing all articles
Browse latest Browse all 7030

Trending Articles



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