Skip to Content

Problem XSA application

Some problem with creation oData service on calculation view.

Structure of application next:

We have three calculation views. First view has input parameters (ZTC_CV_D00_PULT_DAT), second doesn’t have parameters(ZTC_CV_D00_PULT_SCR).

And we should covered this views by oData service.

To maintain this – we create .xsodata file “SYS_BIC_Params2.xsodata”. Structure of this file in the screenshot.

Problem with first calculation view: ZTC_CV_D00_PULT_DAT

Problem is next:

After deploying db-module and js-module when we making next call:


We get normal response with data from this service.

But when we are trying to get metadata of this service – it fails


In the $metadata response we have error "invalid dbTypeName name: STRING", and response interrupted with this error.

<PropertyRef Name="P_DCLPERC"/>

<PropertyRef Name="P_DCLVERS"/>

<PropertyRef Name="P_DCLCODE"/>

<PropertyRef Name="P_CORRN"/>

<PropertyRef Name="P_DCLVERS"/>

<PropertyRef Name="P_CORRN"/>


<Property Name="P_BUKRS" Type="Edm.String" Nullable="false"/>

<Property Name="P_BUKRS"{"error":{"code":500,"message":{"lang":"en-US","value":"invalid dbTypeName name: STRING"}}}

If we removing “parameters via entity” in .”SYS_BIC_Params2.xsodata” metadata forms correctly.

You could find .hdbcalculationview file, .xsodata file and full text of response in attachment.

Do you have any thoughts about the reason of such behavior?

P.S. those views was making by using “xs-migration” tool, I don’t know if this information have any sense .metadata-response.txt sys-bic-params2xsodata.txt

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

0 Answers

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.