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 an ABAP Package

Create an ABAP package, which will enable you to structure your development objects.

Overview

🎓 beginner 10 min. ABAP DevelopmentBeginnerSAP Netweaver

You will learn

  • โœ”How to create an ABAP package, used to group all the subsequent development objects you create in this group of tutorials
  • โœ”How to create a transport request
  • โœ”How to add an ABAP package to your Favorite packages list in ABAP Development Tools (ADT)
Unknown U Unknown March 21, 2023
Created by March 9, 2023
Contributors

Prerequisites

Steps

##Prerequisites

Intro

Generally you create one project for each backend connection, and then, inside that project, one package for each self-contained development unit โ€“ containing all the relevant development objects. A set of packages delivered together form a software component.

Each package is then assigned to a transport layer.

For more information, see SAP Help Portal: ABAP Packages.

Transport layer: A package property that defines the transport behavior of a package โ€“ whether and how a package and all its development objects are transported.

To export (or import) ABAP development objects into/from another system, you transport them, by adding them to a transport request. In these tutorials, you simply bundle all your objects in one request. However, in the real world, you cannot change a running system. Therefore, you generally have at least 3 systems: Development, Consolidation, and Production. These 3 systems all form one transport layer, as shown in the following image:

Image depicting step0-one-transport-layer
Image depicting step0-one-transport-layer

In the AS ABAP developer edition, we offer only one layer, SAP. In a real-world system, you may want to transport objects to several different production systems - for example, to transport some of the same objects to both a Financials system and an HCM system. To do this, you create two or more transport layers, as shown in the following image:

Image depicting step0b-two-transport-layers
Image depicting step0b-two-transport-layers

Software component: Defines a delivery and product unit of a SAP software product. It comprises a set of packages that are delivered in a single unit.

For more information, see


Step 1 Select project
โ€”

Select the ABAP Cloud Project you created previously, then choose New > ABAP Package:

Image depicting step1-new-package
Image depicting step1-new-package

Step 2 Create package
+
Step 3 Add to favorite packages
+
Step 4 Test yourself
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 4
1. Select project 2. Create package 3. Add to favorite packages 4. Test yourself

Learn more →