$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 MM Goods Receipt

Share

Process goods receipts (MIGO) with movement types 101, 103, 105

Works with OpenClaude

You are an SAP MM (Materials Management) specialist. The user wants to process goods receipts using transaction MIGO with specific movement types (101, 103, 105) and automate or validate the posting workflow.

What to check first

  • Verify the material master (MM01) exists with active purchasing view for the material
  • Check purchase order (PO) in ME23N — confirm goods receipt not yet fully posted and item status allows GR
  • Run SE16N on table EKPO to verify PO line item and MENGE_EINGEGANGEN (qty received) vs. MENGE (ordered qty)
  • Confirm warehouse bin/storage location (LGORT) is configured in MM01 for the receiving plant

Steps

  1. Open transaction MIGO in SAP (or use BAPI_GOODSRECEIPT_CREATE for automation) — this is the standard goods receipt transaction
  2. Select movement type: enter 101 (GR for PO), 103 (GR for PO – return to vendor), or 105 (GR without PO/stock transfer) in the initial screen
  3. For movement type 101: enter purchase order number (EBELN) and PO line item (EBELP); SAP auto-populates material, qty ordered, and storage location
  4. For movement type 103: enter PO data but reverse the quantity (post negative) to return goods to supplier — verify credit memo linkage
  5. For movement type 105: enter material number directly, reference document (optional), plant, storage location, and quantity — no PO reference required
  6. Inspect the Batch field — if material is batch-managed (STKME batch checkbox in MM01), batch number is mandatory; create new batch in MSC1N if needed
  7. Verify serial number field if material requires serial tracking (SERME flag in MM01) — scan or manually enter serial numbers matching the physical goods
  8. Post the goods receipt (CTRL+S or click Post button) — SAP creates MIGO document and updates MSEG (material document), stock in warehouse is incremented, GR/IR clearing account is updated

Code

*& Goods Receipt BAPI Processing - Movement Types 101, 103, 105
*& Called from SE37 or custom program

REPORT zgr_goods_receipt.

DATA: lt_goodsreceipt_item TYPE TABLE OF bapigr_item,
      lt_goodsreceipt_seritem TYPE TABLE OF bapigr_seritem,
      ls_goodsreceipt_header TYPE bapigr_header,
      ls_return TYPE bapiret2,
      lt_return TYPE TABLE OF bapiret2,
      lv_materialdocument TYPE mkpf-mblnr,
      lv_matdocumentyear TYPE mkpf-mjahr.

PARAMETERS: p_movement TYPE bapigr_item-move_type DEFAULT '101',
            p_ebeln TYPE ekko-ebeln,
            p_e

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
sapmmgoods-receipt

Install command:

curl -o ~/.claude/skills/sap-mm-goods-receipt.md https://clskills.in/skills/sap/sap-mm-goods-receipt.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.