Hi
_oCompany.XmlExportType = SAPbobsCOM.BoXmlExportTypes.xet_ExportImportMode;
_oCompany.XMLAsString = false;
string xmlSchema = _oCompany.GetBusinessObjectXmlSchema(SAPbobsCOM.BoObjectTypes.oBusinessPartners);
System.IO.File.WriteAllText("D:\\TEMP\\bp.xml", xmlSchema);
Thanks