Skip to Content
author's profile photo Former Member
Former Member

Error importing an XML with the "GetBusinessObjectFromXML" object

Hi,

I'm trying to import an XML with the "GetBusinessObjectFromXML" object but its give an error "-1115" (No XML schema was found to represent this object).

The code that previously use to save the XML at next:


Dim oTablaMD As SAPbobsCOM.UserTablesMD
 
Dim oRec As SAPbobsCOM.Recordset
 
 
 
oRec = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset) 'Instancio un recordset para acceder a la base
 
 
 
oRec.DoQuery("SELECT TableName FROM OUTB") 'traigo los nombres de las tablas de usuario
 
While (Not oRec.EoF)
 
oTablaMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserTables) 'instancio una tabla de usuario
 
oTablaMD.GetByKey(oRec.Fields.Item(0).Value) 'le indico que tabla quiero obtener
 
oTablaMD.SaveXML(strRutaXML) 'exporto el XML
 
oRec.MoveNext() 'avanzo el registro
 
End While
 
 
 

Anybody know, what can be happening???

Thanks!!

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 09, 2009 at 07:27 AM

    Dear Mariano Bertini,

    Please check if the issue is same as SAP Note 1256343, it was fixed on B1 2007A PL48 by the note.

    Best Regards

    Jane Jing

    SAP Business One Forums team

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.