Skip to Content
0
Former Member
Apr 27, 2005 at 02:12 PM

DI - Export BusinessPartners to XML

29 Views

Hi,

I want to export all BusinessPartners.

To export just one, I use (VB.Net)

ConnectToCompany()

Dim oBP As SAPbobsCOM.BusinessPartners

oBP = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oBusinessPartners)

oRecordSet.DoQuery("Select cardcode from ocrd where cardtype = 'C'")

oBP.Browser.Recordset = oRecordSet

oCompany.XmlExportType() = SAPbobsCOM.BoXmlExportTypes.xet_NodesAsProperties

oBP.SaveXML("C:\Program Files\SAP Manage\XML\" & "databrowserNAP" & ".xml")

but, how to export all?

Could someone help me?

Thanks,

Laurent