sexta-feira, 16 de junho de 2023

What is Wrong with the Pallet Storage Strategy in SAP EWM?

 

Introduction

The pallet storage strategy P is available both in EWM and LE-WM. Its key feature is that depending on a handling unit (or storage unit in case of LE-WM) type, a storage bin is dynamically divided into sub-bins (or sections):

Pallet%20Storage%20Strategy%20%28source%3A%20SAP%20Help%29

Pallet Storage Strategy (source: SAP Help)

The number of bin sections depends on the type of a pallet being placed, for instance if a bin accommodates 3 euro pallets and 2 industrial pallets, the bin is divided into 3 sections upon the placement of an euro pallet into the empty bin and into 2 sections upon the placement of an industrial pallet.

The beauty of this approach is that bins are divided dynamically during placement. It is not needed to create separate bins for euro pallets and industrial ones.

SAP Help documentation:

SAP Help documentation of the strategy for EWM and LE-WM is very similar if not identical. Therefore the strategies must work the same in both systems.

Notice, that the documentation always uses a sequence of bin section numbers from left to right. In real life however, very often the first pallet is placed in the leftmost section, the second one in the rightmost section and the third one in the middle location. That reduces a risk of damages during storage.

Prompted by a question from Marek Kamiński I have checked how the strategy works in EWM and LE-WM.

I have run the same test case in both systems, i.e. placing of 3 handling / storage units with the same bin sectioning E D C B A.

I would expect the following placement results:

  1. the first handling/storage unit -> section E,
  2. the second handling/storage unit -> section D,
  3. the third handling/storage unit -> section C.

Additionally, the results in EWM and LE-WM would have to be the same as there are no differences in the strategy P behaviour in both systems.

Pallet Storage Strategy in SAP EWM

Bin%20sections%20%28sub%20bins%29%20in%20EWM

Bin sections (sub bins) in EWM

I have started with an inbound delivery with three handling units:

The%20Initial%20Inbound%20Delivery

The Initial Inbound Delivery

Then, I have created the stock placement warehouse tasks for the handling units:

Placement%20with%20Strategy%20P%20in%20EWM

Placement with Strategy P in EWM

Notice, that the first task has been placed as expected into sub bin E. However the other two task have been placed into sections A, B, not into D and C as expected and as defined in the bin sections configuration.

Surprised by the odd result, I have rerun exactly the same test in LE-WM.

Pallet Storage Strategy in SAP LE-WM

Bin%20Sections%20in%20LE-WM

Bin Sections in LE-WM

Placement%20with%20Strategy%20P%20in%20LE-WM

Placement with Strategy P in LE-WM

Notice, that LE-WM has placed the storage units exactly as expected and as defined in the bin sections configuration.

Technical Details

I just could not leave it like that and needed to get to the bottom of it. I have debugged the placement strategy in EWM, which is defined in the /SCWM/PUT_BIN_DET function group.

In my opinion the root cause of the issue is the empty bin buffer sorting logic implemented in the BIN_DETERMINATION_2 form routine – lines 140-158. The logic does not refer to the bin sectioning configuration whatsoever:

Empty%20bin%20buffer%20sorting

Empty Bins Buffer Sorting Logic

During the first warehouse task creation, the state of the buffer is as follows:

Empty%20Bins%20Buffer%20During%20the%20First%20Task%20Creation

Empty Bins Buffer During the First Task Creation

Notice that the sub bin 0070-01-01/E is the first one in the buffer. Hence the first task goes to this sub bin, which is the expected result.

However, just before subsequent tasks are created the buffer is sorted and its state is as follows:

Empty%20Bins%20Buffer%20During%20Subsequent%20Taks%20Creation

Empty Bins Buffer During Subsequent Tasks Creation

The way the buffer is sorted explains why the second and the third handling units are placed into bin sections A and B, instead of D and C.

It looks like the pallet storage strategy P does not respect bin sections configuration when sub bins are already created and sorts them as regular empty bins.

Conclusion

The tests have been conducted on S/4HANA 2022 FP01 system with embedded EWM. That is a quite recent release. I have also reviewed support notes, but to no avail.

Honestly, I am stunned. The pallet storage strategy P is one of the basic features of EWM. It must be commonly used by numerous customers. Have anyone not noticed that problem yet? Or am I missing something?

I would appreciate your comments and experience sharing with the pallet storage strategy P. Correct me if my conclusions are wrong.

Maybe the EWM product owner from SAP sheds some light on this?


Source: https://blogs.sap.com/2023/05/29/what-is-wrong-with-the-pallet-storage-strategy-in-sap-ewm/

Nenhum comentário:

Postar um comentário