The interface is localized. Skill descriptions and documents are machine-translated by AI into your language; code, commands, paths and technical terms stay in the original, and the author's document governs.
Explore skills
Data & research · SKILL.md

sap-trench

sap-trench

Use this skill whenever the user asks about any SAP topic — even a single transaction code, table name, module abbreviation, or vague error message is sufficient to trigger it. Do not skip it for "simple" SAP questions. Covers: ABAP development, BAdI/Enhancement Spot, user exits, MM/SD/FI/CO/PP/WM/PM/QM modules, PI/IDoc/OData/Proxy/CPI integration, SmartFor…

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill documentation

GitHub

name: sap-trench description: | Use this skill whenever the user asks about any SAP topic — even a single transaction code, table name, module abbreviation, or vague error message is sufficient to trigger it. Do not skip it for "simple" SAP questions. Covers: ABAP development, BAdI/Enhancement Spot, user exits, MM/SD/FI/CO/PP/WM/PM/QM modules, PI/IDoc/OData/Proxy/CPI integration, SmartForms/SAPscript print programs, authorization/AUTHORITY-CHECK, performance tuning (ST05/SM50/SM66), and root-cause troubleshooting of real project errors. Trigger keywords: SAP, ABAP, ECC, S/4HANA, BAdI, BAPI, IDoc, OData, Proxy, STO, ME21N, MIGO, VA01, VL01N, FB01, CO01, LT01, IW31, QA01, SmartForms, NACE, SU53, AUTHORITY-CHECK, account determination, pricing procedure, delivery, ATP, MRP, BOM, production order, goods receipt, goods issue, WM transfer order, maintenance order, inspection lot, vehicle management, VELO, IS-AUTO, PI channel, Proxy class, error 51, dump analysis. Do NOT use for: non-SAP ERP systems (Oracle EBS, Dynamics), generic SQL or database questions unrelated to SAP tables. license: MIT allowed-tools: [Read] metadata: version: "1.0.0" type: docs valid_until: "evergreen" source_urls: - "https://help.sap.com" - "https://community.sap.com"

SAP Trench Skill

十余年 SAP 项目笔记的蒸馏沉淀,整合实战记录与问题排查中的资料整理, 专注于标准文档之外的实战细节。

使用方式

  1. 判断问题类型,从下表选择对应的 reference 文件优先加载:
问题类型加载文件
ABAP语法/增强/BAdI/性能/消息/调试references/abap.md
MM模块(采购/库存/物料/STO/科目确定)references/mm.md
SD模块(销售订单/交货/定价/开票/信贷/ATP)references/sd.md
FICO模块(凭证/科目/税务/COPA/凭证分割/汇率)references/fico.md
PI/PO/IDoc/Proxy/OData/JSON/XML集成references/integration.md
报错排查/根因分析/真实案例references/troubleshooting.md
事务码/表结构/BAPI速查(所有模块)references/reference-tables.md
PP模块(生产订单/BOM/工艺路线/MTO/ATP)references/pp.md
权限检查/AUTHORITY-CHECK/角色/SU53references/auth.md
打印设计/SmartForms/SAPscript/NACEreferences/print.md
VMS模块(车辆管理/VELO/IDoc增强/IS-AUTO)references/vms.md
WM模块(仓库管理/转储单/转储需求/仓位/盘点)references/wm.md
PM模块(工厂维护/设备/维护订单/维护计划)references/pm.md
QM模块(质量管理/检验批/质检流程/质量通知书)references/qm.md
  1. 加载对应文件后,按以下结构组织答案:
【问题定性】一句话说清是什么类型的问题
【根本原因】为什么会发生(这是最核心的部分)
【解决方案】分步骤,给出可执行的操作
【注意事项】版本差异/风险提示/相关对象
【参考工具】排查时用到的事务码或调试方法
  1. 答案优先级原则:
    • 项目实战经验 > SAP官方Note > SCN社区文档 > 通用ABAP知识
    • 明确说明适用版本(ECC 6.0 / S/4HANA 1909+ / S/4HANA 2023+)
    • 若有多个方案,按推荐度排序并说明各方案的取舍

核心能力范围

  • ABAP开发:语法、性能优化、Enhancement Spot、BAdI实现、Class/Interface、User Exit、SMOD/CMOD
  • 集成技术:PI/PO通道排查、IDoc处理流、Proxy开发、OData服务调试、CPI/云集成
  • MM模块:采购订单、库存管理、工厂间调拨(STO)、科目自动确定、消息控制
  • SD模块:销售订单/交货/定价/开票/合作伙伴确定/信贷管理/ATP/MTO变式配置
  • FI/CO模块:凭证过账增强、汇率确定、凭证分割、字段状态、COPA派生、替换、自动付款
  • PP模块:生产订单创建、BOM配置、ATP可用性检查、MRP运行、MTO可配置BOM
  • WM模块:仓库管理、转储单/转储需求、仓位管理、盘点流程
  • PM模块:工厂维护、设备/功能位置、维护订单/维护计划、序列号管理
  • QM模块:质量管理、检验批、使用决策、质量通知书、检验计划
  • VMS模块:IS-AUTO VELO 车辆管理对象、IDoc增强、SPRO配置
  • 权限管理:AUTHORITY-CHECK 编码、角色设计、SU53 权限诊断、权限对象
  • 打印技术:SmartForms 设计与调试、SAPscript、NACE 消息控制、输出类型
  • 调试排查:ST05 SQL追踪、SM50/SM66进程监控、SXI_MONITOR、/IWFND/GW_CLIENT、DUMP分析

知识质量标准

本技能收录的每条知识满足:

  • ✅ 在真实项目中被触发过(有具体的业务场景)
  • ✅ 有明确的根本原因分析(不只是"怎么做",更说明"为什么")
  • ✅ 解决方案经过验证(非猜测性)
  • ✅ 包含升级安全性和传输可行性评估

如需扩展本技能,在 references/ 目录下按模块添加 .md 文件,每条知识卡片遵循「现象→根因→解决→经验总结」四段式结构。

Saved skills