Skip to content

WriteSource in the SAP MCP servers does not currently support ABAP include objects (INCL) #116

@mahlzeit1948

Description

@mahlzeit1948

Observed Behavior
Direct MCP runtime probe with object_type = "INCL" returns:

Unsupported object type: INCL (supported: PROG, CLAS, INTF, DDLS, BDEF, SRVD, SRVB)
This confirms the limitation is enforced by the MCP server itself, not just by a client-side description.

Impact
Because INCL is unsupported:

  • WriteSource cannot create or update true ABAP includes
  • Include-based report refactors cannot be deployed cleanly through MCP
  • using PROG as a workaround creates standalone programs, not include objects
  • this prevents full support for report layouts that split logic into:
    • selection-screen include
    • event include
    • productive local class include
    • test include

Expected Behavior
The MCP server should support ABAP include objects as a first-class object type, ideally by allowing:

object_type = "INCL" in WriteSource
include-aware detection/import for .incl.abap files in ImportFromFile
Suggested Enhancement
Add INCL support to MCP write/import flows so agents and automation can create and maintain true include objects, not just monolithic reports or standalone helper programs. This would close an important gap for ABAP report development workflows that rely on classic include composition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions