cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori Elements: How do I update parent entity after save of an child entity

juergenbaur
Contributor
0 Kudos
444

I have a List Report and use some Information of the parent entity in the object page header. Now I change e.g. the price in one child entity. After save I want to have the parent (or the whole model) updated in the front end.

In my case only the changed entity are updated.

br

Jürgen

Accepted Solutions (1)

Accepted Solutions (1)

MioYasutake
Active Contributor

You can use side effect annotation to achieve it. You can find examples below.

https://sapui5.hana.ondemand.com/#/topic/61cf21d50ed34cbf888713496c618904

juergenbaur
Contributor
0 Kudos

I will have a look at this. Thank you.

I'm using ODATA V2 and a BOFP based Service. So I'm not sure I can use side effects.

What I have in mind is something like this: this.getView().getModel().refresh();

Answers (1)

Answers (1)

juergenbaur
Contributor
0 Kudos

I got it - thanks to mioyasutake