Skip to Content
1
Sep 09, 2023 at 01:14 AM

ODATA v4 register a property as a collection of primitive types

2434 Views

Hello,

I am trying to implement an ODATA v4 service by implementing /iwbep/cl_v4_abs_model_prov using code-based approach on an ECC system with NW 7.50.

One property of an entity is a string_table type. Per the ODATA v4 spec, "The property’s type MUST be a primitive type, complex type, or enumeration type in scope, or a collection of one of these types."

Example: <Property Name="Units" Type="Collection(Edm.String)" />

How can I register such property using /iwbep/if_v4_med_entity_type?

Thanks,

Lizhang