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

Re: Empty namespace in XML automatically removed in SAP MII

$
0
0

Hi Bram,

Below is what has worked for me.

 

- A transaction with xml property, master = xml in attach1.

- Another aml property, conf = <nonConformance1 xmlns=""/>

- Repeater(a have used for loop for test) and

- Assignment logic:

          Local.master Append XML Local.conf

 

The output is:

    

<?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

  <soap:Body>

    <ReelData xmlns="AutostoreSOAPInterface">

      <rollNumber xmlns=""/>

      <materialCode xmlns=""/>

      <materialDescription xmlns=""/>

      <batch xmlns=""/>

      <plant xmlns=""/>

      <grade xmlns=""/>

      <substance xmlns=""/>

      <subgrade xmlns=""/>

      <substandard xmlns=""/>

      <width xmlns=""/>

      <diameter xmlns=""/>

      <diameterPlanned xmlns=""/>

      <diameterMin xmlns=""/>

      <diameterMax xmlns=""/>

      <weight xmlns=""/>

      <salesOrder xmlns=""/>

      <salesOrderItem xmlns=""/>

      <stockCategory xmlns=""/>

   <nonConformance1/>

  </ReelData>

  </soap:Body>

<nonConformance1 xmlns=""/>

    <nonConformance1 xmlns=""/>

    <nonConformance1 xmlns=""/>

</soap:Envelope>

 

Is this only what you need?

 

Let me know how are you trying to assign xml to main xml. A screen shot of transaction would be more helpful.

 

Thanks and Regards,

Swaroop


Viewing all articles
Browse latest Browse all 8627

Trending Articles



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