MM knows how many items are in a storage location. WM knows exactly where each pallet is, how to put it away and in which order to pick it. WM is no longer the target in S/4HANA, but it is still very present on ECC systems and at the heart of migrations to EWM.