Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

GetBusinessObjectXmlSchema for oOrders and other documents

Hi All,

The following:

<i>Dim _xmlSchema As String = SboCompany.GetBusinessObjectXmlSchema(SAPbobsCOM.BoObjectTypes.oOrders)</i>

Gives me an error "Additional information: Object reference not set to an instance of an object."

When using the 2005 DI API. Any ideas why? It works fine for other objects such as oBusinessPartners.

Thanks.

/Bruno

replied

Hi Bruno.

If you have instantiated SboCompany you have not problem. I have tried and works.

Ciao. Nicola

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question