Skip to Content

CDS View - Consumption View multiple default values

Oct 19, 2017 at 04:06 PM


avatar image

I'm building a consumption CDS view where I need to set multiple default values for a specific consumption filter:

The current default value works perfectly. My issue is that I need to include a few more values in there, and I can't figure out the correct syntax or method to do so.

For example, I need Movement Type to default to 601 and 901.

What's the correct way to do this?

All the best,


1.png (6.6 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

ERALPER YILMAZ Oct 25, 2017 at 03:30 PM

Hi Marcelo,

Do you want to have multiple single value for the select-option?

I could not see to define a set of values for



from vbak {

@Consumption.filter : { 
    selectionType : #SINGLE, 
    multipleSelections : true,
    defaultValue : '1653000003'
    vbeln,    //several single values are allowed    

Perhaps you have already checked, if not have a look at

But there is not an explicitly shown sample for your case

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thanks Eralper,

As you mention the link doesn't provide an example for multiple default values in a filter.

At this point, it doesn't matter if it's multiple single values or a range. As long as I can DEFAULT multiple values in the filter, I'd be able to satisfy my requirements.

Best regards,


Hendrik Pleis May 02 at 09:18 AM

Hi Marcelo,

i Currently have the same problem. Did you find a solution?

Best regards,


10 |10000 characters needed characters left characters exceeded