This blog post describes the use case for Cross-Order staging scenario. Also, it explains in detail system the logic for staging quantities calculation and staging warehouse tasks creation.
Screenshots in this blog post were captured for SAP S/4HANA 1809. Nevertheless, the information provided in this blog should be also relevant for other SAP Extended Warehouse Management deployment options.
Business Case:
- You can use Cross Order staging when you want to make a supply for components for several production orders at the same time. This means, that the components, you will supply to the Production Supply Area (PSA) will be not linked to a particular production order, but can be used by a any of the production orders, which are active at the moment;
- You want to stage components using Advanced Production integration in combination with backflush posting. Backflush posting is not available for single order staging scenario and can be used only in combination with cross order staging scenario. The information related this technical restriction can be found via link.
Required Master Data:
- Staging method and quantity level, that should be staged to the production supply area are defined in the master data object PSA assignment (transaction to maintain /SCWM/PSASTAGE). You can see the example of maintenance of this object on the screenshot below
Basically, the data on the screenshot above can be split in two sections:
- Determination criteria. These criteria include:
- Party Entitled to Dispose. Business partner, which is linked to Plant.
- Supply Area. Production supply area, which is maintained in production planning module and afterwards replicated to SAP Extended Warehouse Management.
- Product group. Data from Product master data.
- Product
- Determined criteria. Here are important criteria, which will be referenced afterwards in the section with algorithm:
- Storage bin. Destination storage bin, which is being determined in the staging warehouse task
- Staging method. In this blog we will focus only on Cross-Order staging. Staging of components for several production orders at the same time. Important remark: if the batch was specified directly in production order in PP module, then system will use single order staging in SAP Extended Warehouse Management independently on what was maintained in the master data (logic can be found /SCWM/CL_PWR_GMBIN=>DETERMINE_STAGING_METHOD)
- Replenishment quantity. Quantity, which will be used for the Warehouse Tasks, that will be created. In simple words we can call replenishment quantity: quantity, which make sense to move from warehouse to production during single movement.
- Minimum production quantity in PSA. Quantity level in the PSA, which is considered to request additional components from warehouse. Once the stock level goes below minimum quantity new warehouse tasks will be generated to move stock from warehouse to production line.
Algorithm for staging quantities calculation and WT creation:
- Selection of relevant Production Material Requests (PMR-s)
Following criteria are considered during PMR selection
- Start requirement data for item. System will consider PMR items with start requirement date less or equal for the date, which is being specified on selection screen of the staging report (transaction /SCWM/STAGE)
- Production material request status. System selects PMR-s with “DMC Production Order = 1 Released”.
Remark: To exclude non confirmed production orders from the staging relevance technical closure of production order can be executed (setting of TECO status).
2. For selected Production Material Request items open remaining quantity will be calculated
Open Remaining quantity = Required quantity – Consumed quantity
Required quantity – cumulated quantity from Production Material Requests
Consumed quantity – quantity to which GI was done with the link to PMR
Example:
Required quantity 34
Consumed quantity 0
Remaining quantity 34
3. Calculate open staging quantity based on the open remaining quantity for PMR items, stock situation in the production supply are and created WT-s
Open Staging Quantity = Open Remaining quantity – PSA quantity – WT quantity
Example:
18 = 34 – 6 - 10
Use case example:
List of PMR-s created in the EWM system:
Selected PMR-s based on the job run:
Open remaining quantity:
* - To simplify the example the assumption is that there is no stock and no open WT-s for the first report run of /SCWM/STAGE
The interval for report run (transaction /SCWM/STAGE) need can specified separately. In the current example background job is being executed every 5 minutes.
I hope you enjoyed this blog post and gained an overview how production supply process and quantity calculation works for Corss-Order staging in Advanced Production Integration scenario. Please, feel free to share you feedback and ask questions.