cancel
Showing results for 
Search instead for 
Did you mean: 

Odata Update/PUT method break point not Triggering

sanjay_deshpande4
Participant
0 Kudos

Dear All,

I have created an OData service and applied an external breakpoint in re-registered update method. The Mtart is modified in

left panel as shown below. No code is written inside the method. However, the Breakpoint not triggering and am getting below error message on execution. Can anybody kindly guide how can I resolve the error and get breakpoint trigger.

sanjay_deshpande4_4-1716903432370.png

sanjay_deshpande4_1-1716904387040.png

Regards.

View Entire Topic
Nicolas
Active Contributor

Hello,

As the error message says, your payload is incorrect. Try with this one instead:

 

{
    "Matnr" : "017-328095-000_01",
    "Matkl" : "04",
    "Mtart" : "SAN",
    "Mbrsh" : "M"
}

 

Regards

 

sanjay_deshpande4
Participant
0 Kudos

Well It worked like charm. Thanks alot. However, would you kindly help with how did you analyzed?

The payload was generated on copying from right hand panel using Copy button.

junwu
Active Contributor
odata is a specification, they have specific format requirement. you need to know odata protocol