cancel
Showing results for 
Search instead for 
Did you mean: 

How should i call a BRF+ on CDS VIEW inner join where condition

Ricardo_Perez
Discoverer
0 Kudos
640
Hello.
I have a request where I need to create a cds view that uses several values ​​that come from a BRF+.
It would look something like the example below:

defines view ZSD_DDL_NOTA_FISCAL
as select from vbap
left outer join VBPA on vbap.vbeln = vbpa.vbeln 
and vbap.POSNR = VBPA.posnr


and vbpa.parvw = BRF+ <--- key vbap.vbeln, key vbap.posnr, key vbpa.parvw, vbpa.kunnr Would there be a way to do this search in BRF+ directly in the condition of a select? thanks in advance
View Entire Topic
NooruBohra
Active Participant
0 Kudos

I'm not sure that BRF+ will have a table or view which you can directly query. But if you can create a CUSTOM Entity and then use that CDS as association.
Custom Entities | SAP Help Portal
I have never done it. But you can give it a try.