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

PARVW/PARTNER_Q if - then - else

$
0
0

Good morning all,

 

Wrapping up an IDoc to XML mapping and have a single field (in two maps) that's giving me problems.

 

(In SHPMNT05 to xml) for target @DESTour requirement is to provide the value of NAME 4 if it exists, if not then the value of PARTNER_ID when PARTNER_Q =  WE

 

(In ORDRSDP to xml) for target @DEST we are looking to provide the value of ILNNR if it exists, if not then the value of PARTN, when PARVW = WE

 

I cannot get the if/then/else logic to work for the target @DEST in either map. I'm sure some of you have an idea on this one. Hopefully we can collaborate on a solution for each map!

 

root node for SHPMNT mapping:

8.JPG

@DEST target mapping logic:

9.JPG

root node for ORDRSP mapping:

10.JPG

@DEST target mapping logic:

11.JPG


Viewing all articles
Browse latest Browse all 7030

Trending Articles



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