How To Fix APS_CKE_PARSER081 - Data source &1 is an External API and cannot be used in custom CDS views


APS_CKE_PARSER081 - Overview

  • Message type: E = Error

  • Message class: APS_CKE_PARSER - CDS Key user tool - AST handler messages

  • Message number: 081

  • Message text: Data source &1 is an External API and cannot be used in custom CDS views

  • Show details Hide details
  • What causes this issue?

    If data sources and included elements have been exposed in an external
    API scenario, they can't be used as primary data sources for a custom
    CDS View.

    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?

    Select a different data source which has not been exposed as OData API.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


APS_CKE_PARSER081 - Details

  • The SAP error message APS_CKE_PARSER081 indicates that you are trying to use a data source that is classified as an "External API" in a custom Core Data Services (CDS) view. This is not allowed because CDS views are designed to work with database tables or views, and external APIs do not fit into this category.
    
    Cause: The error occurs when: You attempt to include an external API data source in a custom CDS view. The external API is not compatible with the CDS view framework, which expects data sources to be database tables or views.
    Solution: To resolve this issue, consider the following approaches: Use a Different Data Source: If possible, replace the external API data source with a standard database table or view that contains the required data. Create a Wrapper: If you need to use data from the external API, consider creating a wrapper or a custom ABAP program that fetches the data from the API and

    Already have an account? Login here!




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


APS_CKE_PARSER081 - 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