Status

Owner
StakeholdersThe business stakeholders involved in making, reviewing, and endorsing this decision. Type @ to mention people by name

Purpose

Bin Sorting is a new functionality in SAP S/4HANA EWM that determines the order in which bins are processed for warehouse activities such as picking, replenishment, and inventory. Sorting can be created manually, uploaded from a template, or generated automatically by the system using standard transaction /SCWM/SBST. This document defines the conversion approach for setting up bin sorting records, either via automated generation or manual upload of business-provided sequences.


Conversion Scope


This section clarifies the boundaries of the bin sorting conversion.

Included:

  • Creation of bin sorting records where business provides a template with manual sort logic.

  • Upload of bin sorting sequences through upload transaction or via conversion load.

  • Standard generation of bin sorting via /SCWM/SBST where no business template is provided.

Excluded:

  • Creation of bin master data (bins must exist prior to sorting).

  • Creation of customizing/master data for activity types, activity areas, storage types, or storage sections.

  • Any process re-design not related to sequencing.

Target System and Approximate Volumes:

  • SAP S/4HANA EWM: TBD

Additional Information

  • Multi-language: Not applicable.

  • Document Management: Per program governance.

  • Legal Requirements: None identified for sequencing.

  • Special Requirements: Sorting must align with business-defined pick paths and operational constraints in each activity area.

Summary paragraph: If business requires custom sorting beyond the system-generated sequence from /SCWM/SBST, this will be captured in the upload template and loaded as part of the migration effort.



Target Design

The bin sorting entries are stored in EWM and reference bin, warehouse, and operational structures. Only target-relevant fields are listed below; any additional DCT fields used for governance or filtering (e.g., Company Code) are staging-only and not loaded.

Target Table: /SCWM/LAGPS

TableFieldData Element (if known)Field DescriptionData TypeLengthRequirementAllowed Values / ReferenceNotes
/SCWM/LAGPSLGNUMLGNUMWarehouse NumberCHAR4RequiredExisting warehousesMust exist in target customizing
/SCWM/LAGPSLGPLALGPLAStorage BinCHAR18RequiredMust exist in /SCWM/LAGP (Field : LAGPLA )Key bin reference
/SCWM/LAGPSACT_TYPEACT_TYPEActivityCHAR4Required/SCWM/TACTTY-ACT_TYPEActivity relevant for the bin
/SCWM/LAGPSAAREAAAREAActivity AreaCHAR4Required/SCWM/TAAREA(Field :AAREA)Grouping of bins for activities
/SCWM/LAGPSLGTYPLGTYPStorage TypeCHAR4Required/SCWM/T331 (Field: LGTYP)Spatial area within warehouse
/SCWM/LAGPSLGBERLGBERStorage SectionCHAR4Required/SCWM/T302 (Field : LGBER)Section within storage type
/SCWM/LAGPSAISLEAISLEBin AisleCHAR18OptionalN/ABusiness-provided aisle identifier
/SCWM/LAGPSSRT_NRSRT_NRSort NumberDEC10RequiredN/ASorting sequence number
/SCWM/LAGPSRANKRANKSequence NumberNUMC5RequiredN/ASecondary/order-inside tie-breaker

Template Upload Fields:

  • Warehouse Number (LGNUM)

  • Storage Bin (LGPLA)

  • Activity (ACT_TYPE)

  • Sequence Number (SRT_NR)

  • Activity Area (AAREA)

  • Storage Type (LGTYP)

  • Storage Section (LGBER)

  • Sort Sequence 

Summary paragraph: /SCWM/LAGPS holds bin sorting information. If no manual template is uploaded, /SCWM/SBST will generate records automatically using available bins.

Data Cleansing


Data cleansing ensures only valid, load-ready records proceed.

IDCriticalityError MessageDescriptionRule OutputSource
1HighBin does not existLGPLA must exist in /SCWM/LAGPReject recordDCT
2HighInvalid activityACT_TYPE must exist in /SCWM/TACTTYReject recordDCT 
3HighInvalid activity areaAAREA must exist in /SCWM/TAAREAReject recordDCT 
4HighInvalid storage typeLGTYP must exist in /SCWM/T331Reject recordDCT 
5HighInvalid storage sectionLGBER must exist in /SCWM/T302Reject recordDCT 
6MediumDuplicate keyDuplicate across (LGNUM, AAREA, ACT_TYPE, LGPLA)Reject or dedupe per ruleDCT
7MediumSort out of rangeSRT_NR not numeric/too largeCorrect & reloadDCT
8LowRank out of rangeRANK not NUMC(5)Pad or correctDCT



Summary paragraph: For manual uploads, data integrity checks prevent duplicates, invalid references, or non-numeric sequences. For /SCWM/SBST, the system inherently generates valid data.




Conversion Process

The high-level process is represented by the diagram below:

High-level sequence for moving data from source to target.

  1. Where business provides input, collect bin sorting sequences in upload template.

  2. Validate key references (bin, activity type, activity area, storage type/section).

  3. Apply transformation rules and mappings.

  4. Prepare target load file

  5. Execute load or run /SCWM/SBST if no manual input provided.

Summary paragraph: The process supports both automated (system-generated) and manual (template-driven) sorting, ensuring warehouse flexibility while maintaining system integrity.


Data Privacy and Sensitivity

Summarize Data Privacy and Sensitivity Requirements, if any


Extraction


Extraction obtains the raw/bin-level sequencing data.

Method(s):

  • Manual DCT maintained by business where manual sorting is required.

Extraction Run Sheet

Req #Requirement DescriptionTeam Responsible
1Distribute and collect signed-off DCT (if applicable)Business
2Validate DCT structure vs. templateData Migration
3Validate bin and reference master existenceData Migration


Extraction Dependencies

Item #Step DescriptionTeam Responsible
1Confirm bins exist (LAGP)Functional / Business
2Ensure reference masters exist (TACTTY, TAAREA, T331, T302)Functional
3Confirm template fields match agreed designData Migration / MDO


Summary paragraph: Manual templates are required only when specific sequences are demanded by business; otherwise, /SCWM/SBST auto-generates sorting data.

Data Collection Template (DCT)


The DCT defines required columns, formats, and validation rules.

DCT Rules

Field NameField DescriptionRuleDCT Column Help Guide 
LGNUMWarehouse NumberCopyAWarehouse Number
Identifies which warehouse the bin sorting rules apply to.
LGPLAStorage BinCopyBStorage Bin
The bin whose sequence or order you are defining.
ACT_TYPEActivityCopyCAct Type (Activity Type)
Specifies the warehouse activity (e.g., picking) for which this sort order applies.
AAREAActivity AreaCopyEAArea (Activity Area)
Logical grouping of bins used to define pick paths or activity-based sorting.
LGTYPStorage TypeCopyFStorage Type
The warehouse area where the bin is physically located.
LGBERStorage SectionCopyGStorage Section
A sub-area within a storage type used for grouping similar products or locations.
AISLEBin AisleCopyHBin Aisle
The aisle identifier used for organizing bin layouts and sort order.
SRT_NRSort NumberCopyI

SRT_NR (Sort Number)
The numeric value that determines the bin’s sequence within the activity area.



RANKSequence NumberCopyDRank
Used to prioritize bins when multiple bins share the same sorting logic

Summary paragraph: The template is only applicable for manual upload. If no DCT is provided, bin sorting will be auto-generated in /SCWM/SBST with default logic.




Transformation

Transformation aligns source values with target requirements and formats.


Transformation Dependencies

Item #DependencyDescription
1Bin master (/SCWM/LAGP)Must be loaded first
2Activity type/areaMust exist in system
3Storage structuresMust exist in system

Summary paragraph: Transformation is not required when /SCWM/SBST is used. For manual upload, values are validated and mapped to target definitions before loading.

Transformation Mapping


Purpose: Transformation mapping ensures that fields from the source template (DCT)  are correctly aligned with the target table /SCWM/LAGPS. This mapping is key for Syniti or any ETL tooling.
Source Field (DCT) Description Target FieldTransformation RuleNotes
Warehouse NumberLGNUMDirect mapping; must exist in customizingMandatory
Storage BinLGPLADirect mapping; validate against /SCWM/LAGPMandatory
ActivityACT_TYPEDirect mapping; validate against /SCWM/TACTTYMandatory
Activity AreaAAREADirect mapping; validate against /SCWM/TAAREAMandatory
Storage TypeLGTYPDirect mapping; validate against /SCWM/T331Mandatory
Storage SectionLGBERDirect mapping; validate against /SCWM/T302Mandatory
Sort SequenceSRT_NRNumeric check, enforce max length 10Mandatory
Sequence NumberRANKZero-pad to NUMC(5)Mandatory
Aisle (optional)AISLEPass-through if providedOptional

Summary paragraph: All fields map directly with validation dependencies on existing master/configuration objects. Syniti mapping will ensure governance, cleansing, and automation of the transformation layer.

Pre-Load Validation

Project Team
Ensures completeness and accuracy of the technical dataset.

TaskDescription
CompletenessAll fields in DCT are populated (if provided)
AccuracyValidate codes against target system; no duplicates. Verify record counts are accurate 

Business Team
Validates operational alignment of bin sequencing.

TaskDescription
CompletenessAll bins requiring manual sorting are included
AccuracySorting order aligns with defined pick paths and business requirements. Validate relevant error reports. 

Summary paragraph: If no manual sorting is provided, validation focuses on system auto-generated output from /SCWM/SBST. If manual template is used, validation covers both technical integrity and operational correctness.

Load

The load process includes:

  1. Execute the automated data load into target system using load tool or product the load file if the load must be done manually
  2. Once the data is loaded to the target system, it will be extracted and prepared for Post Load Data Validation


Sample Load File :

Load Run Sheet

The load process includes the following steps:

  1. Prepare Load File: Format and validate the DCT into the target layout.

  2. Execute Load: Use manual upload process to load DCT template

  3. Post-Load Validation: Run both technical (record counts, field validation) and business (functional sequencing validation) checks.

Summary paragraph: The run sheet provides step-by-step transparency. Data must be re-extracted after loading to confirm alignment with input files and business expectations.


Configuration

Configuration must be completed in the target system before the bin sorting load can commence.

Config ObjectDescriptionSystem Table / TransactionResponsible Team
BinsAll relevant bins must be created and active/SCWM/LAGPFunctional Team
Activity TypesActivities relevant to bin sorting must exist/SCWM/TACTTYFunctional Team
Activity AreasActivity areas must be defined and linked to activities/SCWM/TAAREAFunctional Team
Storage TypesTarget storage types must exist/SCWM/T331Functional Team
Storage SectionsSections within storage types must exist/SCWM/T302Functional Team

Summary paragraph: Without prerequisite configuration, bin sorting cannot be loaded. Dependencies include bin master creation and setup of activity areas and warehouse structures.


Error Handling

The table below depicts some possible system errors for this data object during data load. All data load errors must be logged as defects and managed within the Defect Management Process.

Error TypeError DescriptionAction Taken
ReferentialMissing bin or invalid reference (e.g., LGPLA not in /SCWM/LAGP)Reject; log defect; escalate to cleansing
ReferentialInvalid Activity/Activity Area (ACT_TYPE, AAREA)Reject; log defect; escalate to functional owner
FormatSort number or rank invalidCorrect in DCT and reload; defect logged
DuplicateDuplicate record across key fieldsRemove/adjust; reload; defect tracked
SystemUpload job failureInvestigate error log, correct, and resubmit

Summary paragraph: All errors must be systematically logged, triaged, and resolved via defect management tools. This ensures traceability and accountability across migration cycles.



Post-Load Validation


Project Team
Responsible for technical validation of the loaded dataset.

Validation TypeTask
CompletenessConfirm record count matches DCT (if applicable) or system generation outcome
AccuracyValidate field values (LGNUM, LGPLA, ACT_TYPE, AAREA, LGTYP, LGBER, SRT_NR, RANK) match input

Business Team
Responsible for confirming operational validity.

Validation TypeTask
CompletenessEnsure all relevant activity areas and bins have sorting defined
AccuracyConfirm picking path, replenishment, and activity execution align with expected bin order


Summary paragraph: Project team validates the technical integrity of loaded data, while the business team ensures operational accuracy and usability. Both dimensions must pass before sign-off.

Key Assumptions

  • Bin master data exists in /SCWM/LAGP before bin sorting load.

  • Activity types (/SCWM/TACTTY), Activity Areas (/SCWM/TAAREA), Storage Types (/SCWM/T331), and Storage Sections (/SCWM/T302) are fully configured before load.

  • Business will provide manual template only if a specific sequence is required; otherwise, /SCWM/SBST will be used.

  • Upload/load tools are available and tested prior to execution.

  • Data validation rules and governance are agreed and signed off before load execution.

Summary paragraph: These assumptions form the basis of the conversion plan. Any deviation (e.g., missing master data or delayed template delivery) may impact load timelines.


See also

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.

Change log

Workflow history