ExportClassToFile
Export an ABAP class from an SAP system to files in the tmp folder, optionally including definitions, implementations, macros, and test classes.
Instructions
Export an ABAP class from the system directly to file(s) in the tmp folder. Optionally export all includes (definitions, implementations, macros, testclasses). Automatically creates the tmp folder if it does not exist.
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": "ExportClassToFile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| class_name | Yes | Name of the ABAP class to export | |
| single_file | No | Optional: Combine all includes into single file (default: false - separate files per include) | |
| include_types | No | Optional: Include types to export. Default: ['main']. Use 'all' for all available includes. |