cancel
Showing results for 
Search instead for 
Did you mean: 

xsodata: "Multiple resources found. Inconsistency between data model and service description found."

draschke
Active Contributor
0 Kudos

If I call my service within a calculation view I get this error:

"Multiple resources found. Inconsistency between data model and service description found."

Has someone an idea what the reason could be for this msg. Couldn't find a helpful answer.

I changed the forum from sapui5 to here, more explanations you can find here.

Accepted Solutions (0)

Answers (1)

Answers (1)

draschke
Active Contributor
0 Kudos

Now I tried to create this calculation view by scripting. I only tried to join two tables and get this following error.

DescriptionResourcePathLocationType

[40117] Repository: Encountered an error in repository runtime extension;Model inconsistency. Deploy Calculation View: SQL: sql syntax error: incorrect syntax near ")": line 7 col 67 (at pos 612)

Set Schema DDL statement: set schema "TBASE_PUBLIC"

Type DDL: create type "_SYS_BIC"."development.diraschk.dev.models/cvCE_LaborLaborwert/proc/tabletype/VAR_OUT" as table ("outLaborID" NUMERIC(10))

Procedure DDL: create procedure "_SYS_BIC"."development.diraschk.dev.models/cvCE_LaborLaborwert/proc" ( OUT var_out "_SYS_BIC"."development.diraschk.dev.models/cvCE_LaborLaborwert/proc/tabletype/VAR_OUT" )

language sqlscript sql security definer reads sql data as

/********* Begin Procedure Script ************/

BEGIN

var_tableLabor = CE_COLUMN_TABLE ("TBASE_PUBLIC"."development.projects.tbase.data::TBASE.cds.Labor", [LaborID]);

var_tableLaborwert = CE_COLUMN_TABLE ("TBASE_PUBLIC"."development.projects.tbase.data::TBASE.cds.Laborwert", [LaborID]);

var_out = CE_LEFT_OUTER_JOIN(:var_tableLabor, :var_tableLaborwert );

END /********* End Procedure Script ************/

Does somebody know what this means?

draschke
Active Contributor


After all I found out that we shouldn't use CE anymore.

I think I got this problem after I copied the original more times. I deleted all the copies and now is the error away and the xsodata service works again.