Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9021

Re: help to write UDF function

$
0
0

Source IDOC :

 

Z1WHCONS        0..n

  Z1WHCUSTC    0..n

    Z1WHCUSTCH    0..n

      Z1WHCUTM      0..n

          comment        0..1

      Z1CUSTCD        0..n

 

Z1WHCUTM and Z1CUSTCD are at same level under node  Z1WHCUSTCH.

 

Target:

 

BOX            0..n                  --    Z1WHCUSTC when Z1WHCONS is initial

  Line            0..n                  --        Z1CUSTCD

     comment    0..n              ---    Z1WHCUTM-comment field

MIXPLT        0..n                    --      Z1WHCONS

    BOX            0..n                    --  --    Z1WHCUSTC when Z1WHCONS is not initial

      Line            0..n                  --        Z1CUSTCD

        comment    0..n              ---    Z1WHCUTM-comment field

           

 

First Box and Mixplt are at same level.

 

I am not getting comment  data when BOX and BOX with MIxplt data is coming in source xml.

How can I do comment mapping  using graphical mapping or UDF.


Viewing all articles
Browse latest Browse all 9021

Trending Articles



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