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

Creating an IDoc based off XML Schema

$
0
0

I was given the task to take an XML example and create an IDoc for it.

 

For example, the XML example I was given was....

 

<Items>

  <Item>

    <Item>MyMaterial</Item>

    <ListPrice>50</ListPrice>

    <NetPrice>50</NetPrice>

    <UOMS>

      <UOM>

        <ConvQty>1</ConvQty>

        <QtyUm>EA</QtyUm>

      </UOM>

      <UOM>

        <ConvQty>3</ConvQty>

        <QtyUm>3PK</QtyUm>

      </UOM>

    </UOMS>

  </Item>

</Items>

 

2 questions....

 

1. Should I make a segment for each layer and just have one field in each one?

2. I'm forced to have a Z* segment name.  How do I get the output in the name that I need?  Ex. ZITEM to ITEM

 

Any direction would be greatly appreciated.

 

Thanks,

 

Curtis


Viewing all articles
Browse latest Browse all 6719

Trending Articles



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