SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Create ABAPDoc Comments in Your Class (On-Premise)

Learn how to maintain ABAPDoc documentation for your class so your comments appear in the Outline view.

Overview

🎓 beginner 5 min. ABAP DevelopmentBeginnerSAP Netweaver

You will learn

  • โœ”How to make your program more readable by learning how to maintain ABAPDoc comments.
  • โœ”How to synchronize the documentation and to display it, both in the ABAP Development Tools (ADT) and in SAP GUI.
Unknown U Unknown March 21, 2023
Created by March 21, 2023
Contributors

Prerequisites

Prerequisites

  • You have a valid instance of an on-premise AS ABAP server, version 7.51 or higher (some ABAP Development Tools may not be available in earlier versions)
  • You have installed ABAP Development Tools, latest version

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 or 001 with your initials or group number.

Time to Complete

10 Min


Step 1 Open your ABAP class
โ€”

First, open your ABAP class.

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

Step 2 Add an ABAPDoc comment
+
Step 3 Add parameters to ABAPDoc
+
Step 4 Synchronize short texts
+
Step 5 Save and activate
+
Step 6 Link with Editor
+
Step 7 View the ABAPDoc comments in SAP GUI
+
Step 8 Display element info
+
Step 9 Test yourself
+
Step 10 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 10
1. Open your ABAP class 2. Add an ABAPDoc comment 3. Add parameters to ABAPDoc 4. Synchronize short texts 5. Save and activate 6. Link with Editor 7. View the ABAPDoc comments in SAP GUI 8. Display element info 9. Test yourself 10. More Information

Learn more →