How To Fix CM_SUB_INFOSYS034 - Query cannot be included; it contains a where-used list


SAP Error Message - Details

  • Message type: E = Error

  • Message class: CM_SUB_INFOSYS - Substance information system

  • Message number: 034

  • Message text: Query cannot be included; it contains a where-used list

  • Show details Hide details
  • What causes this issue?

    You attempted to include a
    <DS:GLOS.3699DDF3DD932996E10000009B38F9B7>query</> containing at least
    one <DS:GLOS.3696E119942B221EE10000009B38F9B7>query step</> that
    executes a where-used list. However, queries with where-used lists
    cannot be included since they may contain a change of specification
    category. If you change the sequence of the individual query steps in a
    query of this type, this can lead to an inconsistent result.

    System Response

    INCLUDE EHS_NA_NO_MAINTAIN OBJECT DOKU ID TX

    How to fix this error?

    Perform the search step by step and save the search history as a query.

    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 CM_SUB_INFOSYS034 - Query cannot be included; it contains a where-used list ?

    The SAP error message CM_SUB_INFOSYS034 indicates that a query cannot be included in a certain context because it contains a "where-used list." This typically occurs in the context of SAP BW (Business Warehouse) or SAP HANA when dealing with queries, InfoProviders, or data models.

    Cause:

    The error arises when you attempt to include a query that references a "where-used list." This means that the query is dependent on other objects or has dependencies that prevent it from being included in the current context. The "where-used list" indicates that the query is being used in other contexts or has dependencies that need to be resolved first.

    Solution:

    To resolve this error, you can take the following steps:

    1. Check Dependencies: Review the query to identify any dependencies it has on other objects. You can do this by checking the where-used list for the query in the SAP system.

    2. Modify the Query: If possible, modify the query to remove dependencies that are causing the issue. This may involve simplifying the query or removing certain elements that are not necessary.

    3. Use a Different Query: If the query is not essential, consider using a different query that does not have the same dependencies.

    4. Consult Documentation: Refer to SAP documentation or help resources for specific guidance on handling queries and dependencies in your version of SAP BW or HANA.

    5. Check for Locks: Ensure that there are no locks on the objects that the query depends on. Sometimes, locks can prevent changes or inclusions.

    6. Transport Requests: If you are working in a development environment, ensure that the query is properly included in the transport request if you are trying to move it to another environment.

    7. Contact SAP Support: If the issue persists and you cannot identify the cause, consider reaching out to SAP support for assistance.

    Related Information:

    • Where-Used List: This is a feature in SAP that allows you to see where a particular object is being used within the system. It can help you understand dependencies and relationships between different objects.
    • SAP BW Queries: Queries in SAP BW are used to retrieve and analyze data from InfoProviders. Understanding how queries interact with InfoProviders and other objects is crucial for effective data modeling.
    • SAP HANA: If you are using SAP HANA, similar principles apply, but the architecture and data modeling concepts may differ slightly.

    By following these steps, you should be able to address the CM_SUB_INFOSYS034 error and successfully include your query in the desired context.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


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