How To Fix MDG_BS_BP000 - Method &1 of access class &2 is obsolete


SAP Error Message - Details

  • Message type: E = Error

  • Message class: MDG_BS_BP - MDG BP: general messages

  • Message number: 000

  • Message text: Method &1 of access class &2 is obsolete

  • Show details Hide details
  • What causes this issue?

    The system called a method that must not be used anymore. As of SAP
    enhancement package 6 for SAP ERP 6.0 (MDG_APPL 606), functionality is
    moved from the old MDG access classes into MDG handler classes. In the
    old access classes, the SAP coding of public and protected methods is
    commented and the system displayes this warning. Private methods are
    deleted.

    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?

    Do not use the old MDG access classes as of EHP6. Use the related
    handler classes instead. The list below shows the old access classes and
    their related new access and handler classes.
    CL_MDG_BS_BP_ACCESS -> CL_MDG_BS_FND_ACCESS and CL_MDG_BS_BP_HANDLER
    CL_MDG_BS_SUPPL_ACCESS -> CL_MDG_BS_ECC_ACCESS and
    CL_MDG_BS_SUPPL_HANDLER

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message MDG_BS_BP000 - Method &1 of access class &2 is obsolete ?

    The SAP error message MDG_BS_BP000 with the description "Method &1 of access class &2 is obsolete" typically occurs in the context of SAP Master Data Governance (MDG) for Business Partners (BP). This error indicates that a method being called in the specified access class is no longer valid or has been deprecated.

    Cause:

    1. Obsolete Method: The method being referenced in the error message has been marked as obsolete in the SAP system. This can happen due to updates or changes in the underlying SAP framework or business logic.
    2. Version Mismatch: If you are using a version of SAP that is not compatible with the method being called, it may lead to this error.
    3. Custom Code: If there are custom implementations or enhancements that reference the obsolete method, this can trigger the error.

    Solution:

    1. Check SAP Notes: Look for any relevant SAP Notes that address this specific error. SAP frequently releases notes that provide fixes or workarounds for known issues.
    2. Update Code: If the error is due to custom code, you will need to update the code to use the current method or class that replaces the obsolete one. This may involve:
      • Identifying the new method that should be used.
      • Refactoring the code to replace calls to the obsolete method with calls to the new method.
    3. Consult Documentation: Review the SAP documentation for the version you are using to understand the changes made to the access class and its methods.
    4. System Upgrade: If you are on an older version of SAP, consider upgrading to a newer version where the method is still supported or has been replaced with a new implementation.
    5. Testing: After making changes, ensure thorough testing is conducted to confirm that the new implementation works as expected and does not introduce new issues.

    Related Information:

    • SAP Master Data Governance (MDG): This is a solution that helps organizations manage their master data across various domains, including business partners, materials, and customers.
    • Access Classes: In SAP, access classes are used to manage the access to data in a structured way. They define how data can be read or modified.
    • SAP Community and Forums: Engaging with the SAP Community or forums can provide insights from other users who may have encountered and resolved similar issues.

    If the problem persists after trying the above solutions, it may be beneficial to reach out to SAP support 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