06-13-2022 1:13 PM
Hello community,
We have a customer requirement where we need to build an odata service in SEGW with some property name arround 50 chars.
It seems that there is a limitation to 40, do you know if it's possible to jump over this?
06-20-2022 8:42 AM
Names of properties of OData V2 services are based on the following domain.
Therefore it is not possible to use longer names for the properties of an OData V2 service.
/iwbep/med_external_name char(40)It might be an option to use an OData V4 service instead.
The class
lo_primitive_property type ref to /iwbep/if_v4_med_prim_prophas a method set_edm_name( ) which takes parameters of the following type
type /iwbep/if_v4_med_types=>ty_e_med_edm_name where
ty_e_med_edm_name type c length 128When building an OData V4 service I we recommend NOT to use SEGW but to use a plain code based implementation instead.
06-13-2022 4:27 PM
On which release are you working?
750, 751, 752 ?
Or are you running on top of an SAP S/4HANA Release?
Kind regards,
Andre
06-13-2022 4:46 PM
06-20-2022 8:42 AM
Names of properties of OData V2 services are based on the following domain.
Therefore it is not possible to use longer names for the properties of an OData V2 service.
/iwbep/med_external_name char(40)It might be an option to use an OData V4 service instead.
The class
lo_primitive_property type ref to /iwbep/if_v4_med_prim_prophas a method set_edm_name( ) which takes parameters of the following type
type /iwbep/if_v4_med_types=>ty_e_med_edm_name where
ty_e_med_edm_name type c length 128When building an OData V4 service I we recommend NOT to use SEGW but to use a plain code based implementation instead.
07-01-2022 11:34 AM