| Status | |
|---|---|
| Owner | |
| Stakeholders | The business stakeholders involved in making, reviewing, and endorsing this decision. Type @ to mention people by name |
The purpose of this specification is to define the end-to-end approach for migrating Storage Bin Master Data from the legacy SAP WM environment into S/4HANA Extended Warehouse Management (EWM).
Storage bins are critical to warehouse operations as they represent the smallest managed physical units in a warehouse. They determine where stock is stored, how it is accessed, and which restrictions or capacities apply. Accurate migration ensures operational continuity post-cutover.
This document covers:
Scope of bins to be converted.
Extraction, transformation, cleansing, and loading approach.
Detailed field-level mappings.
Dependencies, error handling, validations, and governance rules.
Bins will be created via Data Collection Template (DCT) and uploaded using transaction /SCWM/SBUP.
.
Active, operational bins from the legacy WM system.
Migration of all mandatory and optional fields required for EWM bin creation:/SCWM/LAGP-LGNUM, LGPLA, LGTYP, LGBER, BIN_AT, BRAND, LPTYP, LGBER_LGST, MAX_WEIGHT, MAX_VOLUME, MAX_CAPA, AISLE, STACK, LVL_V, BINSC, ANGLE, X_CORD, Y_CORD, Z_CORD, DEPTH, VERIF, SKZUA, SKZUE.
Transformation of 3-character warehouse objects (warehouse number, storage type, storage section) to 4-character objects in S/4HANA.
Upload through transaction /SCWM/SBUP using a Data Collection Template (DCT).
Deleted, obsolete, or test bins.
Warehouses not part of deployment scope.
Bin sorting rules, process type assignments, or fixed bin assignments (handled as separate conversion objects).
N/A
N/A
N/A
N/A
The technical design of the target for this conversion approach.
| Field Name | Technical Field | Description | Data Type | Length | Requirement | Transformation Rule |
|---|---|---|---|---|---|---|
| Warehouse Number | /SCWM/LAGP-LGNUM | Warehouse Number | CHAR | 4 | Required | Legacy 3 → 4 char |
| Storage Bin | /SCWM/LAGP-LGPLA | Storage Bin | CHAR | 18 | Required | 1:1 copy |
| Storage Type | /SCWM/LAGP-LGTYP | Storage Type | CHAR | 4 | Required | Legacy 3 → 4 char |
| Storage Section | /SCWM/LAGP-LGBER | Storage Section | CHAR | 4 | Optional | Legacy 3 → 4 char |
| Bin Access Type | /SCWM/LAGP-BIN_AT | Bin Access Type | CHAR | 2 | Optional | Copy if available |
| Fire Containment Section | /SCWM/LAGP-BRAND | Fire Containment Section | CHAR | 2 | Optional | Copy if available |
| Storage Bin Type | /SCWM/LAGP-LPTYP | Bin Type | CHAR | 2 | Optional | Copy/default |
| Storage Group | /SCWM/LAGP-LGBER_LGST | Storage Group | CHAR | 4 | Optional | Copy if available |
| Maximum Weight | /SCWM/LAGP-MAX_WEIGHT | Maximum Weight | QUAN | 13 | Optional | Copy/default |
| Maximum Volume | /SCWM/LAGP-MAX_VOLUME | Maximum Volume | QUAN | 13 | Optional | Copy/default |
| Total Capacity | /SCWM/LAGP-MAX_CAPA | Total Capacity | QUAN | 13 | Optional | Copy/default |
| Bin Aisle | /SCWM/LAGP-AISLE | Bin Aisle | CHAR | 3 | Optional | Copy |
| Stack | /SCWM/LAGP-STACK | Stack | CHAR | 3 | Optional | Copy |
| Level | /SCWM/LAGP-LVL_V | Level | CHAR | 3 | Optional | Copy |
| Bin Section | /SCWM/LAGP-BINSC | Bin Section | CHAR | 3 | Optional | Copy |
| Bin Angle | /SCWM/LAGP-ANGLE | Bin Angle | CHAR | 3 | Optional | Copy |
| X Coordinate | /SCWM/LAGP-X_CORD | X Coordinate | NUMC | 6 | Optional | Copy |
| Y Coordinate | /SCWM/LAGP-Y_CORD | Y Coordinate | NUMC | 6 | Optional | Copy |
| Z Coordinate | /SCWM/LAGP-Z_CORD | Z Coordinate | NUMC | 6 | Optional | Copy |
| Bin Depth | /SCWM/LAGP-DEPTH | Bin Depth | NUMC | 3 | Optional | Copy |
| Verification | /SCWM/LAGP-VERIF | Verification Indicator | CHAR | 1 | Optional | Copy |
| Removal Block | /SCWM/LAGP-SKZUA | Removal Block | CHAR | 1 | Optional | Copy |
| Putaway Block | /SCWM/LAGP-SKZUE | Putaway Block | CHAR | 1 | Optional | Copy |
Data cleansing is essential to avoid loading irrelevant or invalid bins into EWM.
| Cleansing Rule | Description | Responsibility |
|---|---|---|
| Obsolete bins | Exclude bins marked for deletion in LAGP | Data Team |
| Non-operational bins | Exclude bins not tied to operational storage types | Business Team |
| Invalid capacities | Correct or default any negative or missing MAXWE/MAXVO/CAPA values | Business / Project Team |
| Duplicates | Eliminate duplicate bin records | Data Team |
| Coordinate integrity | Ensure X/Y/Z coordinates are consistent with warehouse layout | Business Team |
| Block indicators | Validate correctness of removal/putaway blocks | Warehouse Operations |
The high-level process is represented by the diagram below:

The process is divided into the following stages:
Extraction – Pull relevant fields from legacy LAGP.
Cleansing – Apply rules to remove duplicates, obsolete bins, invalid values.
Transformation – Apply mapping (3 → 4 char), defaults, and adjustments.
Pre-Load Validation – Confirm counts and mapping accuracy.
Load – Upload DCT file via /SCWM/SBUP.
Post-Load Validation – Confirm successful bin creation in target.
Source System/Table:
LAGP (WM Storage Bin Master) in legacy SAP WM.
Extraction Run Sheet
| Legacy Field | Target Field | Notes |
|---|---|---|
| LAGP-LGNUM | /SCWM/LAGP-LGNUM | 3 → 4 char |
| LAGP-LGTYP | /SCWM/LAGP-LGTYP | 3 → 4 char |
| LAGP-LGPLA | /SCWM/LAGP-LGPLA | 1:1 |
| LAGP-LGSAE | /SCWM/LAGP-LGBER | 3 → 4 char |
| Remaining fields | As per mapping | Direct copy/default |
<Object> DCT Rules
The DCT serves as the upload file for /SCWM/SBUP.
Mandatory columns: LGNUM, LGTYP, LGPLA.
Optional columns included if available and relevant.
Populated from transformed extract.
Used both for load and as record of migration scope.
Example DCT Structure:
| LGNUM | LGTYP | LGBER | LGPLA | BIN_AT | BRAND | LPTYP | LGBER_LGST | MAX_WEIGHT | MAX_VOLUME | MAX_CAPA | AISLE | STACK | LVL_V | BINSC | ANGLE | X_CORD | Y_CORD | Z_CORD | DEPTH | VERIF | SKZUA | SKZUE |
|---|
Target warehouse org structure (LGNUM, LGTYP, LGSEC) must exist.
Mapping of 3 → 4 char codes finalized and signed off.
Legacy data must be cleansed prior to staging.
Notes:
Mandatory: LGNUM, LGTYP, LGPLA.
All other fields are optional depending on warehouse design.
Validation will check presence of mandatory fields before load.
Transformation covers:
Org fields: 3 → 4 char conversion for LGNUM, LGTYP, LGSEC.
Bin numbers: Migrated 1:1 (LGPLA).
Capacities: Defaults applied if missing.
Blocks and verification: Carried forward only if maintained.
Coordinates: Loaded if consistent with warehouse design.
| Step | Description | Responsibility |
|---|---|---|
| 1 | Apply org field mapping (LGNUM, LGTYP, LGSEC) | Project Team |
| 2 | Populate defaults for missing capacity values | Project Team |
| 3 | Validate block indicators with Business | Business / Project Team |
| 4 | Generate transformed DCT | Project Team |
Transformation Rules
| Rule # | Legacy Field | Target Field | Logic |
|---|---|---|---|
| 1 | LGNUM | /SCWM/LAGP-LGNUM | Map 3 → 4 char |
| 2 | LGTYP | /SCWM/LAGP-LGTYP | Map 3 → 4 char |
| 3 | LGSAE | /SCWM/LAGP-LGBER | Map 3 → 4 char |
| 4 | LGPLA | /SCWM/LAGP-LGPLA | 1:1 |
| 5 | MAX_WEIGHT | /SCWM/LAGP-MAX_WEIGHT | Copy or default |
| 6 | MAX_VOLUME | /SCWM/LAGP-MAX_VOLUME | Copy or default |
| 7 | MAX_CAPA | /SCWM/LAGP-MAX_CAPA | Copy or default |
| 8 | SKZUA | /SCWM/LAGP-SKZUA | Copy if set |
| 9 | SKZUE | /SCWM/LAGP-SKZUE | Copy if set |
Mapping tables will be maintained for:
Warehouse Number (legacy 3-char → EWM 4-char)
Storage Type (legacy 3-char → EWM 4-char)
Storage Section (legacy 3-char → EWM 4-char)
| Legacy Value | Target Value | Description |
|---|---|---|
| 101 | WH01 | Warehouse 101 → WH01 |
| 001 | 0001 | Storage Type 001 → 0001 |
| A01 | SA01 | Section A01 → SA01 |
Mapping tables must be reviewed and approved by Functional and Business owners.
Warehouse customizing must match mapping values.
Legacy cleansing must be completed before transformation.
| Check Type | Activity | Responsible |
|---|---|---|
| Completeness | Verify bin counts per warehouse | Project Team |
| Accuracy | Check mappings vs customizing | Project Team |
| Business Validation | Confirm bins and attributes align with warehouse design | Business Team |
The load process includes:
| Step | Description | Responsibility |
|---|---|---|
| 1 | Upload DCT into /SCWM/SBUP | Project Team |
| 2 | Monitor error log | Project Team |
| 3 | Correct and reload failed bins | Project Team |
| 4 | Validate created bins in /SCWM/LAGP | Business / Project Team |
Load Phase and Dependencies
Predecessor: Warehouse org structure migration.
Successor: Bin sorting, warehouse process type assignment.
List the Configurations required before loading can commence
N/A| Object # | Preceding Object Conversion Approach |
|---|---|
| list the exact title of the conversion object of only the immediate predecessor – this will then confirm the DDD (Data Dependency Diagram) | |
/SCWM/SBUP rejects invalid or incomplete bins.| Error Type | Example | Resolution |
|---|---|---|
| Missing mandatory field | LGNUM not provided | Correct DCT and reload |
| Invalid mapping | Legacy 101 not mapped to WH01 | Update mapping table |
| Incorrect capacity values | MAX_WEIGHT = negative | Correct or default value |
| Org mismatch | LGTYP not configured in target warehouse | Validate customizing |
| Bin already exists | Duplicate LGPLA | Remove duplicate before reload |
Error Handling Process
Run /SCWM/SBUP and review error log.
Categorize errors (mapping, cleansing, config, duplication).
Correct DCT file.
Reload corrected bins.
Track and report error resolution status to Project Governance.
| Check Type | Activity | Responsibility |
|---|---|---|
| Completeness | Compare loaded vs extracted counts | Project Team |
| Accuracy | Spot check field mappings | Project Team |
| Business Process | Test putaway/removal to verify bin usability | Business Team |
/SCWM/SBUP is the only upload method.Insert links and references to other documents which are relevant when trying to understand this decision and its implications. Other decisions are often impacted, so it's good to list them here with links. Attachments are also possible but dangerous as they are static documents and not updated by their authors.