技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
sap-gui-web-enrich【数据与研究】Auto-fills missing SAP GUI transaction navigation data (field IDs, screen numbers, BDC sequences) by searching web sources
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
When GUI fallback triggers but transaction navigation data is incomplete, this skill auto-searches the web to fill gaps — then caches results.
RFCNO_SCR 1 in RZ11)sap-gui-scripting skill loaded for execution after enrichmentGUI Fallback Triggered → Check local cache (MEMORY.md)
├─ HIT → Execute GUI navigation immediately
└─ MISS → Run enrichment steps below → Cache → Execute
grep -A5 "GUI_DATA" MEMORY.md
If the transaction is listed with confidence=HIGH, skip to sap-gui-scripting.
WebSearch: "{tcode} SAP transaction screen fields" site:help.sap.com
WebFetch: https://help.sap.com/docs/SAP_S4HANA_CLOUD/{version}/...
Extract: screen program names, field IDs, OK codes, view selections.
WebSearch: "{tcode} BDC recording ABAP example" site:community.sap.com
Cross-reference field IDs found in Step 2. Require 2+ independent sources for HIGH confidence.
WebSearch: "{tcode} CALL TRANSACTION OR BDC_OPEN_GROUP" language:abap
Look for CALL TRANSACTION or BDC_INSERT calls — extract dynpro
sequences and field mappings.
mcp-sap-notes: search "{tcode} screen sequence field ID"
Check for version-specific field ID changes (ECC vs S/4HANA).
# Output structure after enrichment
BDC_MAP = {
'transaction': 'MM01',
'source': 'help.sap.com + community.sap.com + github.com',
'confidence': 'HIGH', # 3+ independent sources verified
'sap_version': 'S/4HANA 2023',
'steps': [
{
'screen': 'SAPLMGMM 0060',
'fields': {'RMMG1-MATNR': True, 'RMMG1-MBRSH': True},
'okcode': '=ENTE',
},
],
'warnings': ['Field IDs vary between ECC and S/4HANA'],
}
# Append to GUI_DATA section
echo "- MM01: enriched=2026-07-02 confidence=HIGH sources=3 steps=5 version=S4HANA2023" >> MEMORY.md
Return enriched data to sap-gui-scripting skill for execution.
# Enrich specific transaction
python scripts/sap_router.py gui-enrich --tcode MM01
# Enrich all transactions for a module
python scripts/sap_router.py gui-enrich --module MM
# Check enrichment status
python scripts/sap_router.py gui-enrich --status
# Force re-enrich (ignore cache)
python scripts/sap_router.py gui-enrich --tcode MM01 --force
GUI_DATA) → instantSHDB in SAPWeb search returns wrong SAP version field IDs
sap_version. Force re-enrich after upgrades (--force).BDC fails after enrichment with "field not found"
mcp_rfc_read_table on DD03L for the screen's table. Fall back to SHDB manual recording.Rate limiting during batch enrichment
--module flag which batches internally.Sensitive data leaked in search queries
Cache stale after SAP support package applied
confidence=STALE automatically on SP changes if monitoring is configured.DD03L table or SAP Help Portalsap-gui-scripting completes without "field not found"