CreatePackage
Creates a new ABAP package (DEVC) under a super package, defining its type, software component, transport layer and description so it can hold development objects.
Instructions
Creates a new ABAP package (DEVC) under a super package, with its type, software component, transport layer and description.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"package_name": "<package_name>"
},
"name": "CreatePackage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | How much of the answer to return: "terse" (default) what a next call needs: the identifiers and a short description; "medium" every item the tool read, with its main properties; "full" the tool's whole answer; "raw" what SAP sent. | terse |
| description | No | Package description. If not provided, package_name will be used. | |
| package_name | Yes | Package name. | |
| package_type | No | Package type: 'development' (default) or 'structure' | development |
| super_package | No | Optional: the package this package belongs to, which must exist (SAP creates the package with no super package when the named one is missing). Without one the package is top level, which SAP allows for a structure package or a package in software component LOCAL ($ or TEST names, no transport layer); in an ABAP Cloud software component the top level is a structure package (SAP answers TR 462 to any other). | |
| record_changes | No | Enable change recording for the package. Required for transportable packages. Default: false. | |
| master_language | No | Original language of the created object (e.g. EN, DE). Absent, the session language (SAP_LANGUAGE or x-sap-language) is used; with none, SAP's logon language applies. | |
| transport_layer | No | Transport layer. Required for transportable packages. | |
| transport_request | No | Transport request number, not a task. Required if the package is transportable. | |
| software_component | No | Software component. If not provided, SAP will set a default. | |
| application_component | No | Application component (optional, e.g., BC-ABA) |