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

Related questions

1 Answer

  • Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.