Skip to main content
Glama

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
NameRequiredDescriptionDefault
interface_nameYesInterface name (e.g., ZIF_TEST_INTERFACE_001). Must follow SAP naming conventions (start with Z or Y).
descriptionNoInterface description. If not provided, interface_name will be used.
package_nameYesPackage name (e.g., ZOK_LAB, $TMP for local objects)
transport_requestNoTransport request number (e.g., E19K905635). Required for transportable packages.
source_codeNoComplete ABAP interface source code with INTERFACE...ENDINTERFACE section. If not provided, generates minimal template.
activateNoActivate interface after creation. Default: true. Set to false for batch operations (activate multiple objects later).

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fr0ster/mcp-abap-adt'

If you have feedback or need assistance with the MCP directory API, please join our Discord server