cancel
Showing results for 
Search instead for 
Did you mean: 

How to add fetch multiple lines of record from a CDS view in a BADI and show it in adobe form

Sampath4
Explorer
0 Kudos
137

In SAP Public cloud, I want to fetch multiple lines of record from a CDS VIEW inside a BADI and then show those values in a table inside adobe form. The problem is, the BADI executes only once, and I am able to fetch only one record at a time and show it in the adobe form, what I need is to fetch multiple records at once and display them all in the adobe form template

SerhiiMartynkov
Product and Topic Expert
Product and Topic Expert

hi Sampath4, In the Adobe Form you need to create a table with as many fields as you have to display at put it in the position you want. You can do this at :

SerhiiMartynkov_0-1726575228939.png

After that you need to bind each line of the table with the required field that comes from structure/table that you filled in your BADI logic. For the table to display all the records you need to click on the entire table , at object->Pagination->After :

SerhiiMartynkov_1-1726575243297.png

Continue Filling Parent. This will enable your table to display all the records continuing on the next page.

Hope it helps.

Accepted Solutions (0)

Answers (0)