Skip to Content
0

No compatible XML schema found for this object

Mar 07 at 03:32 PM

38

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

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

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


atom-final.png (100.9 kB)
main-bizflow.png (82.0 kB)
processing.png (75.2 kB)
test-result.png (96.9 kB)
rectestxml.png (763.5 kB)
Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member
Mar 08 at 07:50 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded