Hi Amit,
First you need to know how the XML should look like.
I recommend you to export an order and examine how the XML should look like.
Use this code to export :
Dim oDoc As SAPbobsCOM.Documents
Set oDoc = oCompany.GetBusinessObject(oOrders)
oDoc.GetByKey (4000)
oCompany.XmlExportType = xet_ExportImportMode
oDoc.SaveXML ("C:\Test\Order.xml")
Second, form your source XML to follow the SAP XML format, you can do this by hand or use an XSLT to transfor your source XML to SAP XML.
Use this code to load the XML file
Dim oDoc As SAPbobsCOM.Documents
oDoc = oCompany.GetBusinessObjectFromXML("C:Test\MyOrder.XML", 0)
Dim iErr as Integer = oDoc.Add()
Regards
Edy