How To Fix SADL_GW_ATC_CONSMPTN811 - @Consumption.ranking irrelevant, since no @EnterpriseSearch-annotation


SADL_GW_ATC_CONSMPTN811 - Overview

  • Message type: E = Error

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

  • Message number: 811

  • Message text: @Consumption.ranking irrelevant, since no @EnterpriseSearch-annotation

  • Show details Hide details
  • What causes this issue?

    The view carries @Consumption.ranking-annotations, but there is no
    @EnterpriseSearch-annotation. As Enterprise Search is currently the only
    instance to evaluate @Consumption.ranking, these annotations are void.

    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?

    Either you remove the meaningless @Consumption.ranking-annotations, or -
    if this is intended - you add the necessary
    @EnterpriseSearch-annotations to make the view fit for Enterprise
    Search.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


SADL_GW_ATC_CONSMPTN811 - Details

  • The SAP error message SADL_GW_ATC_CONSMPTN811 @Consumption.ranking irrelevant, since no @EnterpriseSearch-annotation typically occurs in the context of SAP Gateway and the SAP ABAP programming environment when working with annotations related to OData services and consumption views.
    
    Cause: This error indicates that there is an issue with the use of the @Consumption.ranking annotation in your ABAP CDS (Core Data Services) view. The @Consumption.ranking annotation is used to define the ranking of the entity in the context of enterprise search. However, if the entity does not have an @EnterpriseSearch annotation, the ranking is considered irrelevant, leading to this error message.
    Solution: To resolve this error, you can take the following steps: Add the @EnterpriseSearch Annotation: If your CDS view is intended to be used with enterprise search, you should add the @EnterpriseSearch annotation to your CDS view. This will make the @Consumption.ranking annotation relevant. Example: @AbapCatalog.sqlViewName: 'Z_MY_CDS_VIEW' @AbapCatalog.compiler.compareFilter: true @AccessControl.authorizationCheck: #CHECK @EnterpriseSearch: true @Consumption.ranking: 10 define view Z_MY_CDS_VIEW as select from my_table {

    Already have an account? Login here!




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


SADL_GW_ATC_CONSMPTN811 - Related SAP Errors

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