sap-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HOST | Yes | SAP host for the default profile | |
| PASS | Yes | SAP password | |
| USER | Yes | SAP username | |
| CLIENT | Yes | SAP client for the default profile |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_serversB | List all available SAP server profiles and show which one is currently active |
| switch_serverB | Switch the active SAP server profile by name |
| search_programsB | Search ABAP programs in SAP S/4HANA by name pattern (use * as wildcard) |
| get_program_sourceC | Read the ABAP source code of a program from SAP S/4HANA |
| get_class_sourceB | Read the ABAP source code of a class's main include (definition + implementation) from SAP S/4HANA |
| get_cds_sourceB | Read the DDL source of a CDS view from SAP S/4HANA |
| get_outlineA | Get the structural outline of an ABAP object — lists its components such as includes, FORM routines, local class definitions, selection screens, and events without reading the full source. Essential for navigating large standard SAP programs before deciding which includes to fetch. Pass the object's ADT URI without '/source/main', e.g. /sap/bc/adt/programs/programs/myprog or /sap/bc/adt/oo/classes/zcl_myclass. |
| list_package_objectsC | List all repository objects inside an SAP package (programs, classes, CDS views, tables, structures, data elements, domains, function groups, and everything else in it) |
| get_object_infoB | Get metadata/details about an ABAP object (program, function group, class, etc.) |
| get_table_infoA | Get structure and field definitions of a SAP DDIC table or structure (e.g. EKKO, MARA, BSEG). Works for both transparent tables (TABL/TRANSP) and structures (TABL/DS) - falls back automatically. |
| query_tableC | Run a SQL SELECT query against SAP tables and return results as a formatted table |
| insert_table_recordA | Insert one record into a customer Z*/Y* table through ABAP Open SQL. Requires confirm:true and a writable SAP profile. |
| update_table_recordA | Update exactly one record in a customer Z*/Y* table using keyFields as the WHERE condition. Requires confirm:true and a writable SAP profile. |
| create_classA | Create a new ABAP class in SAP and activate it. Refuses to run on production profiles. Needs the full source (CLASS...DEFINITION...ENDCLASS. CLASS...IMPLEMENTATION...ENDCLASS.) and a transport request when the package is transportable. |
| create_programA | Create a new classic ABAP program (executable report, type PROG/P) in SAP and activate it. Refuses to run on production profiles. Needs the full report source (REPORT ... / logic) and a transport request when the package is transportable (omit for $TMP local programs). |
| create_includeA | Create a new classic ABAP INCLUDE program (type PROG/I) in SAP and activate it - a SEPARATE ADT collection from create_program's executable reports (PROG/P), verified against the open-source abap-adt-api client rather than guessed: /sap/bc/adt/programs/includes, not /programs/programs. Refuses to run on production profiles. No INCLUDE statement is added to any main program here - do that separately with patch_program_source on the program that should include it. |
| create_cdsA | Create a new CDS view (Data Definition / DDLS) in SAP and activate it. Refuses to run on production profiles. Provide the complete CDS source (e.g. 'define view entity as select from ... { ... }'); the entity name in the source must match cdsName. Needs a transport unless package is $TMP. |
| create_srvdA | Create a new Service Definition (SRVD) in SAP and activate it. Refuses to run on production profiles. Provide the complete source (e.g. 'define service { expose ; }'); the service name must match srvdName. Needs a transport unless package is $TMP. |
| create_bdefA | Create a new Behavior Definition (BDEF) in SAP and activate it. Refuses to run on production profiles. bdefName must equal the root entity the behavior is for, and that entity must already exist. Provide the complete source (e.g. 'managed implementation in class unique; define behavior for ... { ... }'). A managed BDEF needs its persistent table + implementation class to exist for activation to succeed. Needs a transport unless package is $TMP. |
| create_dclA | Create a new Access Control / DCL source (DCLS) for a CDS view and activate it. Refuses to run on production profiles. Provide the complete DCL source, e.g. "define role { grant select on where () = aspect pfcg_auth(, , ACTVT = '03'); }" - the role name must match dclName. Needs a transport unless package is $TMP. |
| update_dclA | Overwrite the source of an EXISTING Access Control / DCL source. REPLACES the whole definition - read it first and send the complete result back. Refuses to run on production profiles. Prefer patch_dcl for small edits. |
| patch_dclA | Modify PART of an existing Access Control / DCL source (e.g. change one condition). Replaces oldString with newString (must match EXACTLY ONCE). Refuses to run on production profiles. |
| create_tableA | Create a new DDIC transparent table (TABL) in SAP and activate it. Refuses to run on production profiles. Provide the complete DDL source (define table { ... }) INCLUDING the standard annotations (@AbapCatalog.tableCategory : #TRANSPARENT, @AbapCatalog.deliveryClass, @AbapCatalog.dataMaintenance), else the source is rejected. The table name in the source must match tableName. Needs a transport unless package is $TMP. |
| create_srvbA | Create a Service Binding (SRVB) that exposes a service definition as an OData service, then activate and publish it. Refuses to run on production profiles. The service definition must already exist and be active. Publishing may require a transport on clients set to auto-record; if it can't publish, the binding is still created and active. |
| create_structureA | Create a new DDIC structure (TABL/DS) from DDL source and optionally activate it. Refuses to run on production profiles. Source looks like: define structure zst_foo { field : abap.char(10); } |
| update_structureA | Overwrite the DDL source of an EXISTING DDIC structure. REPLACES the whole definition - read it first and send the complete result back. Refuses to run on production profiles. Prefer patch_structure for small edits. |
| patch_structureA | Modify PART of an existing DDIC structure's DDL (e.g. add one field). Replaces oldString with newString (must match EXACTLY ONCE). Refuses to run on production profiles. |
| create_interfaceA | Create a new ABAP interface and optionally activate it. Refuses to run on production profiles. Needs the full source (INTERFACE PUBLIC. ... ENDINTERFACE.). |
| update_interfaceA | Overwrite the source of an EXISTING ABAP interface. REPLACES the whole interface - read it first and send the complete result back. Refuses to run on production profiles. Prefer patch_interface for small edits. |
| patch_interfaceA | Modify PART of an existing ABAP interface (e.g. add one method signature). Replaces oldString with newString (must match EXACTLY ONCE). Refuses to run on production profiles. |
| get_ddlx_sourceA | Read the source of an existing CDS metadata extension (DDLX) from SAP. Use this before update_ddlx or patch_ddlx to see what is already there. Read-only, safe on any profile. |
| create_ddlxC | Create a new CDS metadata extension (DDLX) - the object that carries UI annotations for a CDS view, which a Fiori Elements app needs. Refuses to run on production profiles. Source looks like: @Metadata.layer: #CORE annotate view ZI_FOO with { @UI.lineItem: [{position: 10}] field; } |
| update_ddlxA | Overwrite the source of an EXISTING CDS metadata extension (DDLX). REPLACES the whole source. Refuses to run on production profiles. Prefer patch_ddlx for small edits. |
| patch_ddlxA | Modify PART of an existing CDS metadata extension (e.g. add one @UI annotation). Replaces oldString with newString (must match EXACTLY ONCE). Refuses to run on production profiles. |
| create_domainB | Create a new DDIC domain (DOMA/DD) and optionally activate it. A domain defines the technical type (datatype/length/decimals) and optional fixed values. Refuses to run on production profiles. |
| create_data_elementA | Create a new DDIC data element (DTEL/DE) and optionally activate it. Either point it at a domain (typeKind='domain', typeName=) or give a built-in type (typeKind='predefinedAbapType' with dataType/length). Field labels are what users see on screens. Refuses to run on production profiles. |
| create_table_typeA | Create a new DDIC table type (TTYP/DA) - the ABAP type for an internal table - and optionally activate it. Point it at a dictionary type (structure/data element/table) with rowTypeKind='dictionaryType' and rowTypeName, or at a built-in type with rowTypeKind='predefinedAbapType' plus dataType/length. Refuses to run on production profiles. |
| patch_table_typeA | Modify PART of an existing DDIC table type's XML definition (e.g. change accessType, keyKind, or the row type). Replaces oldString with newString (must match EXACTLY ONCE) in the object's raw XML - read it first with get_object_info to see the exact text to target. Refuses to run on production profiles. |
| create_message_classA | Create a new empty Message Class (MSAG) and optionally activate it. A message class is a named container for numbered messages (T100 texts) used by MESSAGE/RAISE statements and RAP failed/reported responses. Creates the empty class only - add messages afterwards with patch_message_class. Refuses to run on production profiles. |
| patch_message_classA | Add or update ONE numbered message (T100 text) in an existing Message Class, then optionally activate. Writes directly to that message's own sub-resource - confirmed against the ADT discovery document (/sap/bc/adt/messageclass/{name}/messages/{msgno}), the same endpoint the atom:link on a GET of the class points to for each message. PUT is an upsert: works whether the number already exists or not. Use &1 &2 &3 &4 in text as placeholders for MESSAGE ... WITH values. Refuses to run on production profiles. |
| list_transportsA | List transport requests for a user (default: the profile's own user). Read-only and safe on any profile. Use it to find an open request number to pass as |
| get_transport_detailsA | Inspect ONE transport request: its description/owner/status, its tasks (with their own owners/status), and every ABAP object registered under it. Use this to see what a transport actually contains before releasing it, or to check who owns which task. Read-only and safe on any profile. |
| check_transport_lockA | Check whether an object is ALREADY locked/registered in some other open transport request - the thing that causes 'object is locked in request X' conflicts. Also lists which of your own open requests the object could be assigned to. This is a dry-run check (verified against the ADT 'transportchecks' endpoint abap-adt-api uses) - it changes nothing. Read-only and safe on any profile. |
| create_transportA | Create a NEW transport request (a workbench request, CTS type K) for a package - the write counterpart to list_transports/get_transport_details. Use this when list_transports found no suitable open request and an object needs a request number before it can be created/updated. Refuses to run on production/read-only profiles. Returns the new request number, ready to pass as |
| release_transportA | Release a transport request (or task) - the write counterpart to get_transport_details. Runs SAP's standard release checks and moves it from modifiable to released, so it can be imported into the next system. Refuses to run on production/read-only profiles. Use get_transport_details first to see what's actually registered under it before releasing. |
| syntax_checkA | Run the ABAP syntax/consistency check (the same check ADT runs) on an existing object WITHOUT activating it. Read-only and safe on any profile, including production. Use this after writing source and BEFORE activate_object - it reports errors and warnings so you can fix them first. To check source you have just written but not yet activated, pass version="inactive". |
| where_usedA | Find where an object is used (the ADT 'where-used list'). Read-only and safe on any profile. Use it before changing or deleting something to see what depends on it. Results can be huge, so they are capped - the total count is always reported. |
| run_atcA | Run an ATC (ABAP Test Cockpit) static-analysis check on an object and report the findings. Read-only and safe on any profile. Use it before releasing a transport, or after building something, to catch the issues your team's ATC variant enforces. Slower than syntax_check - use syntax_check for quick error checking. |
| activate_objectA | Activate one or more existing ABAP objects and report the raw activation result. Pass a single object (objectUri + objectName), or several at once via |
| update_program_sourceA | Overwrite the source of an EXISTING ABAP program or include (report, include, module pool). Resolves program-vs-include automatically, then locks, PUTs the source, optionally activates, and unlocks. Refuses to run on production profiles. IMPORTANT: this replaces the WHOLE object - always read it first with get_program_source, edit that text, and send the complete result back. |
| patch_program_sourceA | Modify PART of an existing ABAP program or include without resending the whole object. Reads the current source, replaces oldString with newString (must match EXACTLY ONCE), then locks, PUTs, optionally activates, and unlocks. Prefer this over update_program_source for edits - it removes any risk of corrupting the object by re-transmitting untouched code. Refuses to run on production profiles. |
| get_text_elementsA | Read the raw TEXT SYMBOLS (TEXT-xxx) text-pool content for an existing ABAP program, class, or function group - the read-only counterpart to patch_text_elements (which can only write, not read). Returns the exact raw content ADT returns (line-based id=text pairs, with an @MaxLength:n marker where set) - useful for seeing precisely what's stored when debugging a mismatch, rather than guessing from patch_text_elements' own merge log. Read-only, safe on any profile including production. |
| patch_text_elementsA | Add or update TEXT SYMBOLS (TEXT-xxx) for an existing ABAP program, class, or function group. This is a SEPARATE ADT object from the source code - update_program_source/update_class etc. cannot touch it. Reads the current text symbols, merges in the given ones (matched by 3-character id, case-insensitive; an existing id is overwritten, a new one is added), then writes the merged result back. Existing symbols not mentioned are left untouched. No activation needed - text elements take effect immediately once saved. Refuses to run on production profiles. |
| get_selection_textsA | Read the raw SELECTION TEXTS (the labels shown next to PARAMETERS and SELECT-OPTIONS on the selection screen) for an existing ABAP program or function group. This is a separate ADT sub-resource from text symbols (get_text_elements) - the two must be written independently. Returns line-based NAME=Label pairs as ADT stores them. Read-only, safe on any profile including production. |
| patch_selection_textsA | Add or update SELECTION TEXTS (the labels shown next to PARAMETERS / SELECT-OPTIONS on the selection screen) for an existing ABAP program or function group. This is a SEPARATE ADT sub-resource from text symbols (patch_text_elements) - the two cannot be written in one call. Reads the current selection texts, merges in the given ones (matched by parameter/select-option name, case-insensitive; existing entry is overwritten, new one is added), then writes the merged result back. Existing entries not mentioned are left untouched. No activation needed - selection texts take effect immediately once saved. Refuses to run on production profiles. |
| update_tableA | Overwrite the source (field definitions) of an EXISTING DDIC database table. Locks, PUTs the whole new DDL source, unlocks, then optionally activates. Refuses to run on production profiles. IMPORTANT: this REPLACES the whole table definition - read it first, edit that text, and send the complete result back. Activating a structure change triggers a DATABASE CONVERSION when the table holds data, so activate defaults to false; review and activate in SE11. Prefer patch_table for small edits. |
| patch_tableA | Modify PART of an existing DDIC database table's DDL without resending the whole definition. Reads the current source, replaces oldString with newString (must match EXACTLY ONCE), then locks, PUTs, unlocks, and optionally activates. Prefer this over update_table for small edits like adding a field. Refuses to run on production profiles. Activating a structure change may convert the DB, so activate defaults to false. |
| get_function_module_sourceA | Read the source of an existing ABAP function module. Use this before update_function_module or patch_function_module to see what is already there. Pass the function group WITHOUT the SAPL prefix (e.g. ZFOO, not SAPLZFOO). Read-only, safe on any profile including production. |
| create_function_groupA | Create a new function group (the container that holds function modules). Refuses to run on production profiles. Add modules afterwards with create_function_module. Needs a transport unless package is $TMP. |
| create_function_moduleA | Create a new function module inside an EXISTING function group, write its source, and optionally activate. Refuses to run on production profiles. Create the group first with create_function_group. Provide the full source/main text (FUNCTION . ... ENDFUNCTION.). |
| update_cdsA | Overwrite the source of an EXISTING CDS view (DDLS). Locks, PUTs the whole new DDL source, unlocks, then optionally activates. Refuses to run on production profiles. IMPORTANT: this REPLACES the whole CDS source - read it first, edit that text, and send the complete result back. Keep the entity name unchanged. Prefer patch_cds for small edits. |
| patch_cdsA | Modify PART of an existing CDS view's DDL without resending the whole source. Reads the current source, replaces oldString with newString (must match EXACTLY ONCE), then locks, PUTs, unlocks, and optionally activates. Prefer this over update_cds for small edits like adding a field or annotation. Refuses to run on production profiles. |
| list_class_includesA | List a class's separate ADT includes - e.g. local types (the CCIMP include / 'Local Types' tab in ADT), macros, test classes - each a DIFFERENT source object from the class's own main source (/source/main = DEFINITION/IMPLEMENTATION only). Run this BEFORE patch_class_include: it reports the exact includeType string THIS system uses (never guessed) so you can target the right one. Read-only, safe on any profile including production. |
| patch_class_includeA | Modify PART of a class's SEPARATE include - local types (CCIMP / 'Local Types' tab), macros, or test classes - none of which live in /source/main (patch_class/update_class cannot reach these). Run list_class_includes FIRST to get the exact includeType string. Reads the include's current source, replaces oldString with newString (must match EXACTLY ONCE), locks the class, PUTs to the discovered include source, unlocks, and optionally activates the class. Refuses to run on production profiles. |
| update_class_includeA | Overwrite the WHOLE source of a class's SEPARATE include - local types (CCIMP / 'Local Types' tab), definitions, implementations, macros, or test classes - none of which live in /source/main (update_class/patch_class cannot reach these). Run list_class_includes FIRST to get the exact includeType string. Use this instead of patch_class_include when the include is empty/new (nothing to pattern-match against) or you're replacing all of it. Locks the class, PUTs the whole new source to the discovered include, unlocks, and optionally activates the class. Refuses to run on production profiles. |
| update_classA | Overwrite the source of an EXISTING ABAP class. Locks, PUTs the whole new source, unlocks, then optionally activates. Refuses to run on production profiles. IMPORTANT: this REPLACES the whole class - read it first with get_object_info (.../source/main), edit that text, and send the complete result back (both the DEFINITION and IMPLEMENTATION parts). Prefer patch_class for small edits. |
| patch_classA | Modify PART of an existing ABAP class without resending the whole source. Reads the current source, replaces oldString with newString (must match EXACTLY ONCE), then locks, PUTs, unlocks, and optionally activates. Prefer this over update_class for small edits like changing one method body. Refuses to run on production profiles. |
| update_bdefA | Overwrite the source of an EXISTING behavior definition (BDEF). Locks, PUTs the whole new source, unlocks, then optionally activates. Refuses to run on production profiles. REPLACES the whole BDEF - read it first, edit that text, and send the complete result back. Prefer patch_bdef for small edits. |
| patch_bdefA | Modify PART of an existing behavior definition (BDEF) without resending the whole source. Reads the current source, replaces oldString with newString (must match EXACTLY ONCE), then locks, PUTs, unlocks, and optionally activates. Refuses to run on production profiles. |
| update_srvdA | Overwrite the source of an EXISTING service definition (SRVD). Locks, PUTs the whole new source, unlocks, then optionally activates. Refuses to run on production profiles. REPLACES the whole definition - read it first, edit that text, and send the complete result back. Prefer patch_srvd for small edits. |
| patch_srvdA | Modify PART of an existing service definition (SRVD) without resending the whole source - e.g. exposing one more entity. Reads the current source, replaces oldString with newString (must match EXACTLY ONCE), then locks, PUTs, unlocks, and optionally activates. Refuses to run on production profiles. |
| update_function_moduleA | Overwrite the whole source of an EXISTING function module. Locks, PUTs, unlocks, then optionally activates. Refuses to run on production profiles. REPLACES the entire FM (FUNCTION ... ENDFUNCTION.) - read it first and send the complete result back. Prefer patch_function_module for small edits. Pass the group WITHOUT the SAPL prefix. |
| patch_function_moduleA | Modify PART of an existing ABAP function module. Function-module source lives inside a function group, so it must be locked/written through the fmodules URI - patch_program_source CANNOT do it (SAP rejects locking LU as R3TR PROG). Reads the current source, replaces oldString with newString (must match EXACTLY ONCE), then locks, PUTs, optionally activates, and unlocks. Refuses to run on production profiles. Look up the group first if unsure: SELECT FUNCNAME, PNAME FROM TFDIR - PNAME 'SAPLZFOO' means group 'ZFOO'. |
| list_bsp_filesA | List the files/folders inside a deployed BSP/UI5 repository app (e.g. a Fiori app's webapp folder) - read-only. Use this to find the exact relative path of a file before calling get_bsp_file/update_bsp_file. This is a SEPARATE repository from PROG/CLAS/CDS - no other tool can browse it. |
| get_bsp_fileA | Read the raw content of a single file inside a deployed BSP/UI5 repository app (e.g. Component.js, a controller, manifest.json). Use list_bsp_files first to confirm the exact relative path. Read-only, safe on any profile including production. |
| update_bsp_fileA | Overwrite the WHOLE content of an EXISTING file inside a deployed BSP/UI5 repository app. Unlike source objects there is no lock/unlock step and no activation - the write takes effect immediately. Read the file first with get_bsp_file, edit that text, and send the complete result back. Refuses to run on production profiles. |
| patch_bsp_fileA | Modify PART of an existing BSP/UI5 repository file without resending the whole content. Reads the current content, replaces oldString with newString (must match EXACTLY ONCE), then writes it back. Prefer this over update_bsp_file for small edits. Refuses to run on production profiles. |
| get_enho_sourceA | Read the ABAP source of a hook Enhancement Implementation (ENHO/XHH) from SAP. Returns the full implementation source with all ENHANCEMENT blocks. Only ENHO/XHH (hook) objects have a text source - for BAdI implementations (ENHO/XHB) read the implementing class with get_class_source instead. |
| create_enhoA | Create a new hook Enhancement Implementation (ENHO/XHH) in SAP and activate it. Refuses to run on production profiles. The source must contain at least one ENHANCEMENT block. Example: 'ENHANCEMENT 1 <enho_name>. " code ENDENHANCEMENT.' For BAdI implementations (ENHO/XHB) create the implementing class instead. Needs a transport unless package is $TMP. |
| update_enhoA | Overwrite the source of an EXISTING hook Enhancement Implementation (ENHO/XHH). Locks, PUTs the whole new source, unlocks, then optionally activates. Refuses to run on production profiles. REPLACES the whole source - read it first with get_enho_source and send the complete result back. Prefer patch_enho for small edits. For BAdI implementations use update_class on the implementing class. |
| patch_enhoA | Modify PART of an existing hook Enhancement Implementation (ENHO/XHH) without resending the whole source. Reads the current source, replaces oldString with newString (must match EXACTLY ONCE), then locks, PUTs, unlocks, and optionally activates. Refuses to run on production profiles. Use this to add/change a single ENHANCEMENT block or a few lines inside one. For BAdI implementations use patch_class on the implementing class. |
| get_sfpi_sourceA | Read the source XML of an Adobe Form Interface (SFPI object, SFP transaction). Returns the interface context XML that defines parameters, global data, and data bindings. Safe on any profile. |
| create_sfpiA | Create a new Adobe Form Interface (SFPI) in SAP and write its initial context XML. Refuses to run on production profiles. The interface defines parameters (IMPORT/EXPORT) and global data available to the form layout. After creation, create the matching form layout with create_sfpf. |
| update_sfpiA | Replace the entire source of an existing Adobe Form Interface (SFPI) with new XML. Locks, PUTs, unlocks, and optionally activates. Refuses to run on production profiles. |
| patch_sfpiA | Modify part of an existing Adobe Form Interface (SFPI) by replacing an exact string. oldString must match exactly once. Refuses to run on production profiles. |
| get_sfpf_sourceA | Read the XDP layout source of an Adobe Form (SFPF object, SFP transaction). Returns the XFA/XDP XML that defines pages, subforms, fields, and layout. Safe on any profile. |
| create_sfpfA | Create a new Adobe Form Layout (SFPF) in SAP and write its initial XDP source. Requires an existing Form Interface (SFPI) — create that first with create_sfpi. Refuses to run on production profiles. If no source is supplied, writes a minimal A4 XDP shell with one page and a text placeholder. |
| update_sfpfA | Replace the entire XDP layout source of an existing Adobe Form (SFPF). Locks, PUTs, unlocks, and optionally activates. Refuses to run on production profiles. |
| patch_sfpfA | Modify part of an existing Adobe Form Layout (SFPF) by replacing an exact string in the XDP. oldString must match exactly once. Use to add fields, change text, or update bindings without resending the entire XDP. Refuses to run on production profiles. |
| get_smartform_sourceA | Read the XML source of an existing SAP Smartform (STXFORMS object, SE71 transaction). Returns the full Smartform definition XML including form attributes, pages, windows, text nodes, and graphic nodes. Safe on any profile. |
| create_smartformA | Create a new Smartform (STXFORMS) in SAP with an initial XML definition. Refuses to run on production profiles. If no source is supplied a minimal single-page shell is written. The Smartform XML must include the root SMARTFORMS element with FORMATTRIB, PAGES, and WINDOWS sections. |
| update_smartformA | Replace the entire XML source of an existing Smartform (STXFORMS). Locks, PUTs, unlocks, and optionally activates. Refuses to run on production profiles. |
| patch_smartformA | Modify part of an existing Smartform (STXFORMS) by replacing an exact string in its XML. oldString must match exactly once. Refuses to run on production profiles. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 93 tools
Every tool pairs a distinct action with a distinct SAP object type (CDS, class, program, table, structure, DDLX, BDEF, SRVD, SFPI/SFPF, Smartform, transport, etc.), and the descriptions explicitly disambiguate look-alikes such as create_program vs create_include, patch_class vs patch_class_include, syntax_check vs run_atc, and get_program_source vs get_outline. Even the update_* vs patch_* pairs are clearly framed (whole replace vs exact single-match edit). An agent can reliably pick the right tool.
The surface follows a strong verb_noun convention (get_/create_/update_/patch_/list_/query_ + object), with object suffixes consistent across families (e.g. _cds, _class, _table, _structure, _bsp_file). A few outliers break the pattern slightly: syntax_check (noun_verb), where_used, and activate_object/switch_server, but they remain readable and unambiguous.
93 tools is very heavy and pushes well past any reasonable single-server surface, with near-identical CRUD quartets repeated per object type (get/create/update/patch for CRUD on ~15+ object families). While the SAP breadth is real, the repetition suggests consolidation (e.g. generic object operations) rather than 90+ discrete endpoints, making the surface intimidating and costly to navigate.
Coverage is unusually thorough for a development server: read/write/patch across many object types, activation, syntax check, ATC, where-used, transport lifecycle, text/selection elements, BSP files, forms, and enhancements. The main gaps are the total absence of any delete operation and no way to execute a program or run ABAP Unit tests, though agents can largely work around these by not deleting.