cancel
Showing results for 
Search instead for 
Did you mean: 

ODP Error: could not retrieve the model name and version '0001'

bijayantjha
Discoverer

Hi Everyone,

I have created a CDS view and tried to consume data in SAP oData using ODP, but while adding that CDS view I was getting this error message " could not retrieve the model name '*_MDL' and version '0001'. Error screenshot is attached. Please suggest me what could be the root cause for this issue. Please let me know if any other information required.

I will be very appreciates for any help in this regards

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

TuBV
Explorer

Hello guy,

I have same issues, please response me if you resolved.

Thanks you so much.

MrVila
Explorer
0 Kudos

I had the same issue and I got a solution from SAP. I just paste the answer from SAP in case it can help someone else.

The root cause of the problem is the CDS-view definition. You have defined it with analytics.dataCategory: #DIMENSION, but you did not define a representative key with annotation @ObjectModel.representativeKey for the CDS. Therefore the CDS cannot be used for extraction and raises an error.

There are several options how to solve this:

a.) define a representative key for the CDS

b.) Use analytics.datacategory : #FACTS instead of dimension

c.) Don't use annotation analytics.datecategory at all, but in this case you would have to implement note 3335039 before, to avoid a short dump.