---
parser: v2
auto_validation: true
primary_tag: programming-tool>abap-development
tags: [  tutorial>beginner, software-product>sap-netweaver ]
time: 10
slug: abap-dev-create-package
canonical_url: https://developers.sap.com/tutorials/abap-dev-create-package
---
# Create an ABAP Package
<!-- description --> Create an ABAP package, which will enable you to structure your development objects.

##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)
- **Tutorial**: [Create an ABAP Project in ABAP Development Tools (ADT)](abap-create-project)

## 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)

## 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](https://help.sap.com/viewer/c238d694b825421f940829321ffa326a/7.5.10/en-US/4ec14bab6e391014adc9fffe4e204223.html).

**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](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-dev-create-package/step0-one-transport-layer.png)

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](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-dev-create-package/step0b-two-transport-layers.png)

**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
- [SAP Library: Transport Layer](https://help.sap.com/viewer/c238d694b825421f940829321ffa326a/7.5.10/en-US/4ec218e26e391014adc9fffe4e204223.html)
- [SAP Library: Software Component](https://help.sap.com/viewer/c238d694b825421f940829321ffa326a/7.5.10/en-US/4ec1e23b6e391014adc9fffe4e204223.html)

---

### Select project


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

![Image depicting step1-new-package](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-dev-create-package/step1-new-package.png)


### Create package


1. Enter the following and choose **Next**:
    - Name = **`Zxx_TUTORIALS`**, where **`xx`** = your initials
    - Description = **Table tutorial**
    - Package type = **Development**

    ![Image depicting step2-define-package](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-dev-create-package/step2-define-package.png)

2. Choose a **Software Component**, by placing the cursor in the field and choosing **Autocomplete (Ctrl+Space)**, then choose **HOME** (default for customer developments) or **LOCAL** (for tests):

      ![Image depicting step2b-sw-component](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-dev-create-package/step2b-sw-component.png)

3. Choose the following, then choose Next:
    - Application Component (optional) = `CA` (Cross-Application)
    - Transport layer = SAP (for SAP Standard Objects, default for application programming).
      (Note: In a real SAP System, you would have many options, but in this developer edition, we have reduced the options for size and simplicity's sake.)

      ![Image depicting step2c-appl-comp-etc](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-dev-create-package/step2c-appl-comp-etc.png)

4. Accept the default proposal for the transport request if one exists and choose **Enter**. Otherwise, choose a new request, enter a description, such as "Table tutorial", then choose Finish:

      ![Image depicting step2d-transport-request](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-dev-create-package/step2d-transport-request.png)


### Add to favorite packages

(Optional, but recommended): Finally, add this new packages to your **Favorite packages**:

1. In your project, select (right-click on)  **Favorite packages**, then choose  **Add a package…**:

    ![Image depicting step4-add-fave-package](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-dev-create-package/step4-add-fave-package.png)

2. Enter the first three characters of your package -- **`Zxx`**, where **`xx`** = your initials. Then choose the package, then choose **OK**.

    ![Image depicting step4b-choose-package](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-dev-create-package/step4b-choose-package.png)

The package is added to the list.

And that's it. You can now group development objects that belong together in one package.


### Test yourself




---
