Hi Garima,
One point to note is the requirement of maxlength field in the Odata.
It is mandatory to have a maxlength property defined to a primary key if your SMP server version is higher than sp05, if the primary key is a string data-type.
Ex.
![2015-11-27_11-11-46.png]()
Regards, Midhun
SAP Technology RIG