SAPF CLI

Direct RFC access to any SAP system from your terminal. Query tables, manage users, build SAP integrations — faster than MCP, scriptable, and usable from Claude Code, Gemini, or any terminal AI tool.

Free Tier Available Faster than MCP All Platforms

CLI vs MCP — when to use which

Use sapf-cli when…

  • You need maximum speed — direct RFC, no protocol overhead
  • You're scripting, automating, or running batch operations
  • You're building a custom SAP integration or app
  • You're using Claude Code, Gemini, or an AI terminal tool
  • You need CI/CD pipeline integration

Use SAPF MCP when…

  • You want Claude.ai, ChatGPT, or Copilot Studio to access SAP
  • You need a web dashboard (SAPF Dashboard uses MCP internally)
  • You want persistent tool permissions and audit logs for a team
  • You're connecting business users — not developers

Both use the same ZBAPI transport installed in your SAP system.

Installation

curl -L https://app.sapfever.com/api/releases/sapf-cli/latest/linux-amd64 -o sapf-cli
chmod +x sapf-cli
sudo mv sapf-cli /usr/local/bin/
sapf-cli --version

Or download from your Downloads page after signing in.

Get started

1

Get a license key

The Discover tier is free forever — no credit card required. Get your license key at sapfever.com/pricing.

sapf-cli license activate YOUR_LICENSE_KEY
sapf-cli license status
2

Add your SAP system

sapf-cli config add-system \
  --name ECC-001 \
  --host sap-host.company.com \
  --sysnr 00 \
  --system-id ECC \
  --user MYUSER \
  --pass MyPassword
3

Run your first query

sapf-cli tool execute query_tables --system ECC-001 \
  -p tableName=T001 \
  -p "selectFields=BUKRS,BUTXT,WAERS" \
  -p maxRows=10

What you can build

sapf-cli is a foundation layer. Use it directly, wire it into scripts, or build full SAP integrations on top of it.

SAP data pipelines

Query any SAP table with JOINs, filters, and aggregations. Pipe results into downstream systems, data warehouses, or reporting tools. query_tables is available on all tiers.

User & access automation

Automate SAP user provisioning, validity extensions, and access reviews. Script onboarding flows and expiry checks across multiple systems.

Custom SAP integrations

Build your own applications that talk to SAP. Use sapf-cli as the RFC layer inside Node.js scripts, Python apps, CI/CD pipelines, or any shell-driven workflow.

AI coding assistants

Add sapf-cli to Claude Code, Gemini, or any AI terminal tool. The AI calls tool execute directly — inspect objects, query tables, manage users — all from an AI coding session.

query_tables

Available on all tiers including Discover (free). The most-used sapf-cli tool.

Enterprise SAP table querying with SQL capabilities. Query any transparent table with WHERE clauses, JOINs, ORDER BY, GROUP BY, and aggregations.

ParameterRequiredDescription
tableNameYesSAP table name
selectFieldsNoComma-separated fields (default: all)
whereClauseNoSQL WHERE clause
maxRowsNoMax rows (default: 100)
orderByNoSort field
groupByNoGroup by field
# Query company codes
sapf-cli tool execute query_tables --system ECC-001 \
  -p tableName=T001 \
  -p "selectFields=BUKRS,BUTXT,WAERS,LAND1" \
  -p maxRows=20

# Query open POs for company code 1000
sapf-cli tool execute query_tables --system ECC-001 \
  -p tableName=EKKO \
  -p "selectFields=EBELN,LIFNR,BEDAT,WAERS" \
  -p "whereClause=BUKRS = '1000'" \
  -p maxRows=10 \
  -p orderBy=BEDAT

Build & deploy custom tools

Create your own ABAP tools and deploy them to your SAP system. Available on all paid tiers.

# Scaffold
sapf-cli tool init my_tool --category Business

# Fit metadata after editing ABAP
sapf-cli tool fit my_tool_template.json my_tool.abap

# Deploy
sapf-cli tool create my_tool \
  --template-file my_tool_template.json \
  --source-file my_tool.abap

# Test
sapf-cli tool execute my_tool -p param1=value1

# Update later
sapf-cli tool update my_tool --source-file my_tool.abap

Agentic ABAP development tools

Premium tools for AI-assisted ABAP development — available on developer license tiers. Designed for use with Claude Code, Gemini CLI, and other AI terminal tools.

  • discover_objects — find objects by name or package
  • inspect_object — metadata, fields, relationships
  • get_source — retrieve live ABAP source
  • validate_abap — syntax check
  • deploy_source — deploy programs and classes
  • deploy_domain / deploy_dataelement
  • deploy_structure / deploy_table
  • deploy_view / deploy_searchhelp

Developer Guide →

Get Discover — Free Browse Tool Store