SAP

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Create ABAPDoc Comments in Your Class in ABAP Environment

Learn how to maintain ABAPDoc documentation for your class in SAP Business Technology Platform (BTP), ABAP Environment so your comments appear in the Outline view.

Overview

You will learn

  • How to maintain ABAPDoc comments
  • How to synchronize comments so they appear in the Outline View
  • How to add an sorted list
  • How to create a link to other development object documentation within ADT
Julie Plummer J Julie Plummer August 21, 2026
Created on March 9, 2023
Contributors

More from Julie Plummer

See all 51 tutorials by Julie Plummer →

Prerequisites

Prerequisites

Steps

Intro

ABAPDoc comments are used to document your code. This makes it more readable. If other developers use one of your development objects, they can find out more about it by selecting the object name in the code and choosing Element Info ( F2 ).

All ABAPDoc comments begin with "!.

Always replace XXX with your initials or group number.


Step 1 Open ABAP class

First, open the ABAP class ZCL_AMDP_DEMO_XXX from the tutorial Create an AMDP and Analyze Its Performance

Image depicting step-1-open-class
Image depicting step-1-open-class

Step 2 Create ABAPDoc comment
+
Step 3 Add sorted list
+
Step 4 Add link
+
Step 5 Check comment
+
Step 6 Test yourself
+
Step 7 More Information
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 7
1. Open ABAP class 2. Create ABAPDoc comment 3. Add sorted list 4. Add link 5. Check comment 6. Test yourself 7. More Information