Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error when adding an attribute to a redifined entity

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!



Former Member

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question