Sub topic 2
The Plant: The Operational Site for Production, Procurement, and Planning
Assume you know basic ERP functions, relational tables, and SAP navigation. In SAP, a plant is an organizational unit that represents an operational site. It can be a factory, warehouse, distribution center, or service location.
A plant is the main level for:
- Material requirements planning and production
- Procurement and goods receipt
- Inventory management
- Plant-specific material data
- Shipping and logistics processes
A plant can have its own address, calendar, purchasing settings, and planning parameters. Its meaning is logical, so one physical site can be modeled as one or several plants when processes or legal assignments require that separation.
Assignment to a Company Code
A company code is the legal accounting entity that produces financial statements. Every plant belongs to exactly one company code. This assignment lets SAP connect operational postings, such as goods receipts and inventory changes, to financial accounting.
A company code can contain several plants:
| Relationship | Meaning |
|---|---|
| One plant to one company code | A plant has one legal accounting owner |
| One company code to many plants | One legal entity can operate several sites |
| One storage location to one plant | Stock locations are defined inside a plant |
The plant-to-company-code assignment does not mean that every business process must use the same plant. It means that postings made for that plant use the assigned company code for accounting.
Storage Locations Within a Plant
A storage location is a subdivision of a plant where stock is managed. It can represent a warehouse, production store, quality area, or shipping area. The combination of plant and storage location identifies the stock location.
For example, storage location 0001 in plant 1100 is different from 0001 in plant 1200. Stock quantities in table MARD are held at material, plant, and storage-location level.
REPORT zdemo_storage_locations.
DATA lv_werks TYPE werks_d VALUE '1000'.
SELECT lgort, lgobe
FROM t001l
WHERE werks = @lv_werks
INTO TABLE @DATA(lt_storage_locations).
LOOP AT lt_storage_locations ASSIGNING FIELD-SYMBOL(<location>).
WRITE: / <location>-lgort, <location>-lgobe.
ENDLOOP.Exercise
Can storage location 0001 in two different plants identify the same stock location?
Show answer
No. A storage location is unique only within its plant, so the plant and storage-location keys must be considered together.