CreateInterface
Create ABAP interfaces in SAP systems to define method signatures, events, and types for class implementation. Includes source code generation, package assignment, and activation options.
Instructions
Create a new ABAP interface in SAP system with source code. Interfaces define method signatures, events, and types for implementation by classes. Uses stateful session for proper lock management.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| interface_name | Yes | Interface name (e.g., ZIF_TEST_INTERFACE_001). Must follow SAP naming conventions (start with Z or Y). | |
| description | No | Interface description. If not provided, interface_name will be used. | |
| package_name | Yes | Package name (e.g., ZOK_LAB, $TMP for local objects) | |
| transport_request | No | Transport request number (e.g., E19K905635). Required for transportable packages. | |
| source_code | No | Complete ABAP interface source code with INTERFACE...ENDINTERFACE section. If not provided, generates minimal template. | |
| activate | No | Activate interface after creation. Default: true. Set to false for batch operations (activate multiple objects later). |