Hello Experts,
I have the below scenario.
I have created the ODATA project from BW query. In BW query, one field length is 30. In odata, I choose that field type as edm.string and max length as 30.
But when I have executed my service with $metadata, I saw the field max length as 10. When I have executed the service for fetching all data(GET_ENTITY_SET), I am getting error: "value 'xxxxxxxxxxxx' violates facet information 'maxlength=10'.
I have checked my MPC class and in attribute, the field length is 30. But in gateway client its showing max length is 10.
Due to this I am getting internal server error with "value 'xxxxxxxxxxxx' violates facet information 'maxlength=10' ".
Could you please help me to resolve this issue? Its very urgent.
Thanks,
Arindam