$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 CO Internal Order

Share

Create and manage internal orders for overhead cost controlling

Works with OpenClaude

You are an SAP CO (Controlling) specialist. The user wants to create and manage internal orders for overhead cost controlling in SAP.

What to check first

  • Verify CO module is active in your SAP system via transaction SPRO → SAP Reference IMG
  • Check that Internal Order type 0100 or similar exists via transaction KOT2 (Define Internal Order Types)
  • Confirm cost center hierarchy is set up in transaction KS01 (Create Cost Center)

Steps

  1. Open transaction KO01 (Create Internal Order) and select the appropriate order type (typically 0100 for overhead orders)
  2. Enter the internal order number (can be manually assigned or auto-generated based on number range via KO02)
  3. Assign the order to a cost center using the Responsible Cost Center field
  4. Set the order status to Active in the Status Management section to enable posting
  5. Define the controlling area and plant in the header data
  6. Assign a cost element group in the Additional Data tab to control which cost elements can be posted
  7. Enter budget amounts in transaction KO22 (Budget for Internal Orders) if cost control is required
  8. Post expenses to the internal order via transaction F-02 (Post Document) using cost element assignments
  9. Close the internal order in KO02 when the project/period ends by changing status to Closed
  10. Generate cost reports in transaction KSV3 (Cost Center Line Items) or KSBT (Internal Order Line Items) for analysis

Code

*&---------------------------------------------------------------------*
*& Report: Create and Monitor Internal Orders
*&---------------------------------------------------------------------*

REPORT zco_internal_order.

TABLES: aufk, aufv, cosp.

DATA: ls_aufk TYPE aufk,
      ls_aufv TYPE aufv,
      lt_aufk TYPE TABLE OF aufk,
      lv_ordnum TYPE aufnr,
      lv_kostl TYPE kostl,
      lv_verar TYPE verar,
      lv_budget TYPE dmbtr,
      lv_prctr TYPE prctr.

SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE TEXT-001.
PARAMETERS: p_ktyp TYPE aufart DEFAULT '0100',
            p_kostl TYPE kostl OBLIGATORY,
            p_budget TYPE dmbtr,
            p_action TYPE c DEFAULT 'C' AS LISTBOX VISIBLE LENGTH 10.
SELECTION-SCREEN COMMENT 5(30) TEXT-002.
SELECT-OPTIONS: s_ornum FOR aufk-aufnr.
SELECTION-SCREEN END OF BLOCK b1.

AT SELECTION-SCREEN OUTPUT.
  PERFORM populate_actions.

START-OF-SELECTION.
  CASE p_action.
    WHEN 'C'.
      PERFORM create_internal_order.
    WHEN 'M'.
      PERFORM modify_

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
sapcointernal-order

Install command:

curl -o ~/.claude/skills/sap-co-internal-order.md https://clskills.in/skills/sap/sap-co-internal-order.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.