SAP EWM does not maintain the SAP ERP plant and storage location in the SAP EWM warehouse quant data. Instead, it uses the SAP EWM availability group to determine an SAP EWM stock type. In SAP EWM Customizing, there is a table that maps the SAP ERP plant, storage location, and logical system number to an availability group. The availability group together with the ERP stock-type is the link between stock types in SAP EWM and the SAP ERP plant and storage location stock. The following figure illustrates the connection between the SAP ERP IM interface and SAP EWM in the goods receipt process:

In the proposed standard EWM settings, the system works with two storage locations in SAP ERP and two corresponding availability groups. The storage location Received on Dock (ROD) shows the situation when the material has arrived, but is still in the inbound processing. After the material has reached the final bin or bins in the warehouse, SAP EWM triggers a posting change to the storage locations Available for Sale (AFS), to show that the inbound process has been completed.
Note
Availability Group Configuration
To establish the availability group interface in SAP EWM and SAP ERP, the system uses Customizing tables. The following figure illustrates the basic settings:

The stock information (for example in the inbound delivery) is always a combination of the following:
- Plant
- Storage location
- Non-location-dependent stock type
The non-location-dependent stock types correspond to the stock types in ERP.
The combination of plant, storage location, logical system, and warehouse number is assigned to an availability group. The combination of availability group and non-location-dependent stock type is assigned to an EWM stock type.
Note
- Normal Stock
- Customs Blocked Stock
- Scrapping Stock
With EWM in SAP S/4HANA (embedded or decentralized), improvements for a better visibility of the plant and storage location were made:
- The default text of stock types is defined in the LIME (Logistics Inventory Management Engine). But you can overwrite this text for each warehouse number in the table where the assignment to availability group and non-location-dependent stock type is done.
- The availability group used to be a 4 character field only and was usually named 0001 or 0002. Now the field is longer, so you can use a combination of "plant/storage location" (like SPCW/AF00).

