on 2024 Aug 05 8:21 AM
Hi, I have an application with Itineraries and Booking, where booking has 2 fields "checkin" and "checkout". Right now, I can choose the check-ins and check-outs of both Bookings and Itineraries, but i want Itineraries to get it automatically by getting the smallest check-in date and biggest check-out date from it's bookings. Itinerary is the root and Booking is the child. Any on how I can do that?
Hi,
I assume that you are implementing a RAP Application. The desired behaviour can be archieved using a determination. A determination can be defined in the Behaviour Definition and implemented in the corresponding Behaviour Pool.
More infos about determinations:
https://software-heroes.com/en/blog/abap-rap-determination
https://community.sap.com/t5/technology-blogs-by-sap/determinations-in-abap-restful-programming-mode...
And the flight demo app (e.g. /DMO/I_Travel_M) has the example of a determination to calculate the total price.
Greetings
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
62 | |
12 | |
7 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.