Skip to Content

Own templates to create CDS in ADT

Hi,

we would like to introduce some own annotations in our CDS's in ABAP. We want to include these in de proposed templates when creating a CDS.

Is there a way to adjust the existing templates so that they ara available to all users of the ADT? We are working with Neon.

Thanks for helping.

Kris

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Dec 23, 2016 at 11:21 AM

    Hi Kris,

    I assume that you want to add annotations which are provided by SAP (which are proposed in the ADT code completion). I mention this because creating/defining your own annotations is definitely not supported. Adding annotations not provided by SAP might cause problems in the future. Just think of name clashes.

    You can find information how to modify/create ABAP CDS templates in the ABAP CORE DATA SERVICES TOOLS FAQs ( http://www.sap.com/germany/documents/2016/06/361ddcf3-787c-0010-82c7-eda71af511fa.html ). General information about creating templates in ADT can be found here: https://blogs.sap.com/2013/05/24/creating-new-code-templates-with-abap-in-eclipse/ .

    Kind regards

    Chris

    Add comment
    10|10000 characters needed characters exceeded