Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix WH087 - Storage loc. &1 does not exist in plant &2


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WH - Messages for store physical inventory (DRS)

  • Message number: 087

  • Message text: Storage loc. &1 does not exist in plant &2

  • Show details Hide details
  • What causes this issue?

    Storage location &V1& was entered in the header segment of the IDoc.
    However, this supplier does not exist in plant &V2&.

    System Response

    The system cannot post the external document with this header segment.

    How to fix this error?

    Enter the correct storage location in the IDoc editor and then post the
    IDoc again.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WH087 - Storage loc. &1 does not exist in plant &2 ?

    Certainly! Here's a detailed explanation for the SAP error message WH087 - Storage loc. &1 does not exist in plant &2:


    Error Message:

    WH087 - Storage loc. &1 does not exist in plant &2


    Cause:

    This error occurs when you try to perform a warehouse or inventory transaction in SAP involving a storage location that is not assigned or does not exist in the specified plant.

    In SAP, storage locations are organizational units within a plant where inventory is physically stored. Each storage location must be assigned to a plant in the system. If you reference a storage location that is not defined or assigned to the plant you are working with, SAP throws this error.

    Common scenarios causing this error:

    • The storage location code entered is incorrect or mistyped.
    • The storage location exists but is not assigned to the plant in the system.
    • The plant or storage location master data is incomplete or missing.
    • Integration issues between Warehouse Management (WM) and Materials Management (MM) modules.

    Solution:

    To resolve the error, follow these steps:

    1. Check Storage Location Master Data:

      • Go to transaction OMIR or SPRO ? Enterprise Structure ? Definition ? Logistics General ? Define Storage Locations.
      • Verify that the storage location (&1) exists in the system.
    2. Check Plant-Storage Location Assignment:

      • Use transaction OX09 to check if the storage location is assigned to the plant (&2).
      • If the storage location is missing for the plant, assign it accordingly.
    3. Create or Assign Storage Location:

      • If the storage location does not exist, create it via OMIR or OX09.
      • If it exists but is not assigned to the plant, assign it in OX09.
    4. Verify Warehouse Management Settings:

      • If you are working with WM, ensure that the storage location is linked to the correct warehouse number.
      • Use transaction SPRO ? Logistics Execution ? Warehouse Management ? Master Data ? Define Storage Type and Storage Section to verify settings.
    5. Check Transaction Data:

      • Verify that the storage location entered in the transaction is correct.
      • Correct any typos or wrong entries.
    6. Transport and System Consistency:

      • If the system landscape involves multiple clients or environments, ensure that the storage location and plant assignments are consistent across systems.

    Additional Information:

    • Related Transactions:

      • OMIR - Define Storage Locations
      • OX09 - Assign Storage Locations to Plants
      • LS01N - Create Storage Bin (Warehouse Management)
      • MM01/MM02 - Material Master (to check storage location data)
    • Related Modules:

      • Materials Management (MM)
      • Warehouse Management (WM)
      • Logistics Execution (LE)
    • Notes:

      • Always ensure master data consistency between MM and WM.
      • If you recently created a new storage location or plant, check if the data has been transported correctly.
      • Sometimes, this error can occur during integration points, such as when posting goods movements or creating transfer orders.

    If you provide the exact transaction or process where this error occurs, I can help with more specific troubleshooting steps.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author