How To Fix CFD_REGISTRY_CHECK118 - Datasource Alias &1 for union case was not found in CDS View &2


SAP Error Message - Details

  • Message type: E = Error

  • Message class: CFD_REGISTRY_CHECK - Custom Fields: Messages for Registry Check

  • Message number: 118

  • Message text: Datasource Alias &1 for union case was not found in CDS View &2

  • 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 CFD_REGISTRY_CHECK118 - Datasource Alias &1 for union case was not found in CDS View &2 ?

    The SAP error message CFD_REGISTRY_CHECK118 indicates that there is an issue with a DataSource alias in a Core Data Services (CDS) view, specifically in the context of a union case. This error typically arises when the system cannot find the specified DataSource alias in the given CDS view.

    Cause:

    1. Missing DataSource Alias: The DataSource alias specified in the union case does not exist in the CDS view.
    2. Typographical Error: There may be a typo in the DataSource alias name or the CDS view name.
    3. Incorrect Configuration: The CDS view may not be properly configured to include the DataSource alias.
    4. Changes in Data Model: If there have been recent changes to the underlying data model or the CDS view, the alias may have been removed or renamed.

    Solution:

    1. Verify DataSource Alias: Check the CDS view definition to ensure that the DataSource alias specified in the error message is correctly defined and exists.
    2. Check for Typos: Review the alias and CDS view names for any typographical errors.
    3. Update CDS View: If the DataSource alias has been changed or removed, update the CDS view to reflect the correct alias.
    4. Rebuild or Activate: If changes have been made, ensure that the CDS view is activated or rebuilt to reflect the latest changes.
    5. Consult Documentation: Refer to SAP documentation or notes related to the specific CDS view and DataSource to ensure compliance with best practices.

    Related Information:

    • CDS Views: Core Data Services (CDS) are a way to define semantically rich data models in SAP. They allow for the definition of views on database tables and can include complex logic.
    • Union Cases: In CDS views, union cases allow for combining multiple data sources into a single result set. Each DataSource must be correctly defined and accessible.
    • SAP Notes: Check SAP Notes for any known issues or patches related to the specific CDS view or DataSource you are working with.
    • Transaction Codes: Use transaction codes like SE11 (Data Dictionary) or SE80 (Object Navigator) to inspect and modify CDS views.

    If the issue persists after following these steps, consider reaching out to your SAP support team or consulting with an SAP expert 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
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