Setup Step 14 — Customer / Vendor for Inter-Company STO
🎯 Why this setting exists
💡 Easy example
- Karachi is set up as a vendor inside Dubai's books — so PSAE can record a payable to Karachi.
- Dubai is set up as a customer inside Karachi's books — so PSPK can bill Dubai and book the receivable.
🔗 How this connects to everything else
This is a bridge setting — it only matters once you cross a company-code boundary, and it leans on master data and the SD module to actually move and bill the goods. Here's the web around it.
⬆️ Depends on (must exist first)
- Step 3 — Plants: both the supplying plant (PK01) and receiving plant (AE01) must already exist, each assigned to its own company code.
- Step 18 — BP / Vendor & Customer master: the Business Partner config and number ranges must be live so you can create the customer + vendor roles here.
- An SD sales area (Sales Org / Distribution Channel / Division) to attach to the shipping data in OMGN.
⬇️ Enables (what this unlocks)
- Inter-company STO — the full cross-company stock-transfer flow in Scenario 8.
- Its SD leg — outbound delivery + inter-company billing, configured in Step 16.
- Inter-company invoice posting between PSPK and PSAE (the receivable/payable pair).
🧩 Who owns it & why MM cares
MMSD A shared MM↔SD setting. To ship between two company codes, the supplying plant needs a vendor identity and the receiving plant a customer identity, so SAP can raise an internal delivery + invoice. MM owns the STO and the plant shipping data (OMGN); SD owns the delivery and billing that ride on top.
🔮 Links to other modules (now & later)
- SD Delivery: the customer assigned to the supplying plant drives the outbound delivery (VL10B / VL02N).
- SD Billing: inter-company billing type (IV) creates the invoice between the two company codes.
- FI The invoice posts a receivable in the supplier CC and a payable in the receiver CC.
🔧 Configuration — fields & steps
BP create master data · OMGN SPRO → MM → Purchasing → Purchase Order → Set up Stock Transport Order → Define Shipping Data for Plants
What OMGN actually does
OMGN defines the shipping data per plant. For each plant you assign the Customer number (used when this plant acts as a supplier and must ship via an SD delivery) plus the Sales Area — Sales Org / Distribution Channel / Division. This is what lets SD raise an outbound delivery for a cross-company stock movement.
Action sequence (when you're ready)
- Create a Customer for Plant
PK01in CCPSAEvia BP with the customer role. - Create a Vendor for Plant
PK01in CCPSAEvia BP with the vendor role. - Do the same in reverse: create the Customer + Vendor for Plant
AE01in CCPSPK. - Run OMGN → maintain shipping data per plant (which customer represents which plant, plus its sales area).
- Configure inter-company billing in SD — see Step 16.
🧭 Which identity does each plant need?
| Plant | Home company code | Identity needed in the OTHER CC | Why |
|---|---|---|---|
| PK01 (Karachi) | PSPK | Vendor in PSAE, Customer in PSAE | Vendor: so Dubai can owe it. Customer: links to the SD delivery when Karachi ships. |
| AE01 (Dubai) | PSAE | Customer in PSPK, Vendor in PSPK | Customer: so Karachi can bill it. Vendor: for the reverse direction (Dubai shipping back). |
Rule of thumb: a plant is a vendor in the buyer's books and a customer in the seller's books. Set up both directions and either plant can supply the other.
🚨 Issues & fixes
| Symptom | Cause | Fix |
|---|---|---|
| STO PO won't let you pick the receiving plant / "not defined for cross-company" | Shipping data missing for the plant in OMGN | Run OMGN → add the plant → assign its customer + sales area. |
| Delivery (VL10B) finds no customer for the supplying plant | Plant has no customer number assigned in shipping data | Maintain the Customer field for that plant in OMGN. |
| Inter-company invoice fails / no payable raised | Vendor identity for the supplying plant missing in the buyer's CC | Create the vendor via BP in the buyer company code. |
More cross-company errors are catalogued in the Troubleshooting Center.
✅ Verification
- In OMGN, both
PK01andAE01show a Customer number + a complete Sales Area. - Via BP, the supplying plant exists as a vendor in the buyer's CC and the receiving plant exists as a customer in the seller's CC.
- You can create a cross-company STO PO and follow it through to a delivery + inter-company invoice — walked through in Scenario 8.