Skip to Content

CDS View - Consumption View multiple default values

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • 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

    Add comment
    10|10000 characters needed 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,


  • May 02, 2018 at 09:18 AM

    Hi Marcelo,

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

    Best regards,


    Add comment
    10|10000 characters needed characters exceeded