Determine the value of a field per page
Hello,
I have a S/4 HANA standard form (with fragments) that I am trying to customize. Within the form, I have a table that is nested and with a parent child relationship. As in the below screenshot, there can be multiple HUs and under a HU, any number of delivery items.

Customer's ask is to print 1 HU and its associated delivery lines on a page. For this particular example, there would be 2 pages, page1 for HU 123 and page2 for HU 567. I have achieved this using conditional page break and the data gets split and passed on to new set of pages.
However, on every page there is some header information that needs to be printed - some of them from the HU data and some of them from the delivery lines data.
1. The form title should be 'HU ***' where *** is the value on that page.
2. Need to read a specific field from the first delivery line on every page (it will be the same on all delivery lines and hence reading the 1st record is enough) and pass it to the header on master page.
Need some advice on how to read specific values from the page for these 2 tables.