---
title: How to Create an ABAP Object in VS Code
description: In this blog post, we’ll teach you how to create an ABAP object in the VS Code system.
image: https://blog.sap-press.com/hubfs/How%20to%20Create%20an%20ABAP%20Object%20in%20VS%20Code.png
---

[![rheinwerk-sappress-logo-header-1](https://blog.sap-press.com/hubfs/rheinwerk-sappress-logo-header-1.svg)](https://blog.sap-press.com/) [Blog](https://blog.sap-press.com)

- Books 
    - Get an overview of our books and courses on every relevant SAP topic. 
          - [Programming](https://sap-press.com/programming/)
          - [Administration](https://sap-press.com/administration/)
          - [BI](https://sap-press.com/business-intelligence/)
          - [Finance](https://sap-press.com/finance-controlling/)
          - [Logistics](https://sap-press.com/logistics/)
          - [HR](https://sap-press.com/human-resources/)
          - [CRM & Sales](https://sap-press.com/marketing-sales/)
          - [HANA](https://sap-press.com/hana/)
          - [Introductions](https://sap-press.com/introductions/)
          - [E-Bites](https://sap-press.com/e-bites/)
          - [Certification Guides](https://www.sap-press.com/certification-guides/)
          - [Rheinwerk Courses](https://www.sap-press.com/online-courses/)
- Book Subscription 
    - Get unlimited access to all SAP PRESS books! 
          - [SAP PRESS Subscription](https://sap-press.com/subscriptions/)

[Programming](https://blog.sap-press.com/tag/programming)

# How to Create an ABAP Object in VS Code

![SAP PRESS](https://blog.sap-press.com/hubfs/Twitter_profile_pic.svg)  by [SAP PRESS](https://blog.sap-press.com/author/sap-press)

The ABAP system is mounted to VS Code as a file system, which introduces certain challenges to the development workflow.

 

In this blog post, we’ll teach you how to create an [ABAP](https://learning.sap-press.com/abap)object in the [VS Code](https://blog.sap-press.com/how-does-vs-code-compare-to-traditional-sap-development-environments) system.

 

## Supported Object Types

When running the Abap Fs Create object command, you’re presented with a list of supported object types, which includes the following common objects:

- Authorization fields and objects
- CDS metadata, data, and annotation definitions
- Classes
- Data elements
- Function modules
- Packages
- Tables

For the purposes of this post, we’ll create a class. Run the Abap Fs Create object command and then select Class from the menu. Now, enter a name (in our example, zcl\_ leon\_class) and description and assign a local package but no transport. Once the class is created, it will be opened in VS Code, as shown below.

 

![New ABAP Class](https://blog.sap-press.com/hs-fs/hubfs/2336_04_011.png?width=812&height=568&name=2336_04_011.png)

 

For creating any objects in the ABAP system, the **Command Palette** is quite easy to follow and provides the context for any required prompts to create your object.

 

## Activating Changes

To see your changes at runtime, you must activate the object. Activating the object will run a syntax check and updates the runtime version of the object. This step will also generate a version in the object history. To activate an object, click the **Activation** icon (the magic wand icon), in the top-right corner of the **Editor**, as shown in the figure above.

## Navigating Objects

The easiest way to navigate the ABAP system for objects is using Abap Fs Search for Object, which allows you to perform a fuzzy search in the **Command Palette** and suggests matching results as you type, as shown here.

 

![Fuzzy Object Search](https://blog.sap-press.com/hs-fs/hubfs/2336_04_012.png?width=705&height=550&name=2336_04_012.png)

 

Finally, note that the whole ABAP system exists in the side bar so you can browse through packages quite quickly.

 

Another method is using the Abap Fs Add Favourite command to add objects and folders to your favorites (also available via the right-click context menu). Favorites are displayed in the **File Explorer**, under the **Favorites** heading, as shown in this final figure.

![Favorite ABAP Objects](https://blog.sap-press.com/hs-fs/hubfs/2336_04_013.png?width=701&height=401&name=2336_04_013.png)

 

## Learn ABAP with Rheinwerk Courses!

Ready to level up your ABAP skills? Explore the full range of our ABAP-focused online courses, from foundational programming to advanced RAP, CDS, AMDP, unit testing, and more. Each one is instructor-led (live and on-demand), includes recordings and slide decks, and is designed to give you practical take-away skills you can apply right away in your SAP landscape. Click on the banner below to get started!

 

[![ABAP Courses](https://blog.sap-press.com/hs-fs/hubfs/blog_courses_abap_series.png?width=597&height=199&name=blog_courses_abap_series.png)](https://www.sap-press.com/online-courses/topics/on-demand-courses/)

 

Editor’s note: This post has been adapted from a section of the book *[Visual Studio Code for SAP](https://www.sap-press.com/visual-studio-code-for-sap_5605/?utm_source=sappressblog&utm_medium=referral&utm_campaign=Blogs&utm_term=2336_chapter4&utm_content=2336)* by Leon Hassan.

## Recommendation

[![Visual Studio Code for SAP](https://blog.sap-press.com/hs-fs/hubfs/social-suggested-images/2336-Jun-14-2023-12-09-51-0879-PM.jpg?width=170&name=2336-Jun-14-2023-12-09-51-0879-PM.jpg)](https://www.sap-press.com/visual-studio-code-for-sap_5605/?utm_source=sappressblog&utm_medium=referral&utm_campaign=Blogs&utm_term=2336_chapter4&utm_content=2336)

**Visual Studio Code for SAP**

Start programming your SAP applications in Visual Studio Code! This hands-on guide begins with an overview of how VS Code works and how it connects to your SAP systems. Then learn how to manage version control by integrating VS Code with Git. Follow step-by-step instructions to develop SAPUI5 web components, build applications with ABAP, create SAP Fiori apps using SAP Fiori elements, and work with the SAP Cloud Application Programming Model. Get everything you need to master this IDE!

[Learn More](https://www.sap-press.com/visual-studio-code-for-sap_5605/?utm_source=sappressblog&utm_medium=referral&utm_campaign=Blogs&utm_term=2336_chapter4&utm_content=2336)

![SAP PRESS](https://blog.sap-press.com/hubfs/Twitter_profile_pic.svg)

**by [SAP PRESS](https://blog.sap-press.com/author/sap-press)**

SAP PRESS is the world's leading SAP publisher, with books on ABAP, SAP S/4HANA, SAP IBP, intelligent technologies, SAP Business Technology Platform, and more!

[Programming](https://blog.sap-press.com/tag/programming)

[![Share on facebook](https://7528309.fs1.hubspotusercontent-na1.net/hub/7528309/hubfs/raw_assets/public/mV0_d-web-default-modules_hubspot/img/facebook-color.png?width=24&name=facebook-color.png)](https://www.facebook.com/share.php?u=https%3A%2F%2Fblog.sap-press.com%2Fhow-to-create-an-abap-object-in-vs-code%3Futm_medium%3Dsocial%26utm_source%3Dfacebook) [![Share on linkedin](https://7528302.fs1.hubspotusercontent-na1.net/hub/7528302/hubfs/raw_assets/public/mV0_d-web-default-modules_hubspot/img/linkedin-color.png?width=24&name=linkedin-color.png)](https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fblog.sap-press.com%2Fhow-to-create-an-abap-object-in-vs-code%3Futm_medium%3Dsocial%26utm_source%3Dlinkedin) [![Share on twitter](https://7528304.fs1.hubspotusercontent-na1.net/hub/7528304/hubfs/raw_assets/public/mV0_d-web-default-modules_hubspot/img/twitter-color.png?width=24&name=twitter-color.png)](https://twitter.com/intent/tweet?original_referer=https%3A%2F%2Fblog.sap-press.com%2Fhow-to-create-an-abap-object-in-vs-code%3Futm_medium%3Dsocial%26utm_source%3Dtwitter&url=https%3A%2F%2Fblog.sap-press.com%2Fhow-to-create-an-abap-object-in-vs-code%3Futm_medium%3Dsocial%26utm_source%3Dtwitter&source=tweetbutton&text=) [![Share on email](https://7528311.fs1.hubspotusercontent-na1.net/hub/7528311/hubfs/raw_assets/public/mV0_d-web-default-modules_hubspot/img/email-color.png?width=24&name=email-color.png)](mailto:?subject=Check+out+https%3A%2F%2Fblog.sap-press.com%2Fhow-to-create-an-abap-object-in-vs-code%3Futm_medium%3Dsocial%26utm_source%3Demail&body=Check+out+https%3A%2F%2Fblog.sap-press.com%2Fhow-to-create-an-abap-object-in-vs-code%3Futm_medium%3Dsocial%26utm_source%3Demail)

### Comments

### Latest Blog Posts

[![How to Build an SAP Cloud Application Programming Model Application](https://blog.sap-press.com/hs-fs/hubfs/How%20to%20Build%20an%20SAP%20Cloud%20Application%20Programming%20Model%20Application.png?height=600&name=How%20to%20Build%20an%20SAP%20Cloud%20Application%20Programming%20Model%20Application.png)](https://blog.sap-press.com/how-to-build-an-sap-cloud-application-programming-model-application)

[Programming](https://blog.sap-press.com/tag/programming)

## [How to Build an SAP Cloud Application Programming Model Application](https://blog.sap-press.com/how-to-build-an-sap-cloud-application-programming-model-application)

[Read More](https://blog.sap-press.com/how-to-build-an-sap-cloud-application-programming-model-application)

[![How Does VS Code Compare to Traditional SAP Development Environments?](https://blog.sap-press.com/hs-fs/hubfs/How%20Does%20VS%20Code%20Compare%20to%20Traditional%20SAP%20Development%20Environments.png?height=600&name=How%20Does%20VS%20Code%20Compare%20to%20Traditional%20SAP%20Development%20Environments.png)](https://blog.sap-press.com/how-does-vs-code-compare-to-traditional-sap-development-environments)

[Programming](https://blog.sap-press.com/tag/programming)

## [How Does VS Code Compare to Traditional SAP Development Environments?](https://blog.sap-press.com/how-does-vs-code-compare-to-traditional-sap-development-environments)

[Read More](https://blog.sap-press.com/how-does-vs-code-compare-to-traditional-sap-development-environments)

**Subscribe to our blog!**Get notified about future blog updates.

- <https://www.facebook.com/sappress>
- <https://twitter.com/sappress>
- <https://linkedin.com/company/sap-press>
- <https://www.instagram.com/sap_press/>
- <https://blog.sap-press.com/rss.xml>

### The official SAP PRESS Blog

As the world’s leading SAP publisher, SAP PRESS’ goal is to create resources that will help you accelerate your SAP journey. The SAP PRESS Blog is designed to provide helpful, actionable information on a variety of SAP topics, from SAP ERP to SAP S/4HANA. Explore ABAP, FICO, SAP HANA, and more!

### SAP Blog Topics

- [All Topics](https://blog.sap-press.com)
- [Logistics](https://blog.sap-press.com/tag/logistics)
- [Programming](https://blog.sap-press.com/tag/programming)
- [FICO](https://blog.sap-press.com/tag/fico)
- [Administration](https://blog.sap-press.com/tag/administration)
- [Business Intelligence](https://blog.sap-press.com/tag/business-intelligence)
- [What Is?](https://blog.sap-press.com/tag/what-is)
- [Featured](https://blog.sap-press.com/tag/featured)
- [CRM & Sales](https://blog.sap-press.com/tag/crm-sales)
- [Video](https://blog.sap-press.com/tag/video)
- [Human Resources](https://blog.sap-press.com/tag/human-resources)

### Blog curated by

[![Rheinwerk Publishing & SAP PRESS Logo](https://blog.sap-press.com/hubfs/rheinwerk-sappress-logo-header-1.svg)](https://sap-press.com) [Visit the SAP PRESS Store](https://sap-press.com)

### About

- [Home](https://sap-press.com/)
- [About Us](https://sap-press.com/the-publisher/)
- [Contact](mailto:info@rheinwerk-publishing.com)
- [Legal Notes](https://sap-press.com/legal-notes/)
- [Privacy Policy](https://sap-press.com/privacy/)
- [Terms of Use](https://sap-press.com/terms/)
- [Guest Posting](https://blog.sap-press.com/guest-posting)

© 2026 Rheinwerk Publishing, Inc. | Change Privacy Options

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "SAP PRESS",
    "url" : "https://blog.sap-press.com/author/sap-press"
  },
  "dateModified" : "2026-03-12T13:45:14.151Z",
  "datePublished" : "2023-10-11T13:00:00.000Z",
  "headline" : "How to Create an ABAP Object in VS Code",
  "image" : [ "https://blog.sap-press.com/hubfs/How%20to%20Create%20an%20ABAP%20Object%20in%20VS%20Code.png" ],
  "mainEntityOfPage" : {
    "@id" : "https://blog.sap-press.com/how-to-create-an-abap-object-in-vs-code",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://blog.sap-press.com/hubfs/Logo-1.jpg"
    },
    "name" : "Rheinwerk Publishing, Inc."
  }
}
```