Skip to Content

How to use Range in ABAP CDS with parameters?

Hello Abap developers,

I only managed to transfer "parameter" from the selection-screen(abap program) into the ABAP-CDS view and use it in "where" condition:

Is there a way to move a range(Selection-Option) and use it with "where" condition in the ABAP-CDS view with parameters?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Feb 05 at 04:23 PM

    Is such a way documented? No. So the answer is apparently no.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 03 at 10:15 AM

    There recently was a blog on that topic, maybe it's helpful:

    https://blogs.sap.com/2018/03/21/select-options-in-cds-using-table-function/

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 07 at 02:05 PM

    You don't need to 'transfer' your select-options or range into your CDS. You can still use them when you:

    select from ..your_cds.. where ...

    in your ABAP report.

    And so you also don't need to use those parameters.

    Add comment
    10|10000 characters needed characters exceeded