Hi Experts,
i had a requirement where i am doing the file to idoc scenario. and my source file is as follows. here my requirement is to group all the footer items based on the salesorder.for example i am having sales orders in unsorted manner as shown in the attached text file.if two footers are present in one sales order and another in the other salesorder.these needs to grouped in one sales order.i.e i need to generate E1EDP05 Segments three times.like this i need to group all the footers of same salesorder number.
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Protean_Orders05_MT xmlns:ns0="http://Australia.com/Food/Orders05">
<Orders_Details>
<Header>
<ORD_LINE>ORD_LINE</ORD_LINE>
<Order_type>ZOR</Order_type>
<Sales_Organization>0001</Sales_Organization>
<Distribution_Channel>10</Distribution_Channel>
<Division>10</Division>
<Sales_Order_Number>338050</Sales_Order_Number>
<Order_Reason/>
<PO_Number>122794</PO_Number>
<Sold_To>08243</Sold_To>
<Req_Delivery_Date>20150204</Req_Delivery_Date>
<Item_Number>1</Item_Number>
<Material_number>01516</Material_number>
<Order_Qty>11</Order_Qty>
<Sales_UOM>cmb</Sales_UOM>
<Plant>0010</Plant>
<CustomerRequestedQty>11</CustomerRequestedQty>
<ItemDeliveryDate>20150204</ItemDeliveryDate>
<ItemDeliveryTime>144700</ItemDeliveryTime>
<Rejection_Code/>
</Header>
<Item>
<ORD_PARTNER/>
<Partner_ID>WE</Partner_ID>
<Partner_Function/>
<Dummy_1/>
<Dummy_2/>
<Dummy_3/>
<Dummy_4/>
<Dummy_5/>
<Dummy_6/>
<Dummy_7/>
<Dummy_8/>
<Dummy_9/>
<Dummy_10/>
<Dummy_11/>
<Dummy_12/>
<Dummy_13/>
<Dummy_14/>
<Dummy_15/>
</Item>
<Item>
<ORD_PARTNER/>
<Partner_ID>RE</Partner_ID>
<Partner_Function/>
<Dummy_1/>
<Dummy_2/>
<Dummy_3/>
<Dummy_4/>
<Dummy_5/>
<Dummy_6/>
<Dummy_7/>
<Dummy_8/>
<Dummy_9/>
<Dummy_10/>
<Dummy_11/>
<Dummy_12/>
<Dummy_13/>
<Dummy_14/>
<Dummy_15/>
</Item>
<Footer>
<ORD_DISCOUNTS/>
<CONDITION_TYPE>ZR00</CONDITION_TYPE>
<Net_Amount>1800</Net_Amount>
<Currency/>
<Dummy_1/>
<Dummy_2/>
<Dummy_3/>
<Dummy_4/>
<Dummy_5/>
<Dummy_6/>
<Dummy_7/>
<Dummy_8/>
<Dummy_9/>
<Dummy_10/>
<Dummy_11/>
<Dummy_12/>
<Dummy_13/>
<Dummy_14/>
<Dummy_15/>
</Footer>
</Orders_Details>
<Orders_Details>
<Header>
<ORD_LINE>ORD_LINE</ORD_LINE>
<Order_type>ZOR</Order_type>
<Sales_Organization>0001</Sales_Organization>
<Distribution_Channel>10</Distribution_Channel>
<Division>10</Division>
<Sales_Order_Number>338050</Sales_Order_Number>
<Order_Reason/>
<PO_Number>122794</PO_Number>
<Sold_To>08243</Sold_To>
<Req_Delivery_Date>20150204</Req_Delivery_Date>
<Item_Number>2</Item_Number>
<Material_number>01536</Material_number>
<Order_Qty>11</Order_Qty>
<Sales_UOM>cmb</Sales_UOM>
<Plant>0010</Plant>
<CustomerRequestedQty>11</CustomerRequestedQty>
<ItemDeliveryDate>20150204</ItemDeliveryDate>
<ItemDeliveryTime>144700</ItemDeliveryTime>
<Rejection_Code/>
</Header>
<Item>
<ORD_PARTNER/>
<Partner_ID>WE</Partner_ID>
<Partner_Function/>
<Dummy_1/>
<Dummy_2/>
<Dummy_3/>
<Dummy_4/>
<Dummy_5/>
<Dummy_6/>
<Dummy_7/>
<Dummy_8/>
<Dummy_9/>
<Dummy_10/>
<Dummy_11/>
<Dummy_12/>
<Dummy_13/>
<Dummy_14/>
<Dummy_15/>
1800
</Item>
<Item>
<ORD_PARTNER/>
<Partner_ID>RE</Partner_ID>
<Partner_Function/>
<Dummy_1/>
<Dummy_2/>
<Dummy_3/>
<Dummy_4/>
<Dummy_5/>
<Dummy_6/>
<Dummy_7/>
<Dummy_8/>
<Dummy_9/>
<Dummy_10/>
<Dummy_11/>
<Dummy_12/>
<Dummy_13/>
<Dummy_14/>
<Dummy_15/>
</Item>
<Footer>
<ORD_DISCOUNTS/>
<CONDITION_TYPE>ZR00</CONDITION_TYPE>
<Net_Amount>1900</Net_Amount>
<Currency/>
<Dummy_1/>
<Dummy_2/>
<Dummy_3/>
<Dummy_4/>
<Dummy_5/>
<Dummy_6/>
<Dummy_7/>
<Dummy_8/>
<Dummy_9/>
<Dummy_10/>
<Dummy_11/>
<Dummy_12/>
<Dummy_13/>
<Dummy_14/>
<Dummy_15/>
</Footer>
</Orders_Details>
<Orders_Details>
<Header>
<ORD_LINE>ORD_LINE</ORD_LINE>
<Order_type>ZOR</Order_type>
<Sales_Organization>0001</Sales_Organization>
<Distribution_Channel>10</Distribution_Channel>
<Division>10</Division>
<Sales_Order_Number>338056</Sales_Order_Number>
<Order_Reason/>
<PO_Number>122795</PO_Number>
<Sold_To>08243</Sold_To>
<Req_Delivery_Date>20150210</Req_Delivery_Date>
<Item_Number>1</Item_Number>
<Material_number>01516</Material_number>
<Order_Qty>11</Order_Qty>
<Sales_UOM>cmb</Sales_UOM>
<Plant>0010</Plant>
<CustomerRequestedQty>11</CustomerRequestedQty>
<ItemDeliveryDate>20150210</ItemDeliveryDate>
<ItemDeliveryTime>144800</ItemDeliveryTime>
<Rejection_Code/>
</Header>
<Item>
<ORD_PARTNER/>
<Partner_ID>WE</Partner_ID>
<Partner_Function/>
<Dummy_1/>
<Dummy_2/>
<Dummy_3/>
<Dummy_4/>
<Dummy_5/>
<Dummy_6/>
<Dummy_7/>
<Dummy_8/>
<Dummy_9/>
<Dummy_10/>
<Dummy_11/>
<Dummy_12/>
<Dummy_13/>
<Dummy_14/>
<Dummy_15/>
</Item>
<Footer>
<ORD_DISCOUNTS/>
<CONDITION_TYPE>ZR00</CONDITION_TYPE>
<Net_Amount>2674.67</Net_Amount>
<Currency/>
<Dummy_1/>
<Dummy_2/>
<Dummy_3/>
<Dummy_4/>
<Dummy_5/>
<Dummy_6/>
<Dummy_7/>
<Dummy_8/>
<Dummy_9/>
<Dummy_10/>
<Dummy_11/>
<Dummy_12/>
<Dummy_13/>
<Dummy_14/>
<Dummy_15/>
</Footer>
</Orders_Details>
<Orders_Details>
<Header>
<ORD_LINE>ORD_LINE</ORD_LINE>
<Order_type>ZOR</Order_type>
<Sales_Organization>0001</Sales_Organization>
<Distribution_Channel>10</Distribution_Channel>
<Division>10</Division>
<Sales_Order_Number>338056</Sales_Order_Number>
<Order_Reason/>
<PO_Number>122795</PO_Number>
<Sold_To>08243</Sold_To>
<Req_Delivery_Date>20150210</Req_Delivery_Date>
<Item_Number>2</Item_Number>
<Material_number>01516</Material_number>
<Order_Qty>11</Order_Qty>
<Sales_UOM>cmb</Sales_UOM>
<Plant>0010</Plant>
<CustomerRequestedQty>11</CustomerRequestedQty>
<ItemDeliveryDate>20150210</ItemDeliveryDate>
<ItemDeliveryTime>144800</ItemDeliveryTime>
<Rejection_Code/>
</Header>
<Item>
<ORD_PARTNER/>
<Partner_ID>WE</Partner_ID>
<Partner_Function/>
<Dummy_1/>
<Dummy_2/>
<Dummy_3/>
<Dummy_4/>
<Dummy_5/>
<Dummy_6/>
<Dummy_7/>
<Dummy_8/>
<Dummy_9/>
<Dummy_10/>
<Dummy_11/>
<Dummy_12/>
<Dummy_13/>
<Dummy_14/>
<Dummy_15/>
</Item>
<Footer>
<ORD_DISCOUNTS/>
<CONDITION_TYPE>ZR00</CONDITION_TYPE>
<Net_Amount>2849</Net_Amount>
<Currency/>
<Dummy_1/>
<Dummy_2/>
<Dummy_3/>
<Dummy_4/>
<Dummy_5/>
<Dummy_6/>
<Dummy_7/>
<Dummy_8/>
<Dummy_9/>
<Dummy_10/>
<Dummy_11/>
<Dummy_12/>
<Dummy_13/>
<Dummy_14/>
<Dummy_15/>
</Footer>
</Orders_Details>
<Orders_Details>
<Header>
<ORD_LINE>ORD_LINE</ORD_LINE>
<Order_type>ZOR</Order_type>
<Sales_Organization>0001</Sales_Organization>
<Distribution_Channel>10</Distribution_Channel>
<Division>10</Division>
<Sales_Order_Number>338241</Sales_Order_Number>
<Order_Reason/>
<PO_Number>338241</PO_Number>
<Sold_To>09448</Sold_To>
<Req_Delivery_Date>20150205</Req_Delivery_Date>
<Item_Number>1</Item_Number>
<Material_number>01115</Material_number>
<Order_Qty>42</Order_Qty>
<Sales_UOM>cs</Sales_UOM>
<Plant>0010</Plant>
<CustomerRequestedQty>74</CustomerRequestedQty>
<ItemDeliveryDate>20150205</ItemDeliveryDate>
<ItemDeliveryTime>162000</ItemDeliveryTime>
<Rejection_Code/>
</Header>
<Footer>
<ORD_DISCOUNTS/>
<CONDITION_TYPE>ZR00</CONDITION_TYPE>
<Net_Amount>2310</Net_Amount>
<Currency/>
<Dummy_1/>
<Dummy_2/>
<Dummy_3/>
<Dummy_4/>
<Dummy_5/>
<Dummy_6/>
<Dummy_7/>
<Dummy_8/>
<Dummy_9/>
<Dummy_10/>
<Dummy_11/>
<Dummy_12/>
<Dummy_13/>
<Dummy_14/>
<Dummy_15/>
</Footer>
<Footer>
<ORD_DISCOUNTS/>
<CONDITION_TYPE>ZR00</CONDITION_TYPE>
<Net_Amount>-42</Net_Amount>
<Currency/>
<Dummy_1/>
<Dummy_2/>
<Dummy_3/>
<Dummy_4/>
<Dummy_5/>
<Dummy_6/>
<Dummy_7/>
<Dummy_8/>
<Dummy_9/>
<Dummy_10/>
<Dummy_11/>
<Dummy_12/>
<Dummy_13/>
<Dummy_14/>
<Dummy_15/>
</Footer>
</Orders_Details>
<Orders_Details>
<Header>
<ORD_LINE>2877</ORD_LINE>
<Order_type>ZOR</Order_type>
<Sales_Organization>0001</Sales_Organization>
<Distribution_Channel>10</Distribution_Channel>
<Division>10</Division>
<Sales_Order_Number>338241</Sales_Order_Number>
<Order_Reason/>
<PO_Number>338241</PO_Number>
<Sold_To>09448</Sold_To>
<Req_Delivery_Date>20150205</Req_Delivery_Date>
<Item_Number>2</Item_Number>
<Material_number>01114</Material_number>
<Order_Qty>42</Order_Qty>
<Sales_UOM>cs</Sales_UOM>
<Plant>0010</Plant>
<CustomerRequestedQty>42</CustomerRequestedQty>
<ItemDeliveryDate>20150205</ItemDeliveryDate>
<ItemDeliveryTime>162000</ItemDeliveryTime>
<Rejection_Code/>
</Header>
<Footer>
<ORD_DISCOUNTS/>
<CONDITION_TYPE>ZR00</CONDITION_TYPE>
<Net_Amount>2877</Net_Amount>
<Currency/>
<Dummy_1/>
<Dummy_2/>
<Dummy_3/>
<Dummy_4/>
<Dummy_5/>
<Dummy_6/>
<Dummy_7/>
<Dummy_8/>
<Dummy_9/>
<Dummy_10/>
<Dummy_11/>
<Dummy_12/>
<Dummy_13/>
<Dummy_14/>
<Dummy_15/>
</Footer>
<Footer>
<ORD_DISCOUNTS/>
<CONDITION_TYPE>ZR00</CONDITION_TYPE>
<Net_Amount>-42</Net_Amount>
<Currency/>
<Dummy_1/>
<Dummy_2/>
<Dummy_3/>
<Dummy_4/>
<Dummy_5/>
<Dummy_6/>
<Dummy_7/>
<Dummy_8/>
<Dummy_9/>
<Dummy_10/>
<Dummy_11/>
<Dummy_12/>
<Dummy_13/>
<Dummy_14/>
<Dummy_15/>
</Footer>
</Orders_Details>
<Orders_Details>
<Header>
<ORD_LINE>ORD_LINE</ORD_LINE>
<Order_type>ZOR</Order_type>
<Sales_Organization>0001</Sales_Organization>
<Distribution_Channel>10</Distribution_Channel>
<Division>10</Division>
<Sales_Order_Number>350039</Sales_Order_Number>
<Order_Reason/>
<PO_Number>17428427</PO_Number>
<Sold_To>04501</Sold_To>
<Req_Delivery_Date>20150302</Req_Delivery_Date>
<Item_Number>1</Item_Number>
<Material_number>02504</Material_number>
<Order_Qty>100</Order_Qty>
<Sales_UOM>CS</Sales_UOM>
<Plant>0010</Plant>
<CustomerRequestedQty>100</CustomerRequestedQty>
<ItemDeliveryDate>20150302</ItemDeliveryDate>
<ItemDeliveryTime>000000</ItemDeliveryTime>
<Rejection_Code/>
</Header>
<Item>
<ORD_PARTNER/>
<Partner_ID/>
<Partner_Function/>
<Dummy_1/>
<Dummy_2/>
<Dummy_3/>
<Dummy_4/>
<Dummy_5/>
<Dummy_6/>
<Dummy_7/>
<Dummy_8/>
<Dummy_9/>
<Dummy_10/>
<Dummy_11/>
<Dummy_12/>
<Dummy_13/>
<Dummy_14/>
<Dummy_15/>
</Item>
<Footer>
<ORD_DISCOUNTS>ORD_DISCOUNTS</ORD_DISCOUNTS>
<CONDITION_TYPE>ZR00</CONDITION_TYPE>
<Net_Amount>6318</Net_Amount>
<Currency/>
<Dummy_1/>
<Dummy_2/>
<Dummy_3/>
<Dummy_4/>
<Dummy_5/>
<Dummy_6/>
<Dummy_7/>
<Dummy_8/>
<Dummy_9/>
<Dummy_10/>
<Dummy_11/>
<Dummy_12/>
<Dummy_13/>
<Dummy_14/>
<Dummy_15/>
</Footer>
</Orders_Details>
<Orders_Details>
<Header>
<ORD_LINE>ORD_LINE</ORD_LINE>
<Order_type>ZOR</Order_type>
<Sales_Organization>0001</Sales_Organization>
<Distribution_Channel>10</Distribution_Channel>
<Division>10</Division>
<Sales_Order_Number>350039</Sales_Order_Number>
<Order_Reason/>
<PO_Number>17428427</PO_Number>
<Sold_To>04501</Sold_To>
<Req_Delivery_Date>20150302</Req_Delivery_Date>
<Item_Number>2</Item_Number>
<Material_number>02505</Material_number>
<Order_Qty>200</Order_Qty>
<Sales_UOM>CS</Sales_UOM>
<Plant>0010</Plant>
<CustomerRequestedQty>200</CustomerRequestedQty>
<ItemDeliveryDate>20150302</ItemDeliveryDate>
<ItemDeliveryTime>000000</ItemDeliveryTime>
<Rejection_Code/>
</Header>
<Item>
<ORD_PARTNER/>
<Partner_ID/>
<Partner_Function/>
<Dummy_1/>
<Dummy_2/>
<Dummy_3/>
<Dummy_4/>
<Dummy_5/>
<Dummy_6/>
<Dummy_7/>
<Dummy_8/>
<Dummy_9/>
<Dummy_10/>
<Dummy_11/>
<Dummy_12/>
<Dummy_13/>
<Dummy_14/>
<Dummy_15/>
</Item>
<Footer>
<ORD_DISCOUNTS>ORD_DISCOUNTS</ORD_DISCOUNTS>
<CONDITION_TYPE>ZR00</CONDITION_TYPE>
<Net_Amount>7252</Net_Amount>
<Currency/>
<Dummy_1/>
<Dummy_2/>
<Dummy_3/>
<Dummy_4/>
<Dummy_5/>
<Dummy_6/>
<Dummy_7/>
<Dummy_8/>
<Dummy_9/>
<Dummy_10/>
<Dummy_11/>
<Dummy_12/>
<Dummy_13/>
<Dummy_14/>
<Dummy_15/>
</Footer>
</Orders_Details>
<Orders_Details>
<Header>
<ORD_LINE>ORD_LINE</ORD_LINE>
<Order_type>ZOR</Order_type>
<Sales_Organization>0001</Sales_Organization>
<Distribution_Channel>10</Distribution_Channel>
<Division>10</Division>
<Sales_Order_Number>350039</Sales_Order_Number>
<Order_Reason/>
<PO_Number>17428427</PO_Number>
<Sold_To>04501</Sold_To>
<Req_Delivery_Date>20150302</Req_Delivery_Date>
<Item_Number>3</Item_Number>
<Material_number>02377</Material_number>
<Order_Qty>100</Order_Qty>
<Sales_UOM>CS</Sales_UOM>
<Plant>0010</Plant>
<CustomerRequestedQty>100</CustomerRequestedQty>
<ItemDeliveryDate>20150302</ItemDeliveryDate>
<ItemDeliveryTime>000000</ItemDeliveryTime>
<Rejection_Code/>
</Header>
<Item>
<ORD_PARTNER/>
<Partner_ID/>
<Partner_Function/>
<Dummy_1/>
<Dummy_2/>
<Dummy_3/>
<Dummy_4/>
<Dummy_5/>
<Dummy_6/>
<Dummy_7/>
<Dummy_8/>
<Dummy_9/>
<Dummy_10/>
<Dummy_11/>
<Dummy_12/>
<Dummy_13/>
<Dummy_14/>
<Dummy_15/>
</Item>
<Footer>
<ORD_DISCOUNTS>ORD_DISCOUNTS</ORD_DISCOUNTS>
<CONDITION_TYPE>ZR00</CONDITION_TYPE>
<Net_Amount>4335</Net_Amount>
<Currency/>
<Dummy_1/>
<Dummy_2/>
<Dummy_3/>
<Dummy_4/>
<Dummy_5/>
<Dummy_6/>
<Dummy_7/>
<Dummy_8/>
<Dummy_9/>
<Dummy_10/>
<Dummy_11/>
<Dummy_12/>
<Dummy_13/>
<Dummy_14/>
<Dummy_15/>
</Footer>
</Orders_Details>
<Orders_Details>
<Header>
<ORD_LINE>ORD_LINE</ORD_LINE>
<Order_type>ZOR</Order_type>
<Sales_Organization>0001</Sales_Organization>
<Distribution_Channel>10</Distribution_Channel>
<Division>10</Division>
<Sales_Order_Number>350039</Sales_Order_Number>
<Order_Reason/>
<PO_Number>17428427</PO_Number>
<Sold_To>04501</Sold_To>
<Req_Delivery_Date>20150302</Req_Delivery_Date>
<Item_Number>4</Item_Number>
<Material_number>02453</Material_number>
<Order_Qty>300</Order_Qty>
<Sales_UOM>CS</Sales_UOM>
<Plant>0010</Plant>
<CustomerRequestedQty>300</CustomerRequestedQty>
<ItemDeliveryDate>20150302</ItemDeliveryDate>
<ItemDeliveryTime>000000</ItemDeliveryTime>
<Rejection_Code/>
</Header>
<Item>
<ORD_PARTNER/>
<Partner_ID/>
<Partner_Function/>
<Dummy_1/>
<Dummy_2/>
<Dummy_3/>
<Dummy_4/>
<Dummy_5/>
<Dummy_6/>
<Dummy_7/>
<Dummy_8/>
<Dummy_9/>
<Dummy_10/>
<Dummy_11/>
<Dummy_12/>
<Dummy_13/>
<Dummy_14/>
<Dummy_15/>
</Item>
<Footer>
<ORD_DISCOUNTS>ORD_DISCOUNTS</ORD_DISCOUNTS>
<CONDITION_TYPE>ZR00</CONDITION_TYPE>
<Net_Amount>13005</Net_Amount>
<Currency/>
<Dummy_1/>
<Dummy_2/>
<Dummy_3/>
<Dummy_4/>
<Dummy_5/>
<Dummy_6/>
<Dummy_7/>
<Dummy_8/>
<Dummy_9/>
<Dummy_10/>
<Dummy_11/>
<Dummy_12/>
<Dummy_13/>
<Dummy_14/>
<Dummy_15/>
</Footer>
</Orders_Details>
<Orders_Details>
<Header>
<ORD_LINE>ORD_LINE</ORD_LINE>
<Order_type>ZOR</Order_type>
<Sales_Organization>0001</Sales_Organization>
<Distribution_Channel>10</Distribution_Channel>
<Division>10</Division>
<Sales_Order_Number>350039</Sales_Order_Number>
<Order_Reason/>
<PO_Number>17428427</PO_Number>
<Sold_To>04501</Sold_To>
<Req_Delivery_Date>20150302</Req_Delivery_Date>
<Item_Number>5</Item_Number>
<Material_number>02460</Material_number>
<Order_Qty>500</Order_Qty>
<Sales_UOM>CS</Sales_UOM>
<Plant>0010</Plant>
<CustomerRequestedQty>500</CustomerRequestedQty>
<ItemDeliveryDate>20150302</ItemDeliveryDate>
<ItemDeliveryTime>000000</ItemDeliveryTime>
<Rejection_Code/>
</Header>
<Item>
<ORD_PARTNER/>
<Partner_ID/>
<Partner_Function/>
<Dummy_1/>
<Dummy_2/>
<Dummy_3/>
<Dummy_4/>
<Dummy_5/>
<Dummy_6/>
<Dummy_7/>
<Dummy_8/>
<Dummy_9/>
<Dummy_10/>
<Dummy_11/>
<Dummy_12/>
<Dummy_13/>
<Dummy_14/>
<Dummy_15/>
</Item>
<Footer>
<ORD_DISCOUNTS>ORD_DISCOUNTS</ORD_DISCOUNTS>
<CONDITION_TYPE>ZR00</CONDITION_TYPE>
<Net_Amount>2165</Net_Amount>
<Currency/>
<Dummy_1/>
<Dummy_2/>
<Dummy_3/>
<Dummy_4/>
<Dummy_5/>
<Dummy_6/>
<Dummy_7/>
<Dummy_8/>
<Dummy_9/>
<Dummy_10/>
<Dummy_11/>
<Dummy_12/>
<Dummy_13/>
<Dummy_14/>
<Dummy_15/>
</Footer>
</Orders_Details>
<Orders_Details>
<Header>
<ORD_LINE>ORD_LINE</ORD_LINE>
<Order_type>ZOR</Order_type>
<Sales_Organization>0001</Sales_Organization>
<Distribution_Channel>10</Distribution_Channel>
<Division>10</Division>
<Sales_Order_Number>350039</Sales_Order_Number>
<Order_Reason/>
<PO_Number>17428427</PO_Number>
<Sold_To>04501</Sold_To>
<Req_Delivery_Date>20150302</Req_Delivery_Date>
<Item_Number>6</Item_Number>
<Material_number>07203</Material_number>
<Order_Qty>20</Order_Qty>
<Sales_UOM>CS</Sales_UOM>
<Plant>0010</Plant>
<CustomerRequestedQty>500</CustomerRequestedQty>
<ItemDeliveryDate>20150302</ItemDeliveryDate>
<ItemDeliveryTime>000000</ItemDeliveryTime>
<Rejection_Code/>
</Header>
</Orders_Details>
<Orders_Details>
<Header>
<ORD_LINE>ORD_LINE</ORD_LINE>
<Order_type>ZOR</Order_type>
<Sales_Organization>0001</Sales_Organization>
<Distribution_Channel>10</Distribution_Channel>
<Division>10</Division>
<Sales_Order_Number>350039</Sales_Order_Number>
<Order_Reason/>
<PO_Number>17428427</PO_Number>
<Sold_To>04501</Sold_To>
<Req_Delivery_Date>20150302</Req_Delivery_Date>
<Item_Number>7</Item_Number>
<Material_number>07203</Material_number>
<Order_Qty>20</Order_Qty>
<Sales_UOM>CS</Sales_UOM>
<Plant>0010</Plant>
<CustomerRequestedQty>500</CustomerRequestedQty>
<ItemDeliveryDate>20150302</ItemDeliveryDate>
<ItemDeliveryTime>000000</ItemDeliveryTime>
<Rejection_Code/>
</Header>
</Orders_Details>
<Orders_Details>
<Header>
<ORD_LINE>ORD_LINE</ORD_LINE>
<Order_type>ZOR</Order_type>
<Sales_Organization>0001</Sales_Organization>
<Distribution_Channel>10</Distribution_Channel>
<Division>10</Division>
<Sales_Order_Number>338050</Sales_Order_Number>
<Order_Reason/>
<PO_Number>122794</PO_Number>
<Sold_To>08243</Sold_To>
<Req_Delivery_Date>20150204</Req_Delivery_Date>
<Item_Number>3</Item_Number>
<Material_number>01516</Material_number>
<Order_Qty>11</Order_Qty>
<Sales_UOM>cmb</Sales_UOM>
<Plant>0010</Plant>
<CustomerRequestedQty>11</CustomerRequestedQty>
<ItemDeliveryDate>20150204</ItemDeliveryDate>
<ItemDeliveryTime>144700</ItemDeliveryTime>
<Rejection_Code/>
</Header>
<Item>
<ORD_PARTNER/>
<Partner_ID>WE</Partner_ID>
<Partner_Function/>
<Dummy_1/>
<Dummy_2/>
<Dummy_3/>
<Dummy_4/>
<Dummy_5/>
<Dummy_6/>
<Dummy_7/>
<Dummy_8/>
<Dummy_9/>
<Dummy_10/>
<Dummy_11/>
<Dummy_12/>
<Dummy_13/>
<Dummy_14/>
<Dummy_15>2000</Dummy_15>
</Item>
<Item>
<ORD_PARTNER/>
<Partner_ID>RE</Partner_ID>
<Partner_Function/>
<Dummy_1/>
<Dummy_2/>
<Dummy_3/>
<Dummy_4/>
<Dummy_5/>
<Dummy_6/>
<Dummy_7/>
<Dummy_8/>
<Dummy_9/>
<Dummy_10/>
<Dummy_11/>
<Dummy_12/>
<Dummy_13/>
<Dummy_14/>
<Dummy_15/>
</Item>
<Footer>
<ORD_DISCOUNTS/>
<CONDITION_TYPE>ZR00</CONDITION_TYPE>
<Net_Amount>2000</Net_Amount>
<Currency/>
<Dummy_1/>
<Dummy_2/>
<Dummy_3/>
<Dummy_4/>
<Dummy_5/>
<Dummy_6/>
<Dummy_7/>
<Dummy_8/>
<Dummy_9/>
<Dummy_10/>
<Dummy_11/>
<Dummy_12/>
<Dummy_13/>
<Dummy_14/>
<Dummy_15/>
</Footer>
</Orders_Details>
</ns0:Protean_Orders05_MT>
Thanks
Giridhar