cancel
Showing results for 
Search instead for 
Did you mean: 

PUT/ Update issue in Odata

meenakshi_raina
Advisor
Advisor
0 Kudos

Hi All,

I am trying to change/update an entity set with the following code -

I checked in /n/IWFND/ERROR_LOG, and was getting the error- oData PUT operation requires GET ENTITY implementation.

Now the backend developer has implemented the Get_Entity method. But, now we are getting another error-

ERROR_INFO Resource not found for segment 'ET_Kit_serialised'

Is this an issue from the frontend or the backend? Kindly suggest.

Regards

Meenakshi

ThorstenHoefer
Active Contributor
0 Kudos
Hi meenakshi.raina

set a breakpoint in get_entity and check if the requested record is selected.

Accepted Solutions (1)

Accepted Solutions (1)

junwu
Active Contributor
0 Kudos

one more thing, when test at backend using gateway client, did it return data when calling get entity?

meenakshi_raina
Advisor
Advisor
0 Kudos

Hello. Thank you for your response. I have cleared all the caches.

As per the ABAPer, the Get_entity method is currently empty. It is only redefined and implemented, but nothing is written there. The code has been written in get_entityset method instead. Is it because of that the error is coming?

junwu
Active Contributor
0 Kudos

it has to return data.

meenakshi_raina
Advisor
Advisor
0 Kudos

Thank you Jun Wu. We have now passed the primary key values in er_entity and it is working fine. The 'Update' method is being triggered now.

Thanks a lot.

Answers (1)

Answers (1)

junwu
Active Contributor
0 Kudos

check this note, you probably need to clear cache.

https://launchpad.support.sap.com/#/notes/2743849