sap ewm database training - sap ewm training - sap ewm

72
Database EP 1 HU SAP EWM database training

Upload: others

Post on 18-Dec-2021

228 views

Category:

Documents


19 download

TRANSCRIPT

Page 1: SAP EWM database training - SAP EWM Training - SAP EWM

Database EP 1 HU

SAP EWM database training

Page 2: SAP EWM database training - SAP EWM Training - SAP EWM

OVerview

▪ Main focus on▪ how the EWM database tables work ▪ how they interact with one another

▪ This course is right for if you...▪ want to know more about the behind the scene action▪ want to write own EWM programs▪ want to know what happens on DB level

Page 3: SAP EWM database training - SAP EWM Training - SAP EWM

Database EP 1 HU

SAP Extended Warehouse Management database training

Handling Units

Page 4: SAP EWM database training - SAP EWM Training - SAP EWM

Handling Units

Goods Movement hu Header/scwm/gmhuhdr

hU Reference/SCWM/HUREF

Hu Header/scwm/huhdr

Page 5: SAP EWM database training - SAP EWM Training - SAP EWM

Handling Unit Header

▪ Every HU has its own entry in this table▪ The key is the GUID (“Globally Unique Identifier“)

▪ No plain text key▪ The GUID is unique & 32 digits long▪ Created for almost every object in EWM▪ HU-GUID is determined with the HU creation

▪ Additional information in this table: ▪ Packaging Material and Warehouse Number▪ Measurements▪ Virtual Handling Unit Indicator (VHI)▪ Top / Bottom Indicators▪ …and many more

/scwm/huhdr

Page 6: SAP EWM database training - SAP EWM Training - SAP EWM

Goods Movement Handling Unit Header

▪ Almost the same Database Fields as HU-Header▪ Contains for Example: GI-posted Hus

/SCWM/GMHUHDR

Page 7: SAP EWM database training - SAP EWM Training - SAP EWM

Handling Unit Reference

▪ Contains entries when HU is part of delivery or order▪ Consists of 3 fields:

▪ HU-GUID▪ document category of the object the HU is assigned to▪ ID of the document the HU is assigned to

/SCWM/HUREF

Page 8: SAP EWM database training - SAP EWM Training - SAP EWM

Nested Handling Units

Single HU NESTED HU

Standing on the Ground Palett BOX

TOP X X

Bottom X X

Page 9: SAP EWM database training - SAP EWM Training - SAP EWM

Database EP 1 HU

SAP Extended Warehouse Management database training

Warehouse Tasks and Warehouse ORders

Page 10: SAP EWM database training - SAP EWM Training - SAP EWM

WH Tasks and

WH ORders

Warehouse task log/scwm/ordim_l

warehouse orders /scwm/who

confirmed warehouse tasks/scwm/ordim_c

Open Warehouse Tasks/scwm/ordim_o

Page 11: SAP EWM database training - SAP EWM Training - SAP EWM

Open Warehouse Tasks

▪ KEY: Warehouse Task Number▪ Unique identifier for movements and changes in the warehouse

▪ Movement Identifier▪ warehouse process type and transport type ▪ the source and destination data ▪ Header and ITEM-ID

/scwm/ordim_o

Page 12: SAP EWM database training - SAP EWM Training - SAP EWM

Warehouse task log

▪ Almost identical to the open warehouse Task table▪ Purpose: Provide Logging during the warehouse process

/scwm/ordim_l

Page 13: SAP EWM database training - SAP EWM Training - SAP EWM

confirmed warehouse tasks

▪ Similar to open warehouse tasks Table▪ Status indicator for the confirmation status

▪ Confirmed ▪ Cancelled

▪ Time and User information

/scwm/ordim_c

Page 14: SAP EWM database training - SAP EWM Training - SAP EWM

warehouse orders

▪ KEY: Warehouse order number▪ Queue

▪ Can be customized▪ Often used to bundle WHOs from a certain Area

▪ Assigned REssource

/scwm/who

Page 15: SAP EWM database training - SAP EWM Training - SAP EWM

Overview

Open warehouse task

/scwm/ordim_o

Warehouse task log table

/scwm/ordim_l

Warehouse Order

/scwm/who

confirmed warehouse task

/scwm/ordim_c

Status: C

Confirmed

Page 16: SAP EWM database training - SAP EWM Training - SAP EWM

Overview

Open warehouse task

/scwm/ordim_o

Warehouse task log table

/scwm/ordim_l

Warehouse Order

/scwm/who

confirmed warehouse task

/scwm/ordim_c

Status: A

Canceled

Page 17: SAP EWM database training - SAP EWM Training - SAP EWM

Database EP 1 HU

SAP Extended Warehouse Management database training

Inbound deliveries

Page 18: SAP EWM database training - SAP EWM Training - SAP EWM

Inbound delivery

Reference Documents/SCDL/DB_REFDOC

Additional Quantities of inbound delivery/SCDL/DB_ADDMEAS

Inbound Delivery Header/SCDL/DB_PROCH_I

inbound delivery item/SCDL/DB_PROCI_I

dates and times/SCDL/DB_DATE

Business Partners/SCDL/DB_BPLOC

Status/SCDL/DB_STATUS

Page 19: SAP EWM database training - SAP EWM Training - SAP EWM

Inbound Delivery Header

▪ represents the inbound delivery▪ Key: Guid▪ Document category and the document type

▪ This information separates the delivery processes ▪ E.g. Replenishment, customer return

/scwm/ordim_o

Page 20: SAP EWM database training - SAP EWM Training - SAP EWM

inbound delivery item

▪ Contains the different items that get delivered▪ Key: Header and item guids▪ Defines the item:

▪ product, batch, owner and entitled to dispose▪ Information about handling (WH Process type)

/scwm/ordim_o

Page 21: SAP EWM database training - SAP EWM Training - SAP EWM

Status

▪ Contains all customized statuses for the delivery object▪ E.g. putaway status and packing status

/scwm/ordim_o

Page 22: SAP EWM database training - SAP EWM Training - SAP EWM

dates and times

▪ Contains different “Checkpoints“▪ Supplied or Calculated▪ E.g. an own date and time entry for arrival

/scwm/ordim_o

Page 23: SAP EWM database training - SAP EWM Training - SAP EWM

Business Partners

▪ Information about the involved Business Partners▪ mostly supplied by the ERP system ▪ E.G. the carrier, the ship-from party

/scwm/ordim_o

Page 24: SAP EWM database training - SAP EWM Training - SAP EWM

Reference Documents

▪ All documents related to the inbound delivery▪ E.g. the ERP delivery number▪ ASN number (supplied by the ERP system)

/scwm/ordim_o

Page 25: SAP EWM database training - SAP EWM Training - SAP EWM

Additional Quantities

▪ weight and volume delivered in the PDI▪ Additional information on Header and Item Level

/scwm/ordim_o

Page 26: SAP EWM database training - SAP EWM Training - SAP EWM

Database EP 1 HU

SAP Extended Warehouse Management database training

The Stock

Page 27: SAP EWM database training - SAP EWM Training - SAP EWM

STock

Quant Attribute/scwm/quan

stock quantities /LIME/NQUAN

available stock/scwm/aqua

Page 28: SAP EWM database training - SAP EWM Training - SAP EWM

available stock

▪ Available quantities of a stock▪ perForm any kind of stock-related action in the EWM▪ E.g. the quantity of a product on a bin

/scwm/ordim_o

Page 29: SAP EWM database training - SAP EWM Training - SAP EWM

Quant Attribute

▪ Entries for Stock in the Warehouse ▪ available ▪ physical

▪ Describes Stock with all its attributes

/scwm/ordim_o

Page 30: SAP EWM database training - SAP EWM Training - SAP EWM

stock quantities

▪ LIME = Logistics Inventory Management Engine▪ Tables with this prefix handle all the internals of the EWM stock▪ E.g. quantities or physical inventory documents

▪ actual physical quantity of a stock

/scwm/ordim_o

Page 31: SAP EWM database training - SAP EWM Training - SAP EWM

OVerview

▪ Three important Tables:▪ available quantity = actual quantity to perform actions with▪ stock attributes = kind of stock▪ quantity attributes = physical quantity of the stock

▪ Reserving stock - by creating open warehouse tasks:▪ does not change the stock itself▪ but adjusts the available quantity ▪ by updating or deleting the entry in the available quantity table

Page 32: SAP EWM database training - SAP EWM Training - SAP EWM

Database EP 1 HU

SAP Extended Warehouse Management database training

Storage Bins

Page 33: SAP EWM database training - SAP EWM Training - SAP EWM

Storage Bins

storage bin sorting/SCWM/LAGPS

handling unit header/scwm/huhdr

Storage bin/SCWM/LAGP

Page 34: SAP EWM database training - SAP EWM Training - SAP EWM

Storage bin

▪ all available Storage Bins per Warehouse number▪ Key: Storage bin + warehouse number

▪ Storage bins are Unique PER Warehouse Number▪ Storage Type / Storage Area are not part of table-key

▪ Important Indicators▪ Inventory Blocks▪ Putaway Blocks▪ Stock removal Blocks

▪ Measurements:▪ Maximum Capacity, weight and Volume▪ Occupied capacity, weight and volume

/scwm/ordim_o

Page 35: SAP EWM database training - SAP EWM Training - SAP EWM

storage bin sorting

▪ Entries for bin Sorting▪ Warehouse Number and Storage bin▪ Key: Activity Type▪ Sorting number of the bin

/scwm/ordim_o

Page 36: SAP EWM database training - SAP EWM Training - SAP EWM

OVerview

▪ Two important Tables:▪ Storage Bin▪ Handling unit header

▪ Entries exist as long as the storage bin Exists in the Warehouse

▪ Storage bin sorting is used with a customized path through the Warehouse

Page 37: SAP EWM database training - SAP EWM Training - SAP EWM

Database EP 1 HU

SAP Extended Warehouse Management database training

Outbound Delivery Order and Outbound Delivery

Page 38: SAP EWM database training - SAP EWM Training - SAP EWM

Used in INB and OUTB process

▪ /SCDL/DB_STATUS – status information▪ /SCDL/DB_DATE – Dates and Times ▪ /SCDL/DB_BPLOC – Partners (e.g. Vendors or Carriers)▪ /SCDL_DB_REFDOC – Reference Documents▪ /SCDL/DB_ADDMEAS – Quantities and measurements

Page 39: SAP EWM database training - SAP EWM Training - SAP EWM

ODOand FDO

outbound delivery order items/SCDL/DB_PROCI_O

Outbound Delivery Item/SCDL/DB_DLVI_O

Outbound Delivery Header/SCDL/DB_DLVH_O

outbound delivery order/SCDL/DB_PROCH_O

Page 40: SAP EWM database training - SAP EWM Training - SAP EWM

outbound delivery order

▪ Header Information of outbound delivery order▪ Key: Guid

▪ Document Type▪ Defines the PRocess▪ E.g. Customer order or intralogistic Transfer

▪ Outbound delivery order number▪ Timestamps of creation and changes

/scwm/ordim_o

Page 41: SAP EWM database training - SAP EWM Training - SAP EWM

outbound delivery order items

▪ Key: Guid of header and item▪ Information for customer delivery

▪ Product number▪ Batch▪ Entitled to dispose▪ Quantity

▪ Warehouse Process type▪ Determined by customizing settings▪ Used when picking warehouse tasks are created

/scwm/ordim_l

Page 42: SAP EWM database training - SAP EWM Training - SAP EWM

Outbound Delivery Header

▪ Every Outbound delivery has its own number▪ Key: Guid▪ Timestamps of creation and changes with corresponding users

/scwm/ordim_c

Page 43: SAP EWM database training - SAP EWM Training - SAP EWM

Outbound Delivery Item

▪ Entries a specific outbound delivery was created for▪ Connection between ODO item and outbound delivery item

▪ Reference Documents▪ Guid

/scwm/who

Page 44: SAP EWM database training - SAP EWM Training - SAP EWM

OVerview

▪ When outbound delivery is transferred from ERP to EWM▪ Entry in the Outbound delivery order table▪ Transfer fills all the skipped tables and /SCDL/DB_PROCH_O, /SCDL/DB_PROCI_O▪ These Tables Operate all the EWM Actions

▪ invoice before posting goods issue or goods issue▪ Outbound delivery gets created▪ Entries in the Tables: /SCDL/DB_DLVH_O, /SCDL/DB_DLVI_O

Page 45: SAP EWM database training - SAP EWM Training - SAP EWM

Database EP 1 HU

SAP Extended Warehouse Management database training

Wave Management

Page 46: SAP EWM database training - SAP EWM Training - SAP EWM

Waves

wave header/SCWM/WAVEHDR

wave items/SCWM/WAVEITM

Page 47: SAP EWM database training - SAP EWM Training - SAP EWM

wave header

▪ Key: Wave Number▪ Continous Number▪ Separate number for each wave

▪ Template and Option used to create the WAve▪ Defines the PRocess▪ E.g. Customer order or intralogistic Transfer

▪ Timestamps for ▪ Cutoff, Release, Pick, Pack, Staging and Loading

▪ stATUS Field: current State of the Wave

/scwm/ordim_o

Page 48: SAP EWM database training - SAP EWM Training - SAP EWM

wave item

▪ Items assinged to wave▪ Mostly ODO items assigned to a wave

▪ Key: Guid of wave header and items▪ ODO Item specific information like

▪ ProducTs▪ Quantities

▪ Assigned Items are seperated by the Wave Item Number▪ Key: Wave Item Number

/scwm/ordim_l

Page 49: SAP EWM database training - SAP EWM Training - SAP EWM

OVerview

▪ When a Wave is created (automatically or MAnually)▪ Entry in the Wave Header Table

▪ When ODO Items are assigned to the wave▪ EWM Creates Entries in Wave Item Table

Page 50: SAP EWM database training - SAP EWM Training - SAP EWM

Database EP 1 HU

SAP Extended Warehouse Management database training

Transportation Units

Page 51: SAP EWM database training - SAP EWM Training - SAP EWM

TU

Transportation Unit/SCWM/TUNIT

S&R Activity/SCWM/TU_SR_ACT

TU status/SCWM/TU_STATUS

TU - Vehicles assignment/SCWM/TU_VEH

TU - PDI / PDO Assignment/SCWM/TU_DLV

TU - Door Assignment/SCWM/TU_DOOR

Page 52: SAP EWM database training - SAP EWM Training - SAP EWM

Transportation Unit

▪ manages all the Transportation Units of a warehouse▪ Key: Transportation Unit number▪ Means of Transport (MTR) = kind of Transportation Unit▪ provides the information which Transportation Units exist in the warehouse

/scwm/ordim_o

Page 53: SAP EWM database training - SAP EWM Training - SAP EWM

S&R Activity

▪ operational status of the Transportation Unit▪ Direction Indicator = information whether

▪ inbound or ▪ outbound transportation unit

▪ timestamps for ▪ Planned & Actual arrival of the Transportation Unit▪ Planned & Actual Departure of the Transportation Unit▪ Planned Timestamp for Planning Purposes▪ Actual Timestamp for Tracking Purposes

▪ weight and volume of the loaded goods

/scwm/ordim_o

Page 54: SAP EWM database training - SAP EWM Training - SAP EWM

TU status

▪ Provides Overview over planned and executed steps▪ E.G: Arrival at Checkpoint status▪ loading process status▪ And goods issue status▪ Customized status

▪ Execution state of Customized status

/scwm/ordim_o

Page 55: SAP EWM database training - SAP EWM Training - SAP EWM

TU - Vehicles assignment

▪ assignment of Transportation Units to Vehicles

/scwm/ordim_o

Page 56: SAP EWM database training - SAP EWM Training - SAP EWM

TU - PDI / PDO Assignment

▪ link between the Transportation Unit and the assigned ▪ inbound delivery items ▪ outbound delivery order items

▪ Fields for assigned Items▪ Plain Text▪ Guids

▪ Every assignment is marked with a continous number

/scwm/ordim_o

Page 57: SAP EWM database training - SAP EWM Training - SAP EWM

TU - Door Assignment

▪ assignment of Transportation Units to Doors▪ Assignment Action is stored▪ Arrival and Departure

/scwm/ordim_o

Page 58: SAP EWM database training - SAP EWM Training - SAP EWM

OVerview

▪ creating a Transportation Unit creates entries in▪ Transportation Unit table (/SCWM/TUNIT)▪ S&R Activities table (/SCWM/TU_SR_ACT)▪ TU status table (/SCWM/TU_STATUS)

▪ Assigning a PDI or PDO triggers an insert in /SCWM/TU_DLV table ▪ Assigning a door creates an entry in /SCWM/TU_DOOR

▪ Timestamps are used for calculating the activity statuses▪ A Planned timestamp alone = a planned object or assignment▪ If the actual start is set = the status is active▪ if the end actual timestamp is set = the status is completed

Page 59: SAP EWM database training - SAP EWM Training - SAP EWM

Database EP 1 HU

SAP Extended Warehouse Management database training

physical inventory documents

Page 60: SAP EWM database training - SAP EWM Training - SAP EWM

PI DOcs

Business Key items for PI - documents/LIME/PI_IT_BIZ

Quantities for PI DOC items /LIME/PI_DOC_TB

storage bin/SCWM/LAGP

PI - documents/LIME/PI_LOGHEAD

Page 61: SAP EWM database training - SAP EWM Training - SAP EWM

PI - documents

▪ Header Information of physical inventory document▪ Key: Guid

▪ Plain text document number▪ Document Year

▪ Indicator for the year of creation

/scwm/ordim_o

Page 62: SAP EWM database training - SAP EWM Training - SAP EWM

Business Key items for PI - documents

▪ stores all the objects involved while ▪ creating, counting and posting an inventory document▪ E.G. The bin the document was created for, Involved Hu, involved Stock

▪ Only holds the different elements involved

/scwm/ordim_l

Page 63: SAP EWM database training - SAP EWM Training - SAP EWM

Quantities for PI DOC items

▪ quantity entries for each status of a Physical inventory document▪ 2 separate fields

▪ System quantity = quantity of the object in the EWM▪ counted quantity = quantity the user counted while processing

/scwm/ordim_c

Page 64: SAP EWM database training - SAP EWM Training - SAP EWM

storage bin

▪ Der Slide cumed neanea… ▪ Sorrayo -> mr i is the only member of team sorrayo

/scwm/who

Page 65: SAP EWM database training - SAP EWM Training - SAP EWM

OVerview

▪ When creating an inventory document▪ the EWM creates the header entry▪ the business key entries for all the involved items (like the Bin, the HU and the stock)▪ initial insert to the quantity table

▪ When a physical inventory document is processed▪ the business key table and the quantity table are enhanced by state specific entries

▪ one for all the items regarding the counting process▪ and one for all the items being posted

▪ posted inventory document is saved on storage bin level

Page 66: SAP EWM database training - SAP EWM Training - SAP EWM

Database EP 1 HU

SAP Extended Warehouse Management database training

Planned Shipping Handling Units

Page 67: SAP EWM database training - SAP EWM Training - SAP EWM

PlannedShipping

HUs

additional Identifications for Planned Shipping HUS/SCWM/POHUIDENT

Planned Shipping HU Item/SCWM/POHUITM

Planned Shipping HU reference/SCWM/POHUREF

Planned Shipping HU Header/SCWM/POHUHDR

Page 68: SAP EWM database training - SAP EWM Training - SAP EWM

Planned Shipping HU Header

▪ Header Information with basically the same purpose as standard Handling Units▪ Defines Planned Shipping Hus in the warehouse

▪ Key: Guid

▪ Plain text number▪ Information about packaging Material for the HU

/scwm/ordim_o

Page 69: SAP EWM database training - SAP EWM Training - SAP EWM

Planned Shipping HU Item

▪ link between ▪ what kind of HU was planned for a certain order▪ which items are supposed to be packed

▪ Key: Combination of▪ Handling Unit (GUID number)▪ stock supposed to be packed into the HU

▪ Stock Information (quantity, product, batch)▪ Trigger Information

▪ GUIDs▪ Documents items

/scwm/ordim_l

Page 70: SAP EWM database training - SAP EWM Training - SAP EWM

additional Identifications for Planned Shipping HUS

▪ Holds Additional Information▪ Used if EWM system is customized to use identifications▪ Contents:

▪ GUID of the planned Handling Unit▪ type of additional identification▪ Additional identification

/scwm/ordim_c

Page 71: SAP EWM database training - SAP EWM Training - SAP EWM

Planned Shipping HU reference

▪ Same information as HU Reference Table▪ link between the GUID of the Handling Unit and the assigned reference document▪ assignment of the document category and the ID of the document

/scwm/who

Page 72: SAP EWM database training - SAP EWM Training - SAP EWM

OVerview

When a Package Planning Process for ODOS is executedEWM calculates the results and inserts entries in:

▪ Planned Shipping HU Header = information about the kind of package▪ Planned Shipping HU Items = what has to be packed ▪ Additional Identifications for Planned Shipping HU = information maybe needed during the

picking, packaging or goods issue process▪ Planned HU Reference Documents = providing a link between the Planned Shipping HU and the

object it is assigned to (E.G. an ODO)