cancel
Showing results for 
Search instead for 
Did you mean: 

if_rap_query_provider > Filter empty

mpredolim
Participant
0 Kudos

Hi all,

When i debug the query implementation class i have no values into current method io_request->get_filter( ).
I need to know what am i missing in order to have the data values from implemented CDS view.

Thanks in advance,
Mauricio
ABAP RESTful Application Programming Model 
SAP S/4HANA Public Cloud 

View Entire Topic
Mikhail_Minakov
Explorer
0 Kudos

Could you post your implementation of your read method and the way how you call your BO with filter (select, ODATA, etc.)

mpredolim
Participant
0 Kudos

Sure! here you have the implementations i´m using:
Interface View:

mpredolim_0-1708954645962.png

Consumption view

mpredolim_1-1708954691077.png

And in here we have the ABAP Class above mentioned:

mpredolim_2-1708954754302.png

In here i have no values...but if i try to do data preview from my ZC_ZMC1 we can see data in there:

mpredolim_3-1708954833765.png

In the other hand, using the app preview, there is no data at all:

mpredolim_4-1708954911614.png

Thanks in advance,
Mauricio

mpredolim
Participant
0 Kudos

Just updating this thread...I´m checking the previous method io_request->is_data_requested( ) and it comes populated:

mpredolim_0-1708956581254.png

But i can´t see the data coming as i see from CDS data preview. I just need to show the same CDS data preview into app preview without any filters for now.

Thanks,
Mauricio