ImportClassFromFile
Import a local ABAP class (Z/Y prefix) from a file in the tmp folder and create it in the SAP system, optionally specifying package, description, activation, and pre-audit.
Instructions
Import an ABAP class from a file in the tmp folder and create it in the SAP system. Only supports local classes (Z/Y prefix) in local packages.
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": {
"class_name": "<class_name>"
},
"name": "ImportClassFromFile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | No | Optional package name (defaults to $TMP) | $TMP |
| class_name | Yes | Name of the ABAP class to import (must start with Z or Y) | |
| description | No | Optional description for the class (extracted from file if not provided) | |
| auto_activate | No | Optional: Automatically activate the class after import (default: false) | |
| preaudit_requested | No | Optional: Request pre-audit during activation (default: true) |