Skip to Content
Product Information
Author's profile photo Alexey Karmazin

Cross-Order Staging in Advanced Production Integration scenario. SAP Extended Warehouse Management.

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:

  1. 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.

Assigned Tags

      8 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Brej Lohog
      Brej Lohog

      Thank you, it is very clear and clearly written, I am just studying it now and was looking for a similar article

      Author's profile photo Sinan Ögeyik
      Sinan Ögeyik

      Hi Alexey,

      it was very helpful and educating. I have a few questions, since i am testing cross order staging with  direct batch determination in production order,

      1. I couldn`t find method /SCWM/CL_PWR_GMBIN=>DETERMINE_STAGING_METHOD, so in which version this is valid?
      2. as you mentioned, even i have set cross order for batch determined component, system searches for single order staging set up but however if i maintain PSASTAGE with a product group and add an additional record for that material with WTP 4100, then it works for cross order PMR. But not sure if this is a bug or on purpose.

      Thanks.

      Sinan.

      Author's profile photo kumar semmalai
      kumar semmalai

      Hello Alexey,

      it was nice explanation blog.Thanks for that.

      small Query: Will this min/Max option work for Special stock indicator materials?

      thanks,

      Kumar Semmalai

       

      Author's profile photo Niraj Kumar
      Niraj Kumar

      Hello Alexey,
      I have a requirement to allow a multiple stock type in cross order staging. As per SAP help, we can allow multiple stock type for staging using stock type group option in removal strategy. I linked both required stock type to Stock type group but it is not working. EWM creates staging only for default production stock type and generates error for other materials as stock is available in different stock type. Any idea how to resolve this issue?

      With Regards,

      Niraj

      Author's profile photo Alexey Karmazin
      Alexey Karmazin
      Blog Post Author

      Dear Kumar,

       

      Stock determination group in the warehouse product master data.

       

      Best Regards,

      Alexey

      Author's profile photo Naveen Som Singh
      Naveen Som Singh

      Hi Alexey ,

      How can i have some components in one process order as single order staging  and some other components as cross order staging . For instance , if the component in the process order is manually keyed in with a batch number  and other component is without batch number , then in the PMR the system should determine single order staging for componets that were transmitted with batch number from process order .Those components that were transmitted without batch should have batch determination in EWM in the PMR with cross order staging . How can we achieve this functionality in EWM ?.Please advise the settings .

       

      Regards

      NS

       

      Author's profile photo Sai Karthik GUNDU
      Sai Karthik GUNDU

      The Quantity calculation that runs behind after the execution of Staging report for Cross-order staging, Is it Standard (or) we have to achieve via BAPI? As far as I remember SAP will stage the stock in PSA until the Production is technically set as complete, until then it will keep creating Tasks.

      Author's profile photo Shamsul Arfeen
      Shamsul Arfeen

      Hi Alexi,

      Thanks for a good explanation of the cross-order functionality. I do have a question if you or someone may can respond please. Much appreciated!!

      Thanks

      Shamsul

      -------

      We are implementing Advance Production Integration in S4 embedded 2021. We want to use cross order staging functionality for several semi finished products.

      Requirement:

      Several supply areas (representing production lines) will be supplied from the same PSA bin. These products will be tagged as cross order in the PSASTAGE table.

      Issue:

      When we try to assign cross order PSA bin A000 to multiple Supply area (each machine has one supply area), we do get the below error. Can you please advise how multiple supply areas can be linked to one PSA Bin so that cross order functionality can be utilized?