Skip to Content

Current date in ABAP CDS view

Hi,

Do we have any system field or annotations to get the current date/time?

Requirement: Parameter should come as default with current system date.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jul 21, 2017 at 11:29 AM

    You can extract the date from a timestamp received from built-in CDS function TSTMP_CURRENT_UTCTIMESTAMP().

    Refer the blog -

    https://archive.sap.com/discussions/thread/3771755

    Regards,

    Remya

    Add comment
    10|10000 characters needed characters exceeded