How To Fix CY199 - Definition of column & indirectly contains column &


SAP Error Message - Details

  • Message type: E = Error

  • Message class: CY - Capacity Requirements Planning

  • Message number: 199

  • Message text: Definition of column & indirectly contains column &

  • Show details Hide details
  • What causes this issue?

    You are trying to define or change a column in the variable overview.
    When defining the column you have entered the value category 2A or 2B.
    However, the following can occur with these two value categories:
    You have entered as a value a logical column that relates to the
    column to be defined. This leads to recursive definition of the column
    and is therefore not permitted.

    How to fix this error?

    Enter a value that does not relate to the column to be defined.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message CY199 - Definition of column & indirectly contains column & ?

    The SAP error message CY199, which states "Definition of column & indirectly contains column &," typically occurs in the context of SAP's reporting and data analysis tools, such as SAP BW (Business Warehouse) or SAP HANA. This error indicates that there is a conflict or issue with the definition of a column in a query or data model, where one column is indirectly referencing another column that is not defined correctly or is causing a circular reference.

    Cause:

    1. Circular Reference: The error often arises from a circular reference in the data model or query definition, where one column's definition depends on another column that, in turn, depends on the first column.
    2. Incorrect Column Definition: There may be an issue with how the columns are defined in the InfoProvider or query, leading to indirect dependencies that are not resolvable.
    3. Data Model Changes: Changes made to the underlying data model (like adding or modifying calculated columns) can lead to this error if the dependencies are not properly managed.
    4. Inconsistent Data Types: If the columns involved have inconsistent data types or incompatible definitions, it can lead to this error.

    Solution:

    1. Review Column Definitions: Check the definitions of the columns involved in the error message. Ensure that there are no circular dependencies and that each column is defined correctly.
    2. Modify Query: If the error occurs in a query, try modifying the query to eliminate the indirect reference. This may involve changing how calculated columns are defined or restructuring the query.
    3. Check Data Model: If you have access to the underlying data model, review it for any circular references or incorrect relationships between the columns. Adjust the model as necessary.
    4. Use Aggregation: If applicable, consider using aggregation or different calculation methods that do not create indirect dependencies.
    5. Test Changes: After making changes, test the query or data model to ensure that the error is resolved and that the data is being retrieved correctly.

    Related Information:

    • SAP Notes: Check SAP Notes and Knowledge Base Articles for any specific guidance or patches related to this error. SAP frequently updates its documentation and may have specific recommendations for your version.
    • SAP Community: Engage with the SAP Community forums to see if other users have encountered similar issues and what solutions they have found.
    • Documentation: Review the official SAP documentation for the specific module you are working with (e.g., SAP BW, SAP HANA) for best practices on defining columns and managing dependencies.

    If the issue persists after trying the above solutions, consider reaching out to your SAP support team or consulting with an SAP expert for further assistance.

    • 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
ERPlingo simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant