How To Fix BRAINOLAPAPI138 - Using calculated members is not permitted. See long text


SAP Error Message - Details

  • Message type: E = Error

  • Message class: BRAINOLAPAPI - Message class for OLAP API

  • Message number: 138

  • Message text: Using calculated members is not permitted. See long text

  • Show details Hide details
  • What causes this issue?

    Definition of a calculated member is not permitted here.

    System Response

    Execution of the MDX statement ends with an error.

    How to fix this error?

    Check the definition of the calculated member. If the statement is a
    nested MDX statement, definition of the calculated member is not
    permitted.

    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 BRAINOLAPAPI138 - Using calculated members is not permitted. See long text ?

    The SAP error message BRAINOLAPAPI138 indicates that the use of calculated members is not permitted in the context where you are trying to use them. This error typically arises in SAP BusinessObjects or SAP BW (Business Warehouse) environments when working with queries or reports that involve OLAP (Online Analytical Processing) data sources.

    Cause:

    1. Calculated Members Not Supported: The specific OLAP data source or query context does not support the use of calculated members. This can happen if the data source is not designed to handle dynamic calculations or if the query is being executed in a mode that restricts such features.
    2. Query Context: The error may also occur if the calculated member is being used in a context (like a specific report or dashboard) that does not allow for calculated members due to performance or compatibility reasons.
    3. Version Limitations: Certain versions of SAP BW or BusinessObjects may have limitations regarding the use of calculated members.

    Solution:

    1. Remove Calculated Members: If possible, modify your query or report to remove the calculated members. Instead, try to perform the calculations at the data source level or use predefined measures.
    2. Check Compatibility: Ensure that the OLAP data source you are using supports calculated members. You may need to consult the documentation for your specific version of SAP BW or BusinessObjects.
    3. Use Alternative Approaches: If you need to perform calculations, consider using other methods such as:
      • Creating a new measure in the data source.
      • Using standard measures that are already available.
      • Pre-calculating values in the data warehouse before they are queried.
    4. Consult Documentation: Review the long text associated with the error message for additional context and guidance. This may provide specific instructions or considerations for your scenario.
    5. Update Software: If you are using an older version of SAP BW or BusinessObjects, consider updating to a newer version that may have improved support for calculated members.

    Related Information:

    • SAP Notes and Documentation: Check SAP Notes for any known issues or patches related to this error. The SAP Help Portal may also have relevant documentation.
    • Community Forums: Engage with the SAP Community or forums where other users may have encountered similar issues and can provide insights or solutions.
    • Performance Considerations: Be aware that using calculated members can impact performance, especially in large datasets, so always consider the implications of your design choices.

    If the issue persists after trying the above solutions, it may be beneficial to reach out to SAP support 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
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