on 08-27-2008 3:27 AM
i am doing a scenario,,,i mean from legacy to SAP
Legacy people are asking for sample XML file from XI...so that they will their XML accordingly...
i am confused if i need to add message type and if any..
<ROOT>
<OrderNumber>12345</OrderNumber>
<AppointmentDateTime>MM/DD/YYYY HH:MM</AppointmentDateTime>
< ContactNumber>2345678</ ContactNumber>
<ReasonCodedescription>gtrbfv</ReasonCodeDescription>
<OrderType>ftgh</OrderType>
<LoadNumber>gghh</LoadNumber>
<StopNumber>ggg</StopNumber>
<AppointmentNumber>ggg</AppointmentNumber>
<AppointmentContactName>gggg</AppointmentContactName> -
</ROOT>
Hi,
Your message type use to be the header node in XML tags.
Please refer below XML sample file,
<?xml version="1.0" encoding="UTF-8"?>
<MT_Test>
<ROOT>
<OrderNumber>12345</OrderNumber>
<AppointmentDateTime>MM/DD/YYYY HH:MM</AppointmentDateTime>
< ContactNumber>2345678</ ContactNumber>
<ReasonCodedescription>gtrbfv</ReasonCodeDescription>
<OrderType>ftgh</OrderType>
<LoadNumber>gghh</LoadNumber>
<StopNumber>ggg</StopNumber>
<AppointmentNumber>ggg</AppointmentNumber>
<AppointmentContactName>gggg</AppointmentContactName> -
</ROOT>
</MT_Test>
If you don't want <MT_Test> then you can create the Message type with Name <ROOT> ...so under the fields will be with datatypes.
And you will get the XML structure as you are expecting.
Thanks
Swarup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.