Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Status

Page Status

OwnerRAYUDU Narasimha Kumar
Stakeholders

Purpose

The purpose of this document is to define the conversion approach to define EWM Bin Sorting in S/4 HANA

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

The scope of this document covers the approach for 
from Legacy Source Systems into S/4HANA following the Master Data Design Standard.

The data from legacy system includes:

The data from legacy system excludes:

List of source systems and approximate number of records


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

SourceScope

Source Approx No. of Records

Target SystemTarget Approx

No. of Records

Additional Information

  • Multi-language

Requirement
  • : Not applicable.

  • Document Management: Per program governance.

  • Legal

Requirement
  • 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.

Special Requirements



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 technical design of the target for this conversion approach.

TableFieldData Element (if known)Field DescriptionData TypeLengthRequirementAllowed Values / ReferenceNotes
/SCWM/LAGPSLGNUMLGNUMWarehouse Number
Mandatory
CHAR4RequiredExisting warehousesMust exist in target customizing
/SCWM/LAGPSLGPLALGPLAStorage
binMandatory
BinCHAR18RequiredMust exist in /SCWM/LAGP (Field : LAGPLA )Key bin reference
/SCWM/LAGPSACT_TYPEACT_TYPEActivity

Mandatory

Activity types INTL, INVE,PICK,PTWY,REPL,STCH will be used.
CHAR4Required/SCWM/TACTTY-ACT_TYPEActivity relevant for the bin
/SCWM/LAGPSAAREAAAREAActivity Area
Mandatory
CHAR4Required/SCWM/TAAREA(Field :AAREA)Grouping of bins for activities
/SCWM/LAGPSLGTYPLGTYPStorage
typeMandatory
TypeCHAR4Required/SCWM/T331 (Field: LGTYP)Spatial area within warehouse
/SCWM/LAGPSLGBERLGBERStorage Section
Mandatory
CHAR4Required/SCWM/T302 (Field : LGBER)Section within storage type
/SCWM/LAGPSAISLEAISLEBin Aisle
Mandatory
CHAR18OptionalN/ABusiness-provided aisle identifier
/SCWM/LAGPSSRT_NRSRT_NRSort Number
Mandatory
DEC10RequiredN/ASorting sequence number
/SCWM/LAGPSRANKRANKSequence Number

Mandatory

To be defaulted to "00001" in the input load file

NUMC5RequiredN/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.

Data Cleansing

IDCriticalityError Message
/Report
DescriptionRule
OutputSource System
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:

Data Privacy and Sensitivity

Extraction

Image Added

High-level sequence for moving

Extract

data from

a

source

into . There are 2 possibilities:

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


Extraction


Extraction obtains the raw/bin-level sequencing data.

Method(s):

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

  1. The data exists. connects to the source and loads the data into . There are 3 methods:
    1. Perform full data extraction from relevant tables in the source system(s).
    2. Perform extraction through the application layer.
    3. Only if ; cannot connect to the source, data is loaded to the repository from the provided source system extract/report.
  2. The data does not exist (or cannot be converted from its current state). The data is manually collected by the business directly in . This is to be conducted using DCT (Data Collection Template) in
The agreed Relevancy criteria is applied to the extracted records to identify the records that are applicable for the Target loads

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

Selection Screen

Selection Ref ScreenParameter NameSelection TypeRequirementValue to be entered/set
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)

Target Ready Data Collection Template will be created for data with exception of some fields which require transformation as mentioned in the transformation rule


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

DCT Rules

Field NameField DescriptionRule

Extraction Dependencies

Item #Step DescriptionTeam Responsible
DCT 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.

Transformation

The Target fields are mapped to the applicable Legacy field that will be its source, this is a 3-way activity involving the Business, Functional team and Data team. This identifies the transformation activity required to allow to make the data Target ready:

  1. Perform value mapping and data transformation rules.
    1. Legacy values are mapped to the to-be values (this could include a default value)
    2. Values are transformed according to the rules defined in
  2. Prepare target-ready data in the structure and format that is required for loading via prescribed Load Tool. This step also produces the load data ready for business to perform Pre-load Data Validation

Transformation Run Sheet

Item #Step DescriptionTeam Responsible

Transformation Rules

Rule #Source systemSource TableSource FieldSource DescriptionTarget SystemTarget TableTarget FieldTarget DescriptionTransformation LogicS/4 HANA (Embedded EWM)/SCWM/LAGPSRANKSequence NumberTo be defaulted to "00001" in the input load fileS/4 HANA (Embedded EWM)/SCWM/LAGPSACT_TYPEActivity

Activity types INTL, INVE,PICK,PTWY,REPL,STCH will be used.

One bin sort record will be required per activity

Transformation Mapping

Mapping Table NameMapping Table Description

Transformation Dependencies

List the steps that need to occur before transformation can commenceItem #Step DescriptionTeam Responsible

Pre-Load Validation

Project Team

Completeness

Ensures completeness and accuracy of the technical dataset.

Task
Action
Description
CompletenessAll fields in DCT are populated (if provided)
Accuracy
TaskAction

Business

Completeness

TaskAction

Accuracy

TaskAction
Validate 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 :

Google Drive Live Link
urlhttps://docs.google.com/spreadsheets/d/1_zpHW9QeIeIC-gfYLnwTUd3noFJ6hu4T/edit?rtpof=true&gid=1017189003#gid=1017189003

Load Run Sheet

Item #Step DescriptionTeam Responsible

Load Phase and Dependencies

Configuration

Item #Configuration Item

Conversion Objects

Object #Preceding Object Conversion Approachlist the exact title of the conversion object of only the immediate predecessor – this will then confirm the DDD (Data Dependency Diagram)

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 Handling

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

Completeness


Responsible for technical validation of the loaded dataset.

Validation TypeTask
Action

Accuracy

TaskAction

Business

Completeness

TaskAction

Accuracy

TaskAction

Key Assumptions

  • Master Data Standard is up to date as on the date of documenting this conversion approach and data load.
  • is in scope based on data design and any exception requested by business
    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

    Change log

    Change History
    limit10

    Workflow history

    Workflow Report
    parent@self
    hideheadertrue
    typeapprovals