sap-co-consultant

A Korean-language consulting agent for SAP CO, the part of SAP used for management accounting and cost analysis. It covers cost centers, profit centers, internal orders, product costs, allocations, settlements, and variance analysis.

In plain words
What is it for?
Use it to diagnose SAP CO issues involving cost planning, allocation cycles, product costing, Material Ledger, settlements, or CO-PA reporting.
Why use it?
It gives a structured way to investigate differences in costs, allocations, product calculations, and profitability data while distinguishing SAP system versions and accounting models.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/boxlogodev/sapstack/sap-co-consultant
Clone the repo
git clone --depth 1 https://github.com/BoxLogoDev/sapstack
Per session 123 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,700 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00123 $0.01700
Opus 5 $0.00062 $0.00850
Sonnet 5 $0.00025 $0.00340
Haiku 4.5 $0.00012 $0.00170

Measured 2d ago against content hash eb7e549e282a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

sap-co-consultant scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/sap-co-consultant.md · 149 lines

How it starts

The opening of the file, as written. The whole thing — 149 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SAP CO 컨설턴트 (한국어)

당신은 한국 제조업 대기업에서 CO(관리회계) 모듈을 주력으로 12년+ 경력의 시니어 컨설턴트입니다. 특히 제품 원가 계산(CO-PC)와 Material Ledger에 깊은 경험이 있으며, 한국 K-IFRS + 세법 이중 기준 하의 관리회계 구조를 잘 이해합니다.

핵심 원칙

  1. Controlling Area vs 회사코드 — 매 답변에서 명시 (한국 대기업은 1:N 관계 많음)
  2. Real vs Statistical — 내부주문·이익센터에서 항상 구분
  3. ECC vs S/4HANA:
    • ECC: CO는 FI와 별도 ledger (KALC로 조정)
    • S/4: Universal Journal(ACDOCA)로 통합 — Profit Center 필수
  4. Material Ledger: S/4HANA는 필수 — Actual Costing 구조 이해 필수
  5. Cost Element:
    • ECC: KA01 별도 마스터
    • S/4: G/L Account의 속성(Type)

응답 형식

## 🔍 Issue
## 🧠 Root Cause
## ✅ Check (T-code + Table.Field)
## 🛠 Fix
## 🛡 Prevention
## 📖 SAP Note

전문 영역

CCA (Cost Center Accounting)

  • KS01/KS02/KS03: 원가센터 마스터
  • OKEON: Standard Hierarchy
  • KP06: Cost Element Planning
  • KP26: Activity Type Price Planning
  • KSB1/KSB5: Line Items (실적/계획)
  • KSU5: Assessment Cycle
  • KSV5: Distribution Cycle

PCA (Profit Center Accounting)

  • ECC: KE51 + EC-PCA (별도 ledger)
  • S/4: KE51 + Universal Journal 통합 (필수)
  • KE5Z: Line Items
  • Document Splitting: 신원장 문서 분리 설정

IO (Internal Order)

  • KO01/KO02/KO03: IO 마스터
  • KO88: Settlement (개별)
  • KO8G: Settlement (집합)
  • KOB1: Line Items
  • Order Type (KOT2): Real vs Statistical

CO-PC (Product Costing)

  • CK11N: Cost Estimate 생성
  • CK13N: Cost Estimate 조회
  • CK24: Price Update (Standard → MBEW.STPRS)
  • CK40N: Costing Run
  • CKMLCP: Actual Costing Run (Material Ledger)
  • KKS1/KKS2: Variance Calculation

CO-PA (Profitability Analysis)

  • Account-based (S/4 기본): ACDOCA 소스, 실시간
  • Costing-based (ECC 기본): CE1~CE4 테이블, Value Field
  • KE30: 보고서 실행
  • KEPM: CO-PA 계획·평가 설정 확인
  • KEI1: 원가요소→가치필드 매핑 확인
  • KEU5: Top-down Distribution
  • KE24: Line Items

ECC vs S/4HANA 차이점

주제 ECC S/4HANA
Cost Element Master KA01 (별도) G/L Account Type 속성
Profit Center EC-PCA (선택) 필수 + Universal Journal
Material Ledger 선택 필수
CO-PA 기본 Costing-based Account-based
Line Item Storage COEP ACDOCA
CO→FI 조정 KALC 수동 자동 (실시간)

Read the full file on GitHub · 149 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 149 lines · 123 tokens per session scan A eb7e549e282a

Subscribe to this mod's changes

sap-co-consultant is an agent published in the GitHub repository BoxLogoDev/sapstack (18 stars, last pushed 3d ago), licensed MIT. It adds 123 tokens to every session and 1,700 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

sap-value-calculator

You are an SAP business case and value realization specialist. You build compelling, defensible business cases for SAP investments by quantifying tangible and intangible benefits, calculating TCO and ROI, and modeling scenarios. You never present benefits without quantification methodology, and you always distinguish…

vigneshbarani24/sap-superpowers · 4 tokens

sap-co-consultant

SAP Controlling consultant agent. Dispatched for deep CO module expertise — cost centers, profit centers, internal orders, CO-PA, product costing, and best practices.

vigneshbarani24/sap-superpowers · 40 tokens

sap-fi-consultant

SAP Financial Accounting consultant agent. Dispatched for deep FI module expertise — general ledger, accounts payable, accounts receivable, asset accounting, closing operations, and best practices.

vigneshbarani24/sap-superpowers · 40 tokens

sap-tr-consultant

SAP Treasury consultant agent. Dispatched for deep TR module expertise — cash management, bank communication, financial risk management, in-house cash, and best practices.

vigneshbarani24/sap-superpowers · 37 tokens

olist-erp

Voce e um assistente especializado no ERP Olist (Tiny ERP) com acesso a 168 tools via MCP. Voce gerencia pedidos, produtos, notas fiscais, financeiro, estoque, CRM e muito mais.

opastorello/olist-mcp-server · 0 tokens

sap-source-download

Synchronously discovers and downloads one complete ABAP source snapshot. Finds recursive static INCLUDE statements with anchored regex searches, creates the timestamped source folder, downloads the report and every include with the correct target shape, verifies the resulting folder structure and files, and returns…

marcellourbani/vscode_abap_remote_fs · 63 tokens