on 08-24-2021 4:09 PM
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
Hello guy,
I have same issues, please response me if you resolved.
Thanks you so much.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.