Quantcast
Channel: SCN : Popular Discussions - SAP NetWeaver Gateway Developer Center
Viewing all articles
Browse latest Browse all 1657

Error when adding an attribute to a redifined entity

$
0
0

Dear Gateway experts,

 

I have the following problem:

In the service builder I have successfully created and activated an OData Service with several entities. Now I have created a second service and have redefined one of the entities of the first service. Finally I have added one attribute to this entity in the second service. Also this service could be generated succesfully. But when calling the service I get the error message "Property [NEW ATTRIBUT] of data object [ENTITY] has no Internal type assigned."

 

In the MPC class of the second service I see, that the structure belonging to the entity has been updated with this new attribute.

But the exporting parameter ET_ENTITYSET of the DPC class refer to the structure definition of the MPC class of the first service (because the inherite from them) without the new attribute.

 

So my problem is now, hoc can I add an attribute to a redfined entity without getting this error and be able to fill the export table?

 

Thanks a lot in advance!

 

Regards,

Juergen


Viewing all articles
Browse latest Browse all 1657

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>