sap-fi-closing

A step-by-step checklist for closing SAP Financial Accounting records at the end of a month or year. It covers accounting periods, unpaid invoices, assets, foreign currencies, journal entries, and financial-statement checks.

In plain words
What is it for?
Use it to prepare monthly or annual FI closing, check open items and GR/IR balances, run depreciation, value foreign-currency balances, carry forward year-end balances, and verify financial reports.
Why use it?
It reduces the chance of skipping a dependency or posting entries for the wrong company, period, or currency. Test runs and confirmation before real postings help limit accidental changes.

Command

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 commands/boxlogodev/sapstack/sap-fi-closing
Clone the repo
git clone --depth 1 https://github.com/BoxLogoDev/sapstack
Per session 62 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,043 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.00062 $0.01043
Opus 5 $0.00031 $0.00522
Sonnet 5 $0.00012 $0.00209
Haiku 4.5 $0.00006 $0.00104

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

Security

Grade A, and why

sap-fi-closing 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.

commands/sap-fi-closing.md · 90 lines

What it actually says

SAP FI 결산 체크리스트 실행

입력: $ARGUMENTS

🎯 목표

SAP FI 모듈의 월결산 또는 연결산 체크리스트를 단계별로 안내하며, 각 단계에서 사용자에게 확인 질문을 던지고, 검증이 완료된 단계만 다음으로 진행합니다.

🔒 안전 규칙

  • 모든 단계는 시뮬레이션(Test Run) 먼저 안내
  • 실제 포스팅 T-code 전에는 사용자의 명시적 확인 요청
  • 회사코드·기간 값은 사용자가 제공 — 추정 금지

📋 체크리스트

Phase 1 — 환경 확인

  1. 사용자에게 다음을 질문:
    • SAP 릴리스 (ECC / S/4HANA 연도)
    • 결산 유형 (월결산 / 연결산 / 중간결산)
    • 회사코드 (BUKRS)
    • 대상 기간 (회계연도/기간)
    • 통화 (현지통화/Group Currency 여부)
  2. K-IFRS 기준 여부 확인 (한국 상장사 필수)

Phase 2 — 기간 제어

  • OB52: 기간 오픈 상태 확인 (+ 권한 범위, 변경 이력)
  • FB02: 전표 입력 마감 예정일 공지
  • S_ALR_87012301: 미처리 전표 조회
  • 체크: 전월 기간이 닫혀 있는지? (한국 월결산은 엄격)

Phase 3 — Sub-Ledger 마감 (우선순위 순)

3-1. AP (채무)
  • F110: 지급실행 완료 확인
  • F.13 (운영은 FAGLF103): GR/IR 청소 — 반드시 Test Run 먼저
  • MR11: GR/IR 잔액 정리 (MM과 협의)
  • 체크: F-44 수동 청소 필요 건
3-2. AR (채권)
  • F150: 독촉 발송 상태
  • FBL5N: 고객 Open Item 조회
  • F-32: 수동 청소 필요 건
3-3. AA (자산)
  • AFAB: 감가상각 계산 — Test Run 필수
  • AJAB: 연말 마감 (연결산 전용)
  • S_ALR_87011963: 자산 Balance 검증
  • 체크: 자본화 대기 AuC(건설 중 자산)

Phase 4 — 외화평가 및 재분류

  • FAGL_FC_VAL: 외화평가 — 환율일자 확인
  • F-05 (ECC): Reclass 전표 (S/4는 자동)
  • FBB1: 수동 조정 전표
  • 체크: KRW 기준 잔액 차이

Phase 5 — GL Close

  • FAGLGVTR: 잔액 이월 (연결산)
  • F.16: 이익 잉여금 이관
  • FAGLB03: GL Balance 조회
  • S_PL0_86000030: 재무제표 Preview

Phase 6 — 검증

  1. F.01: 재무상태표 vs F.08: 손익계산서 일치 확인
  2. 전기 대비 증감 분석 (비정상 증감 flag)
  3. Inter-company 일치 (여러 회사코드)
  4. K-IFRS 공시용 주석 사전 검증

Phase 7 — 감사 흔적

  • SM21: System Log 이상 여부
  • S_ALR_87012276: Audit Trail Report
  • K-SOX 요구사항 — 결산 담당자 ≠ 승인자 로그

📤 출력 형식

각 단계 완료 시 다음을 출력합니다:

✅ Phase N 완료
- 수행: (T-code와 결과)
- 이슈: (있다면)
- 다음 단계 진행할까요? (yes/no)

📖 참조

  • plugins/sap-fi/skills/sap-fi/SKILL.md
  • plugins/sap-fi/skills/sap-fi/references/closing-checklist.md
  • agents/sap-fi-consultant.md — 복잡한 이슈 발생 시 위임
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 · 90 lines · 0 tokens per session scan A 9225aadb0696

Subscribe to this mod's changes

sap-fi-closing is a command published in the GitHub repository BoxLogoDev/sapstack (18 stars, last pushed 3d ago), licensed MIT. It adds 62 tokens to every session and 1,043 once invoked, about $0.0003 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 commands, from other repositories

eval-improve

Work the eval-loop corpus — rank failure clusters, fix the top actionable defect, validate against held-out, open a PR.

dynamics365ninja/d365fo-mcp-server · 25 tokens

eval-run

Run an eval case end-to-end on the VM (implement → build → score → record → roll back). VM/full-mode only.

dynamics365ninja/d365fo-mcp-server · 27 tokens

eval-author

Draft a new eval case (eval/cases/ .json) + scaffold its golden folder, goldenpending until captured on the VM.

dynamics365ninja/d365fo-mcp-server · 28 tokens

ingest-l1

L1 analysis loop for the abapwiki knowledge base: for each batch it launches the abap-analyzer sub-agent in parallel, then the adversarial judge abap-deepcheck (separate session), applies only the analyses that pass the fail-closed gate, and commits. Resumes exactly after an interruption. Use this skill to document…

Gixsy95/abap_wiki · 86 tokens

research-l2

Executes Phases 1-3 of the L2 process of the abapwiki knowledge base on a slice: launches the abap-functional-researcher sub-agent (gap discovery + multi-source auto-research: wiki -> raw/docs -> MCP abap-fs on the system read-only -> standard knowledge), ingests gaps and evidence, and generates questionnaires for…

Gixsy95/abap_wiki · 111 tokens

ingest-l0

L0 bootstrap of the abapwiki knowledge base: creates stubs for all custom objects from the TADIR. Use this skill to initialize the repo from scratch or to ingest a new TADIR export. Deterministic operations (no LLM sub-agent), idempotent.

Gixsy95/abap_wiki · 59 tokens