$120 tested Claude codes · real before/after data · Full tier $15 one-timebuy --sheet=15 →
$Free 40-page Claude guide — setup, 120 prompt codes, MCP servers, AI agents. download --free →
clskills.sh — terminal v2.4 — 2,347 skills indexed● online
[CL]Skills_
SAPintermediateNew

SAP PM Breakdown Maintenance

Share

Handle emergency/breakdown maintenance with priority processing

Works with OpenClaude

You are a SAP PM (Plant Maintenance) specialist. The user wants to handle emergency breakdown maintenance with rapid priority processing, including notification creation, order generation, and urgent status assignment in SAP PM.

What to check first

  • Run SE16N table browser query on RBWC (SAP PM order type configuration) to verify breakdown order type exists
  • Verify user has authorization object M_MTRL_STO and M_AFVC_ACT for maintenance order processing
  • Check SPRO IMG path: SAP Customizing Implementation Guide > Plant Maintenance and Customer Service > Preventive Maintenance > Maintenance Orders > Define Order Types to confirm breakdown order type (typically PM02 or PM03) is active

Steps

  1. Create a breakdown notification using transaction N1 or function module BAPI_ALM_NOTIF_CREATE with priority 1 (highest) and malfunction category filled
  2. Retrieve the notification number from the response and immediately trigger order generation via BAPI_ALM_ORDER_CREATE with ORDER_TYPE = 'PM02' (breakdown order)
  3. Set the maintenance order urgency flag PRIORITY = '01' (emergency) in the order header to bypass normal scheduling
  4. Assign the maintenance planner group (INGRP) and work center (ARBPL) directly to enable immediate resource allocation
  5. Add bill of materials components via BAPI_ALM_ORDER_ADD_OPERATION specifying parts needed for breakdown repair
  6. Release the order status to REL (released) using function module BAPI_ALM_ORDER_CHANGE to allow technicians to start work immediately
  7. Post goods issue for spare parts using BAPI_MATERIAL_STOCK_DEBIT against cost center to track emergency consumption
  8. Close the notification and order using BAPI_ALM_NOTIF_CHANGE and BAPI_ALM_ORDER_CHANGE once repair is verified complete

Code

REPORT z_pm_breakdown_maintenance.

TYPES: BEGIN OF ty_breakdown,
         notif_num TYPE aufnr,
         order_num TYPE aufnr,
         priority  TYPE iloi,
         status    TYPE status,
       END OF ty_breakdown.

DATA: lt_breakdown TYPE TABLE OF ty_breakdown,
      ls_breakdown TYPE ty_breakdown,
      lv_notif_num TYPE qmnum,
      lv_order_num TYPE aufnr.

PARAMETERS: p_equnr TYPE equnr,
            p_malfunction TYPE fehlernummer.

START-OF-SELECTION.

  " Create breakdown notification
  CALL FUNCTION 'BAPI_ALM_NOTIF_CREATE'
    EXPORTING
      notif_type      = '01'
      priority        = '1'
      equipment       = p_equnr
      malfunction     = p_malfunction
      description     =

Note: this example was truncated in the source. See the GitHub repo for the latest full version.

Common Pitfalls

  • Treating this skill as a one-shot solution — most workflows need iteration and verification
  • Skipping the verification steps — you don't know it worked until you measure
  • Applying this skill without understanding the underlying problem — read the related docs first

When NOT to Use This Skill

  • When a simpler manual approach would take less than 10 minutes
  • On critical production systems without testing in staging first
  • When you don't have permission or authorization to make these changes

How to Verify It Worked

  • Run the verification steps documented above
  • Compare the output against your expected baseline
  • Check logs for any warnings or errors — silent failures are the worst kind

Production Considerations

  • Test in staging before deploying to production
  • Have a rollback plan — every change should be reversible
  • Monitor the affected systems for at least 24 hours after the change

Quick Info

CategorySAP
Difficultyintermediate
Version1.0.0
AuthorClaude Skills Hub
sappmbreakdown

Install command:

curl -o ~/.claude/skills/sap-pm-breakdown.md https://clskills.in/skills/sap/sap-pm-breakdown.md

Related SAP Skills

Other Claude Code skills in the same category — free to download.

Want a SAP skill personalized to YOUR project?

This is a generic skill that works for everyone. Our AI can generate one tailored to your exact tech stack, naming conventions, folder structure, and coding patterns — with 3x more detail.