技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
sap-basis【数据与研究】This skill handles SAP BASIS administration including transport management, system performance analysis, user authorization, client administration, background job management, and system monitoring. Use when user mentions BASIS, STMS, transport, transport request, SM50, SM66, ST05, ST12, SM21, authorization, PFCG, SU53, SU01, client, SCC4, background …
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Standard 3-system landscape: DEV → QAS → PRD
| Type | Description | Client-specific? |
|---|---|---|
| Workbench | Repository objects (programs, tables, classes) | No — system-wide |
| Customizing | Client-specific IMG settings | Yes — per client |
| Transport of Copies | Copy objects without releasing original | No |
SE09 / SE10 (create / display request in DEV)
→ Release task → Release request
→ STMS (QAS): import queue → import
→ STMS (PRD): import queue → import (after QAS sign-off)
| Return Code | Meaning | Fix |
|---|---|---|
| RC=0 | Success | — |
| RC=4 | Warnings | Review log — usually OK |
| RC=8 | Errors | Check transport log → fix object issue |
| RC=12 | Syntax error | SE38 in target system → check syntax |
| RC=16 | Fatal error | Check STMS log → object conflicts |
Object locked by another request → SM12 → check table TRDIR or object name → identify locking request → coordinate with owner
Import conflict (object already modified differently in target) → SPDD (dictionary objects) / SPAU (other objects) → manual adjustment required
| T-code | Purpose | Key Action |
|---|---|---|
| SM50 | Work process overview (current instance) | Identify long-running / waiting processes |
| SM66 | Global work process overview (all instances) | System-wide bottleneck detection |
| ST05 | SQL trace activation + display | Find slow queries / missing indexes |
| SM12 | Lock entries | Find blocking locks by user / object |
| ST22 | Short dump analysis | Root cause of ABAP runtime errors |
| STAD | Workload monitor statistics | Response time analysis by user / report |
| SM21 | System log | Error / warning messages with timestamp |
| AL08 | Users logged on | Current sessions with work process assignment |
| RZ20 | CCMS alert monitor | Threshold-based system alerts |
Step 1 — Capture the error
Step 2 — Find the role
Step 3 — Fix the role
Step 4 — Assign and test
| T-code | Purpose |
|---|---|
| SU53 | Display last failed auth check for own user |
| PFCG | Role maintenance (single / composite) |
| SU01 | User maintenance |
| SU10 | Mass user maintenance (lock / unlock / roles) |
| SU24 | Auth object proposals per T-code |
| ST01 | Authorization trace (use sparingly — performance impact) |
| SUIM | User information system (reports) |
| Type | Description |
|---|---|
| Single role | T-codes + authorization object values → generates one profile |
| Composite role | Combines multiple single roles → no direct auth objects |
| Derived role | Inherits from master role, only org values differ (used for org-level restrictions) |
Filter options: message type (E=error / W=warning / A=abort / I=info), time range, user Key patterns to watch:
Standard monitoring trees:
Failed updates = data integrity risk
□ SM21: no red messages since last check
□ SM37: no cancelled background jobs (especially period-end jobs)
□ ST22: no new short dumps (or investigate any new ones)
□ SM13: no failed update records
□ AL11: disk space on transport directory / log directory
□ RZ20: no unacknowledged alerts
| Setting | Values | Impact |
|---|---|---|
| Client role | Production / Test / Customizing / Training | Affects what changes are allowed |
| Change option | No changes allowed / Modifiable | Prevents accidental production changes |
| System modifiability | No modifications / Modifiable (SCC4 + SE06) | Controls ABAP object editing |
| CATT / eCATT | Allowed / Not allowed | Testing tool usage |
Production client protection prevents:
| T-code | Purpose |
|---|---|
| SCCL | Local client copy (within same system) |
| SCC8 | Client export (to transport file) |
| SCC7 | Client import (from transport file) |
| SCC1 | Transport of client-specific objects (single request) |
| SCC3 | Client copy log |
| Class | Priority | Use Case |
|---|---|---|
| A | High | Critical jobs (payroll, period close) |
| B | Normal | Standard scheduled jobs |
| C | Low | Reports, non-critical batch |
Filter options: job name (wildcard *), user, status, date range
| Status | Meaning | Action |
|---|---|---|
| Finished | Success | Review log if unexpected results |
| Cancelled | Error | SM37 → Job log → identify error |
| Active | Running | Monitor duration vs expected |
| Scheduled | Waiting for trigger | Check start condition |
| Released | Ready to start | Waiting for free work process |
Common issues:
| Topic | ECC / Classic | S/4HANA |
|---|---|---|
| DB monitoring | DB02 / BR*Tools | SAP HANA Cockpit |
| HANA backup | Not applicable | HANA Cockpit → Backup & Recovery |
| HANA alerts | Not applicable | HANA Cockpit → Monitoring → Alerts |
| ALM / monitoring | Solution Manager | Cloud ALM (for RISE) |
| Transport | STMS (same) | STMS same + CTS+ for BTP |
| Upgrade tool | SPAU/SPDD | SUM (Software Update Manager) |
| System copy / refresh | R3trans / SAP tools | HANA backup restore |
| Kernel update | SPAM | Same (SPAM) |
For RISE (Private Cloud):