How To Fix FDT_EXPRESSIONS758 - Result type does not match aggregation column type


SAP Error Message - Details

  • Message type: E = Error

  • Message class: FDT_EXPRESSIONS - Formula & Derivation Tool: Expressions

  • Message number: 758

  • Message text: Result type does not match aggregation column type

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message FDT_EXPRESSIONS758 - Result type does not match aggregation column type ?

    The SAP error message FDT_EXPRESSIONS758 indicates that there is a mismatch between the result type of an expression and the type of the aggregation column in a data model or report. This typically occurs in the context of SAP applications that utilize the Flexible Data Model (FDT) or similar reporting tools.

    Cause:

    The error arises when:

    1. An expression is defined in a way that its result type (e.g., numeric, string, date) does not align with the expected type of the aggregation column.
    2. The aggregation function (like SUM, AVG, COUNT, etc.) is applied to a column that has a different data type than what the function expects.
    3. There may be a misconfiguration in the data model or report settings where the data types are not properly aligned.

    Solution:

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

    1. Check Data Types:

      • Review the data types of the columns involved in the expression and the aggregation. Ensure that they are compatible.
      • For example, if you are trying to sum a column, ensure that the column is of a numeric type.
    2. Modify the Expression:

      • If the expression is returning a different type, modify it to ensure that it returns a compatible type with the aggregation column.
      • You may need to cast or convert the data type of the expression to match the aggregation column type.
    3. Review Aggregation Settings:

      • Check the aggregation settings in your report or data model. Ensure that the aggregation function is appropriate for the data type of the column being aggregated.
    4. Test Changes:

      • After making adjustments, test the report or data model to ensure that the error is resolved.
    5. Consult Documentation:

      • If you are unsure about the data types or how to modify the expression, refer to the SAP documentation or help resources for guidance on data types and expressions.

    Related Information:

    • Data Types in SAP: Familiarize yourself with the common data types used in SAP (e.g., CHAR, NUMC, DEC, DATS) and their expected behaviors in expressions and aggregations.
    • Aggregation Functions: Understand the different aggregation functions available in SAP and their requirements regarding input data types.
    • SAP Community and Support: If the issue persists, consider reaching out to the SAP community forums or SAP support for additional assistance.

    By following these steps, you should be able to identify the cause of the error and implement a solution to resolve it.

    • 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'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