cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Model product Specification Odata service in ABAP Cloud environment

0 Likes
274

Hi Experts ,

I have a requirement to read the model product specification details and when tried to create a CDS using the entities I_MODELPRODUCTSPECIFICATIONTP , I_ModProdSpecItemTP was getting the below error . Kindly share an alternate approach to achieve the same . I cannot use the standard tables mmpur_mps_header ,mmpur_mps_item in the CDS as the Lang version is 'ABAP For Cloud Dev' .

The use of element MODELPRODUCTSPECIFICATIONUUID of CDS ENTITY I_MODELPRODUCTSPECIFICATIONTP is not permitted.
The use of CDS ENTITY I_MODELPRODUCTSPECIFICATIONTP is not permitted.

Regards,

Niranjan

 

 

 

Accepted Solutions (0)

Answers (1)

Answers (1)

Maciej__Galica
Explorer
0 Likes

Hello @niranjan_vivekanandan,

The CDS View I_MODELPRODUCTSPECIFICATIONTP & I_ModProdSpecItemTP is created as Projection view and the system does not allow use of projection views as Base object. We recommend using the root view(R_ModelProductSpecificationTP,R_ModProdSpecItemTP ) to create another entity/projection. Hope this helps.

Best Regards,

Maciej