
A main package is primarily a container for repository objects that belong together, in that they share the same system, transport layer, and customer delivery status. However, a main package cannot contain any further repository objects except of its package interfaces and subpackages. Subpackages can be additional main packages and regular development packages.
You are already authorized to create main packages if you have authorization to create or change structure packages.
You can add (main) packages to a superpackage in two ways. You can
Or
To create a new subpackage to the given superpackage:
Open the Object Navigator (SE80), choose the Repository Browser and Package as repository type.
In the input field, enter a name of the direct superpackage.
Right-click on the superpackage name in the object list and choose Create → Development Coordination → Package.
The system displays the Create Package dialog box.
Specify the following package properties:
Package
Enter the name for the new package that complies with the Naming Conventions for packages. Within SAP itself, the name must begin with a letter from A to S, or from U to X.
Short Description
Enter a meaningful short text.
Application Component
From the component hierarchy of the SAP system, choose the abbreviation for the application component to which you want to assign the new package.
Software Component
Select an entry. The software component describes a set of development objects that can only be delivered in a single unit. You should assign all the subpackages of the main package to this software component.Exception: Subpackages that will not be delivered to customers must be assigned to the HOME software component.
Transport Layer
This property determines the transport behaviour of the package - that is, whether the package and its elements are transported.
This property is only available if you have the corresponding CTS authorization for the system (see Prerequisites).
Main Package
This checkbox appears only if you have the appropriate authorization (see Prerequisites).
To indicate that the package is a main package, check this box.
Choose
(Continue).
In the dialog box that appears, assign a transport request.
The Package Builder displays the Properties of the new package.
To add an existing package to a superpackage:
Open the Properties page of the superpackage and choose the Add button from within the
Subpackages tab and then enter the name of the package.
You have created your main package and can now define a structure within it. Generally, you will continue by adding subpackages to the main package. Each main package can contain either further main packages or development packages.