cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAPUI5 : Extra PATCH call triggered on changing value of annotation based drop down.

Mhsap11
Discoverer
0 Likes
366

We have observed a issue in Fiori Elements based List Report CAPM application for newer SAPUI5 versions > 1.120.0

We are currently on SAPUI5 version 1.134.0. We have defined annotation based drop down on object page as below and it renders fine with required values on UI.

Now every time we change value of this drop down, we observe an extra PATCH call triggered immediately on entity, trying to update the entity with this changed value of property referenced by dropdown, in this case firstName.

This causes wrong updating of entity value in database and if entity is defined @readonly, error is generated saying we are trying to update read-only entity.

Mhsap11_0-1744134698984.png

Please guide on how to avoid this extra PATCH call or any workaround.

Please find below repo replicating the issue.

https://github.com/MudassirHasan1/ui5service

Regards.

Accepted Solutions (0)

Answers (1)

Answers (1)

junwu
SAP Champion
SAP Champion
0 Likes

1.120?1.134? which one is newer?

if it is readonly, why you make it updatable in ui?