Hi Experts ,
we have one requirement where in the legacy system ( Sender system) is sending .xml file and PI needs to pick the file and send it to ECC Via IDOC AAE Receiver Adapter to R/3 (SAP ECC) System .
The problem is the .xml file which PI receives is in a different format which is shown below
</tns:Header>
<tns:Body>
<esa:Payload>
<esa:Header>
<PayloadName></PayloadName>
<PayloadVersion>1.0</PayloadVersion>
<PayloadCreated>2014-01-07T02:39:55.793Z</PayloadCreated>
<PayloadSize units="Bytes">432</PayloadSize>
</esa:Header>
<esa:Data>
<zcs:HUM xmlns:zcs="com.">
<Hum_Number>00393155965135748871</Hum_Number>
<Source_Storage_Location>9000</Source_Storage_Location>
<Destination_Storage_Location>0100</Destination_Storage_Location>
<Material_Number>000000000000004123</Material_Number>
<Batch_Number>321940071 </Batch_Number>
<Quantity>0000000096000</Quantity>
<Production_Version>A100</Production_Version>
<Hostname>POSPI000003</Hostname>
</zcs:HUM>
</esa:Data>
</esa:Payload>
</tns:Body>
</tns:Envelope>|]
need help to convert this .xml into PI Standard xml format ( i mean without esa,zcs, ..So that at PI the message gets passed successfully without throwing xml parser issue or xml well not formed error .) .
do i need to write any java code for this ?
Please experts needs your suggestions here .
regards,
khan ,