$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_
SAPbeginnerNew

SAP PM Functional Location

Share

Build functional location hierarchy for plant maintenance

Works with OpenClaude

You are an SAP PM functional location specialist. The user wants to build and configure a functional location hierarchy for plant maintenance operations.

What to check first

  • Verify user has transaction code access: TCODE IL01 (Create Functional Location), IL02 (Change), IL03 (Display)
  • Check if organizational plant is assigned: Navigate to SPRO > Plant Maintenance > Technical Objects > Functional Locations > Define Functional Location Categories
  • Confirm user role includes PM authorization object S_ILOA_CRT (create) and S_ILOA_CHG (change)

Steps

  1. Access transaction IL01 in SAP and select your plant from the selection screen
  2. Enter a functional location name in the Functional Location field using naming convention: PLANT-AREA-SYSTEM-LEVEL (e.g., PL01-PROD-PUMP-001)
  3. In the Category dropdown, select the appropriate functional location category (typically A for equipment or B for assemblies)
  4. Fill the Description field with clear maintenance context (e.g., "Main Production Pump - Building A")
  5. In the Structure Indicator section, assign the parent functional location by entering it in the Superior Functional Location field to create hierarchy levels
  6. Set the Installation Status to PLAN (planned), INST (installed), or DECOM (decommissioned) based on current state
  7. On the Address tab, assign the work center responsible for maintenance using the Maintenance Work Center field
  8. Configure the Parameters tab by selecting applicable technical characteristics (pressure ratings, temperature limits, capacity)
  9. Save the functional location with Ctrl+S and note the system-generated technical ID

Code

REPORT zpm_functional_location_create.

DATA: lt_iflotx TYPE TABLE OF iflotx,
      ls_iflotx TYPE iflotx,
      lt_tplkt TYPE TABLE OF tplkt,
      ls_tplkt TYPE tplkt,
      lv_funcloc TYPE iloa-tplnr,
      lv_parent TYPE iloa-struc,
      lv_plant TYPE iloa-werks.

PARAMETERS: p_plant TYPE iloa-werks DEFAULT '1000',
            p_parent TYPE iloa-tplnr,
            p_funcloc TYPE iloa-tplnr,
            p_desc TYPE iloa_txt-pltxt.

SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE 'Functional Location Data'.
PARAMETERS: p_categ TYPE iloa-ilokz DEFAULT 'A',
            p_status TYPE iloa-statxt DEFAULT 'INST',
            p_wcenter TYPE iloa-inawz.
SELECTION-SCREEN END OF BLOCK b1.

AT SELECTION-SCREEN.
  SELECT SINGLE

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
Difficultybeginner
Version1.0.0
AuthorClaude Skills Hub
sappmfunctional-location

Install command:

curl -o ~/.claude/skills/sap-pm-functional-location.md https://clskills.in/skills/sap/sap-pm-functional-location.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.