sap-pm
This skill handles SAP PM (Plant Maintenance / 설비보전) including Equipment Master (IE01/IE02/IE03), Functional Location (IL01/IL02/IL03), Maintenance Notifications (IW21/IW22/IW23), Maintenance Orders (IW31/IW32/IW33), Preventive Maintenance (IP01/IP10/IP30), Task Lists (IA01/IA05), Maintenance Planning, and Plant Maintenance Reporting (IW28/IW29/IW38/IW39). Use when user mentions PM, 설비보전, 설비관리, equipment, 설비, maintenance order, 보전오더, 고장, breakdown, 고장코드, preventive maintenance, 예방보전, functional location, 기능위치, MTBF, MTTR, 점검, 정비, serial number, 시리얼, refurbishment, 재생정비, maintenance planning, maintenance strategy, 정비전략, equipment history, 설비이력, preventive tasks, 예방점검.
BoxLogoDev · 已有静态检查记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add BoxLogoDev/sapstack --skill sap-pm技能说明
name: sap-pm description: > This skill handles SAP PM (Plant Maintenance / 설비보전) including Equipment Master (IE01/IE02/IE03), Functional Location (IL01/IL02/IL03), Maintenance Notifications (IW21/IW22/IW23), Maintenance Orders (IW31/IW32/IW33), Preventive Maintenance (IP01/IP10/IP30), Task Lists (IA01/IA05), Maintenance Planning, and Plant Maintenance Reporting (IW28/IW29/IW38/IW39). Use when user mentions PM, 설비보전, 설비관리, equipment, 설비, maintenance order, 보전오더, 고장, breakdown, 고장코드, preventive maintenance, 예방보전, functional location, 기능위치, MTBF, MTTR, 점검, 정비, serial number, 시리얼, refurbishment, 재생정비, maintenance planning, maintenance strategy, 정비전략, equipment history, 설비이력, preventive tasks, 예방점검. allowed-tools: Read, Grep
1. Environment Intake Checklist
Before answering PM questions, collect:
- SAP Release: ECC 6.0 (which EhP?) or S/4HANA (which release year?)
- Deployment model: On-premise / RISE / Cloud Public Edition
- PM Organization: Planning Plant, Maintenance Plant, Maintenance Coordination Plant
- Industry sector: Manufacturing (automotive, chemicals, electronics), energy, pharma, food & beverage
- Equipment strategy: Single-level (equipment only) vs. two-level (equipment + functional locations)
- Maintenance type focus: Breakdown, preventive, predictive, contract, or combination?
- Integration requirements: MES, predictive maintenance (PAI), mobile (SAP Asset Manager), analytics
2. Equipment Master Data (IE01/IE02/IE03)
Equipment Creation (IE01)
Key T-codes & Menu Path
- IE01: Create Equipment (SPRO → Plant Maintenance → Master Data → Equipment → Create)
- IE02: Change Equipment
- IE03: Display Equipment
- IE10: Create Fleet (for mass equipment with identical configuration)
Critical Fields (EQUI Table)
| Field | Meaning | Mandatory | Notes |
|---|---|---|---|
| EQUNR | Equipment number | Y | Unique 18-char ID; can be internal/external assigned |
| EQKTX | Equipment description | Y | 40 chars; recommend English + Korean |
| EQART | Equipment category | Y | PUMPE (pump), MOTOR (motor), KOMPR (compressor) etc. |
| MATNR | Material master | N | Links to inventory; if serial-tracked material, serializes equipment |
| SERGE | Serial number | N | Hardware serial from nameplate; used in warranty tracking |
| HEQUI | Higher-level equipment | N | Parent equipment (e.g. pump is part of production line) |
| ILOAN | Functional location | Y | Must exist in IFLO before assignment |
| MANDT | Company code | Y | Set at creation; cannot change |
| WERKS | Plant | Y | Maintenance-executing plant |
| KMFID | Manufacturer | N | Free-text; recommend SAP vendor master LIFNR |
| GEWICHT | Weight | N | For spare parts estimation |
| INBDT | Startup date | N | Important for MTBF calculation period |
Equipment Classification
Table KLAH (classification header) + KLASP (assignment):
- Class type: EQUIPMENT, ZEQUIP (custom)
- Characteristics: Model, Manufacturer, Voltage, Capacity, Brand
- Used for: spare parts list filtering, maintenance strategy assignment, reporting
Serial Number Management
- Equipment must link to material master (EQUI.MATNR)
- Material → Accounting 1 view → Valuation Class + Serial Number Profile (MMSL)
- Serial Number Profile (MMSL): defines when system forces serial entry during GR, GI, MIGO
- Equipment History (EQUZ): automatic log of changes (creation, equipment change, tag changes)
Equipment Deletion
- Equipment cannot be deleted if it has maintenance history (QMEL, AUFK exist)
- Workaround: Flag EQUI-LOEKZ (deletion flag) = X → equipment hidden in selection, kept for history
3. Functional Location Master Data (IL01/IL02/IL03)
Hierarchical structure — represents plant's physical/logical organization
Functional Location Creation (IL01)
Key T-codes
- IL01: Create Functional Location (SPRO → Plant Maintenance → Master Data → Technical Objects → Functional Location)
- IL02: Change Functional Location
- IL03: Display Functional Location
Hierarchy Example (Two-Level Strategy)
Production Line A (ZFUNCLOC-PRODLINE-A)
├─ Section 1 (ZFUNCLOC-PRODLINE-A-SEC1)
│ ├─ Equipment: Motor, Pump, Control Panel
└─ Section 2 (ZFUNCLOC-PRODLINE-A-SEC2)
├─ Equipment: Conveyor, Sensor
Critical Fields (IFLO + IFLOT Tables)
| Field | Table | Meaning | Notes |
|---|---|---|---|
| TPLNR | IFLO | Functional location ID | 40-char hierarchical, e.g., PROD-001-002 |
| TXTMI | IFLOT | Description (multilingual) | Store in DE, EN, KO |
| FLTYP | IFLO | Functional location type | e.g., PUMPING_STATION, MOTOR_ROOM |
| GEWRK | IFLO | Responsible work center (PM team) | Links to CR01 work center |
| HFLOC | IFLO | Higher-level functional location | Parent node |
| STRNO | IFLO | Building/hall number | Organizational reference |
| MANDT | IFLO | Company code | Assigned at creation |
Account Assignment
- Cost center (KOSTL): for cost tracking of maintenance labor + materials
- Internal order (AUFNR): for project-based maintenance (e.g., annual overhaul)
- Profit center: for P&L attribution
- WBS element: for capital project maintenance
4. Maintenance Notification (IW21/IW22/IW23)
Entry point for all maintenance requests — whether breakdown or planned
Notification Types (QMNUM Table)
| Notification Type | ID | Trigger | Example Use Case |
|---|---|---|---|
| Malfunction (고장) | M1 | Breakdown reported by operator | "Motor stopped working" |
| Maintenance request | M2 | Preventive or user-initiated task | "Annual pump inspection needed" |
| Activity report (업무보고) | M3 | Post-maintenance completion record | "Replaced bearings on motor" |
| Calibration notification | M4 | Instrument calibration schedule | "Pressure gauge needs recalibration" |
Key T-codes
| T-code | Description |
|---|---|
| IW21 | Create notification |
| IW22 | Change notification |
| IW23 | Display notific |