Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix MDG_REF_DATA008 - RFC connection &1 from system &2 to &3 does not use trusted RFC


SAP Error Message - Details

  • Message type: E = Error

  • Message class: MDG_REF_DATA - Message Class for Reference Data messages

  • Message number: 008

  • Message text: RFC connection &1 from system &2 to &3 does not use trusted RFC

  • Show details Hide details
  • What causes this issue?

    The remote function module has not been called through a trusted RFC.
    The RFC connection &V1& is not a trusted RFC.

    System Response

    Error occured during replication.

    How to fix this error?

    Contact the system administrator to create a trusted RFC connection
    between &V2& and &V3&. This RFC connection has to be maintained in the
    replication model under <LS>Master Data Governance -> General Settings
    -> Data Replication -> Define Custom Settings for Data Replication ->
    Define Replication Models</>. In the activity, select <LS>Assign
    Outbound Implementation -> Assign Target Systems for Repl. Model/Outb.
    Impl.</>

    Procedure for System Administrators

    Set up a trusted RFC connection between the hub system &V2& and client
    &V3& where the data is replicated.
    Perform the following steps to maintain a trusted RFC Connection:
    Open transaction SM59.
    Under <LS>ABAP Connections</>, select the RFC connection &V1&.
    Select the<LS> Logon & Security</> tab. Select the radio button
    <LS>Yes</> for the <LS>Trust Relationship</> field.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message MDG_REF_DATA008 - RFC connection &1 from system &2 to &3 does not use trusted RFC ?

    The SAP error message MDG_REF_DATA008 indicates that there is an issue with the RFC (Remote Function Call) connection between two SAP systems. Specifically, it states that the RFC connection from system &2 to system &3 does not use a trusted RFC. This can lead to authorization issues when trying to access data or perform operations across these systems.

    Cause:

    The primary cause of this error is that the RFC connection is not configured to use trusted RFC. Trusted RFC connections allow for seamless communication between systems without requiring additional authentication for each call. If the connection is not trusted, the system may not allow certain operations due to security restrictions.

    Solution:

    To resolve this issue, you need to configure the RFC connection to be a trusted RFC. Here are the steps to do this:

    1. Access the RFC Destination Configuration:

      • Go to transaction code SM59 in the SAP GUI.
      • Locate the RFC destination that is causing the issue.
    2. Edit the RFC Destination:

      • Select the RFC destination and click on the "Change" button.
      • In the configuration settings, look for the option to set the connection as a trusted RFC.
    3. Set Trusted RFC:

      • In the "Logon & Security" tab, ensure that the "Trusted RFC" option is checked.
      • Save the changes.
    4. Check Authorization:

      • Ensure that the user accounts used for the RFC connection have the necessary authorizations to perform the required operations.
    5. Test the Connection:

      • After making the changes, test the RFC connection to ensure that it is working correctly. You can do this by using the "Connection Test" option in SM59.
    6. Review System Settings:

      • If you are still facing issues, review the system settings and ensure that both systems are configured to allow trusted RFC connections.

    Related Information:

    • RFC Types: There are different types of RFC connections in SAP, including "Transactional RFC" (tRFC), "Queued RFC" (qRFC), and "Trusted RFC." Understanding these types can help in configuring the appropriate connection.
    • Security Considerations: When configuring trusted RFC connections, be aware of the security implications. Ensure that only trusted systems are allowed to connect to each other without additional authentication.
    • SAP Notes: Check for any relevant SAP Notes that may provide additional guidance or updates related to this error message.

    By following these steps, you should be able to resolve the MDG_REF_DATA008 error and establish a trusted RFC connection between the specified systems.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


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


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