How To Fix SADL_GW_ATC_CONSMPTN801 - @Consumption.ranking.activeFunctions must be annotated at view


SADL_GW_ATC_CONSMPTN801 - Overview

  • Message type: E = Error

  • Message class: SADL_GW_ATC_CONSMPTN - SADL Gateway: ATC Messages for Consumtion Annotations

  • Message number: 801

  • Message text: @Consumption.ranking.activeFunctions must be annotated at view

  • Show details Hide details
  • What causes this issue?

    @Consumption.ranking.activeFunctions can be annotated on header-level
    only.

    System Response

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

    How to fix this error?

    Remove the annotation wherever it is annotated at a view element.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


SADL_GW_ATC_CONSMPTN801 - Details

  • The error message SADL_GW_ATC_CONSMPTN801 @Consumption.ranking.activeFunctions must be annotated at view typically occurs in the context of SAP Gateway and the SAP ABAP programming model, particularly when working with CDS (Core Data Services) views and OData services.
    
    Cause: This error indicates that the CDS view you are trying to expose as an OData service is missing the required annotation for the @Consumption.ranking.activeFunctions. This annotation is necessary for the SAP Gateway to understand how to rank the functions that can be executed on the OData service. Without this annotation, the system cannot determine the active functions for the consumption of the OData service, leading to the error.
    Solution: To resolve this error, you need to add the required annotation to your CDS view. Here’s how you can do it: Open the CDS View: Locate the CDS view in your ABAP development environment (e.g., Eclipse with ABAP Development Tools). Add the Annotation: You need to add the @Consumption.ranking.activeFunctions annotation

    Already have an account? Login here!




Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


SADL_GW_ATC_CONSMPTN801 - Related SAP Errors

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