Skip to Content
avatar image
Former Member

No compatible XML schema found for this object

Hello.

I want to create a scenario where an internal alert is generated when creating a Sales Order, but at the time of testing the scenario the following error is being presented to me. You can support me with some information.

Greetings.

Error:

---------------------------------------------------------------------------------------------------------

com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: java.lang.RuntimeException: Invoke of: GetBusinessObjectFromXML Source: SAPbobsCOM.Company.90.0 Description: No compatible XML schema found for this object -The di call #1 did fail.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Mar 08 at 03:10 PM

    Hello Heinz Pauly

    Thank you very much for your answer.

    I attach the structure I am using for the tests, where you can see if I am passing a correct object identifier. In this case it is 17, corresponding to the Sales Orders. I do not know why I throw the error that does not find that identifier in the DI.

    I also attach several screenshots, for a better understanding.

    Thanks again, and I hope you can help solve that error. Greetings.

    atom-b1-message.png

    atom-final.png

    main-bizflow.png

    processing.png

    test-result.png

    XML:

    rectestxml.png

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 08 at 07:50 AM

    Hi Miguel,

    this error is raised by the DI proxy (DI-API adapter). The adapter receives an empty structure from DI-APIGetBusinessObjectFromXML function. It indicates that the object identifier that you hand over to the call does not exist in DI. The identifier is e.g. "2" for business partner, "17" for sales order etc. You can check the full list of available objects by HELP->B1 DI-API Objects->[Object List].

    best - Heinz

    Add comment
    10|10000 characters needed characters exceeded