- DATA
- ANALYSIS
- REPORTING
- HUMAN
Short answer
How can I get G/L balances through my AI?
Your AI uses the get_gl_balances tool to pull live data from your S/4HANA instance. You get specific account balances and financial details through a simple chat interface. Here is how the data flows.
The outcomes
Where your data lands
The AI handles the heavy lifting of data retrieval.
DATA
Live account balances
The AI pulls current totals for specific G/L accounts. You get the exact numbers sitting in your S/4HANA instance right now.
ANALYSIS
Instant financial summaries
Instead of running manual reports, your AI aggregates the retrieved balances into a summary you can actually use.
REPORTING
Custom data views
You can ask for balances filtered by specific criteria. The AI fetches the relevant data points to build the view you need.
HUMAN
Manual adjustments
The AI only reads data. You still need to log into S/4HANA if you want to post journal entries or change account settings.
The workflow
What your AI does when the request arrives.
The AI acts as the bridge between your chat interface and your SAP environment.
Identify the request
Your AI parses your question to determine which G/L accounts or financial parameters you are asking about.
get_gl_balancesFetch account data
The AI calls the specific tool to pull the requested balance information from your S/4HANA instance.
get_gl_balancesFormat the numbers
The raw data from SAP is cleaned up and organized into a readable format.
get_gl_balancesDeliver the answer
The AI presents the final balances or financial summaries directly in your chat window.
get_gl_balances
Try it
Copy these to start.
Use these prompts to begin pulling data.
Starting points
Swap out the account numbers or company codes for your actual SAP values.
SAP S/4HANA Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_eqX5erHLdIAURtxCaYfxRaRdpIvxLK4SXtvRKzq9/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — SAP S/4HANA capabilities are ready to use.
{
"mcpServers": {
"sap-s4hana-mcp": {
"url": "https://edge.vinkius.com/vk_preview_eqX5erHLdIAURtxCaYfxRaRdpIvxLK4SXtvRKzq9/mcp"
}
}
}What is the current balance for G/L account 100010?
Show me the balances for all accounts in company code 1010.
Give me a summary of the balances for the cash accounts.
List the balances for the following accounts: 100010, 100020, and 100030.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect SAP S/4HANA once, then ask.
You only need to link your instance once. Your credentials stay encrypted, and you can immediately start asking questions in your preferred AI client.
Connect SAP S/4HANA to your AIFAQ
How this task behaves
- 01
Can the AI post journal entries to my G/L accounts?
No. This MCP is limited to retrieving data via the get_gl_balances tool. It cannot write or change any financial records.
- 02
Is the data real-time?
Yes. The AI pulls the data directly from your S/4HANA instance at the moment you ask the question.
- 03
Can I use this to run full balance sheet reports?
The AI can pull the individual account balances needed to build a report, but it does not generate official SAP financial statements.
- 04
Does the AI see all my financial data?
The AI only accesses the specific data required to answer your prompt through the provided tools.
- 05
Can the AI delete an account?
No. The tool only allows for data retrieval. It has no capability to delete or modify any data in SAP.
More questions about SAP S/4HANA? See everything the SAP S/4HANA Connector can do
Connect SAP S/4HANA to Claude, Cursor, ChatGPT & more
