sap-tr
This skill handles SAP Treasury and Cash Management including liquidity forecasting, cash position reporting, bank statement processing, payment runs, house bank configuration, and treasury instruments. Use when user mentions TR, treasury, FF7A, FF7B, liquidity, cash position, FLQDB, FLQITEM, bank statement, MT940, FF_5, FEBAN, F110, house bank, FI12, payment method, DME, BCM, bank account management, One Exposure, cash forecast, planning level, check management, FCHI, bank communication.
BoxLogoDev · 已有静态检查记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add BoxLogoDev/sapstack --skill sap-tr技能说明
name: sap-tr description: > This skill handles SAP Treasury and Cash Management including liquidity forecasting, cash position reporting, bank statement processing, payment runs, house bank configuration, and treasury instruments. Use when user mentions TR, treasury, FF7A, FF7B, liquidity, cash position, FLQDB, FLQITEM, bank statement, MT940, FF_5, FEBAN, F110, house bank, FI12, payment method, DME, BCM, bank account management, One Exposure, cash forecast, planning level, check management, FCHI, bank communication. allowed-tools: Read, Grep
1. Environment Detection
Ask before answering:
□ Classic Cash Management (ECC / S/4HANA pre-1909) or
S/4HANA Advanced Cash Management (One Exposure hub)?
□ Bank Communication Management (BCM) active?
□ Transaction Manager (TRM) activated? (money market / FX / derivatives)
□ Which SAP release? (impacts available tools significantly)
□ Bank statement format: MT940 / BAI2 / CAMT.053 / proprietary?
2. Liquidity Forecast Troubleshooting
FF7A / FF7B Missing Items
Step 1 — Check active cash-management model and derivation
- Classic Liquidity Planner: confirm source document, planning group/level, liquidity item derivation, date logic, and report selection.
- S/4HANA Advanced Cash Management: confirm active One Exposure source application, flow type/certainty level, liquidity item derivation, and app filter.
Step 2 — Check cash-flow line-item evidence
- Use the supported classic report or released Cash Flow Analyzer/Check Cash Flow Items app, filtered by the user's company code and planning date range.
- Distinguish “item exists but report filter excludes it” from “source did not generate a cash-management flow.”
Step 3 — Rebuild only through the release-specific supported procedure
- Do not recommend delete-and-rebuild from a generic symptom.
- First preserve counts/control totals, isolate source/company/date scope, prove the derivation correction in QA, and obtain close/treasury approval.
- Use the documented classic reconstruction or S/4 Flow Builder initialization path for the exact release; include a restore/reconciliation plan.
Planning Level Strategy
| Level Type | Description | Source |
|---|---|---|
| Actual | Bank-confirmed transactions | posted bank statement |
| Memo records | Manually entered forecast | FF63 (memo records) |
| Forecast | Open items / expected payments | AP/AR open items |
| Plan | Long-range planning | Manual or interface |
3. Bank Statement Processing
MT940 Import Flow
Bank file received → FF_5 (import) → Parsing/interpretation → FEBAN postprocessing → FI posting/clearing
FF_5: Electronic bank statement import for the supported format/configuration FEBAN: Electronic bank statement postprocessing for items requiring review
Common Bank Statement Errors
| Error | Root Cause | Fix |
|---|---|---|
| "No account found" | G/L account not mapped to bank account | FI12 → house bank → G/L account |
| "Posting rule not found" | Transaction type not mapped | OT83 → transaction types → posting rules |
| "Amount mismatch" | statement amount/reference does not satisfy posting/clearing design | inspect posting rule, interpretation algorithm, open-item match and authorized tolerance design |
| "Note to payee not found" | Reference format doesn't match search string | OT83 → search string config |
House Bank Setup (FI12)
FI12 → Company Code → House Banks → House Bank ID
→ Bank Accounts → Account ID → G/L Account → Currency
Manual bank statement: FF67 → enter manually without file
4. Payment Run (F110)
Pre-Flight Checklist
□ Open items exist with correct due dates
□ Vendor master has payment method assigned (LFB1-ZWELS)
□ Payment method assigned to company code (FBZP → Payment Methods in Company Code)
□ House bank ranking maintained (FBZP → Bank Determination → Ranking Order)
□ Bank determination, available-amount/value-date control, and funding decision reviewed
□ No posting period lock for payment date
Execution Flow
- F110 → Parameters → enter company codes, payment methods, next payment date
- Proposal run (simulate): F110 → Proposal → Start immediately → Review log
- Review exceptions: F110 → Proposal → Display proposal → check blocked items
- Payment run (actual): F110 → Payment run → Start immediately
- DME / print: F110 → Printout/data medium → generate files
Payment Run Errors
| Error | Cause | Fix |
|---|---|---|
| "No items selected" | Due date filter, payment method mismatch | Check open items in FBL1N, verify vendor master |
| "House bank not found" | Bank determination ranking incomplete | FBZP → bank determination → add ranking |
| "Payment method not allowed" | PM not assigned to vendor country | FBZP → payment methods in country |
| "Blocking reason" | Item manually or automatically blocked | FBL1N → remove block / release in MRBR |
Blocking / Unblocking
- FK05: block / unblock vendor for payment (company code level)
- FBL1N → change → payment block field on line item level
- MRBR: release automatically blocked MM invoices
5. House Bank Configuration
Structure
FI12:
Company Code
└── House Bank (Bank Key + Bank Name)
└── Account ID (internal ID)
├── Bank Account Number
├── Currency
└── G/L Account (clearing account)
Check Management
| T-code | Purpose |
|---|---|
| FCHI | Define check lots (number ranges) |
| FCHV | Void check |
| FCH5 | Void issued check |
| FCH6 | Reprint check |
| FCHN | Check register report |
| FCHK | Check information display |
6. Treasury Instruments (TRM — if activated)
Money Market
- FTR_CREATE → transaction type MM (money market) → create deal
- TM01 → display / change money market transactions
FX (Foreign Exchange)
- FTR_CREATE → transaction type FX → create FX deal
- F