cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass header data to items page

robson_soares
Participant
0 Kudos

Hello everybody,

Before posting this question I did several searches, but I didn't find a solution, so I apologize if this has already been answered, maybe I didn't search for the correct term.

I am creating an application using ABAP RAP. In it there is a List report (Image 1) that contains the header records and when clicking on a line an object page is displayed which contains the header data and a list with its items (Image 2).

I would like to know if in the creation of the item (Image 3) it is possible to display the header key fields (Business Partner and Contract Account) in the header of the items page or even in some field (read only).

Thank you!

Image 1

Image 2

Image 3

Accepted Solutions (0)

Answers (1)

Answers (1)

Ramjee_korada
Active Contributor
0 Kudos

Hi,

Did you try projecting required header fields in Item project cds view .

Ex. Header.field

Later, You can position them for item page in metadata extension.


Best wishes,

Ramjee Korada

robson_soares
Participant
0 Kudos

Hi Ramjee,

I thank you for trying to help me.

The header fields are in the items projection cds view and I put them in metadata extension, but for some reason the values are not displayed.

I must be doing something wrong. Beginner stuff.

Best Regards.