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

Close

How To Fix VMP_MSG340 - Cannot save planning scope with phantom assembly in shop floor BOM


SAP Error Message - Details

  • Message type: E = Error

  • Message class: VMP_MSG - VMP Message Manager

  • Message number: 340

  • Message text: Cannot save planning scope with phantom assembly in shop floor BOM

  • Show details Hide details
  • What causes this issue?

    The phantom assembly already exists in shop floor BOM.

    System Response

    The system was unable to save the planning scope.

    How to fix this error?

    You must remove all the existing phantom assemblies associated with the
    shop floor BOM in the <LS>Target</> panel.

    Procedure for System Administrators

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message VMP_MSG340 - Cannot save planning scope with phantom assembly in shop floor BOM ?

    Certainly! Here's a detailed explanation for the SAP error message VMP_MSG340: "Cannot save planning scope with phantom assembly in shop floor BOM":


    Error Message:

    VMP_MSG340
    Cannot save planning scope with phantom assembly in shop floor BOM


    Cause:

    This error occurs when you try to save a planning scope (e.g., in production order, process order, or planning run) that includes a phantom assembly in the shop floor BOM (Bill of Materials).

    • Phantom assemblies are special types of BOM items that are not produced or stocked themselves but are used to simplify BOM structure by grouping components.
    • In shop floor BOMs, phantom assemblies are not allowed because the shop floor BOM is intended to represent the actual production structure on the shop floor, where only real, tangible assemblies and components are valid.
    • The system detects that the BOM used in the planning scope contains a phantom assembly and therefore blocks saving to prevent inconsistencies in production planning and execution.

    When does this happen?

    • When creating or changing a planning scope (e.g., in production order, process order, or planning run).
    • When the BOM assigned to the material or routing includes phantom assemblies.
    • When the BOM is flagged or used as a shop floor BOM (which must not contain phantom assemblies).

    Solution:

    1. Remove Phantom Assemblies from Shop Floor BOM:

      • Review the BOM assigned to the material or routing.
      • Identify phantom assemblies in the BOM.
      • Replace phantom assemblies with their components directly or restructure the BOM so that the shop floor BOM contains only real assemblies and components.
    2. Use Different BOM Types:

      • Use a production BOM or planning BOM that can contain phantom assemblies for planning purposes.
      • Use a shop floor BOM without phantom assemblies for execution and shop floor control.
    3. Adjust BOM Usage:

      • Ensure that the BOM usage and BOM type are correctly maintained.
      • Phantom assemblies are allowed in BOM usage for planning but not in shop floor BOM usage.
    4. Check Configuration:

      • Verify the BOM usage and BOM application settings in SAP customizing (transaction codes like CS01/CS02 for BOM maintenance).
      • Confirm that the BOM assigned to the shop floor is correctly maintained without phantom assemblies.
    5. Consult with Production Planning Team:

      • Coordinate with production planning and shop floor control teams to align BOM structures with operational requirements.

    Related Information:

    • Phantom Assembly: A non-stocked, non-produced assembly used to simplify BOM structure.
    • Shop Floor BOM: BOM used for actual production execution on the shop floor; must contain only real assemblies and components.
    • BOM Usage: Defines the purpose of the BOM (e.g., 1 for production, 2 for engineering, 3 for costing, etc.).
    • Transactions:
      • CS01 / CS02 / CS03 – Create / Change / Display BOM
      • CO01 / CO02 – Create / Change Production Order
      • COR1 / COR2 – Create / Change Process Order
    • SAP Notes / Documentation:
      • Check SAP OSS notes related to BOM and phantom assemblies.
      • SAP Help Portal on BOM and phantom assemblies.

    Summary:

    Aspect Description
    Cause Phantom assembly included in shop floor BOM, which is not allowed.
    Effect System blocks saving the planning scope to prevent invalid BOM structure on shop floor.
    Solution Remove phantom assemblies from shop floor BOM; use appropriate BOM types for planning/execution.
    Key Point Phantom assemblies are allowed in planning BOMs but not in shop floor BOMs.

    If you need help identifying phantom assemblies in your BOM or restructuring your BOMs, I can guide you through the steps or provide example transactions and reports.

    • 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
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker