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

Close

How To Fix WZ562 - Favorites: Invalid object reference passed


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WZ - Workflow: Model objects

  • Message number: 562

  • Message text: Favorites: Invalid object reference passed

  • 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 WZ562 - Favorites: Invalid object reference passed ?

    SAP Error Message:
    WZ562 Favorites: Invalid object reference passed


    Cause:

    This error typically occurs when there is an issue with the SAP GUI Favorites functionality. Specifically, it means that the system received an invalid or corrupted object reference related to a favorite entry. This can happen due to:

    • Corrupted or invalid entries in the Favorites list.
    • Inconsistencies in the SAP GUI cache or local data.
    • Issues with the internal handling of favorite objects in the SAP GUI or backend.
    • Sometimes, it can be triggered by custom enhancements or user-specific settings that manipulate favorites.

    Explanation:

    SAP GUI Favorites allow users to save transactions, reports, or URLs for quick access. Internally, these favorites are stored as objects with references. If the reference passed to the system is invalid (e.g., points to a non-existent or deleted object), the system throws this error.


    Solution:

    1. Clear or Reset Favorites:

      • Ask the user to remove the problematic favorite entry.
      • If the user cannot identify which favorite causes the issue, try clearing the entire favorites list and re-adding entries.
      • This can be done by:
        • Right-clicking on the Favorites folder in SAP GUI and deleting entries.
        • Or resetting the favorites via SAP GUI options.
    2. Delete SAP GUI Cache:

      • Sometimes, the local SAP GUI cache or configuration files get corrupted.
      • Close SAP GUI.
      • Navigate to the SAP GUI local data folder (e.g., %APPDATA%\SAP\Common or %USERPROFILE%\AppData\Roaming\SAP\Common).
      • Delete or rename the sapshortcut.xml file which stores favorites.
      • Restart SAP GUI and recreate favorites.
    3. Check for SAP GUI Updates:

      • Ensure the SAP GUI is updated to the latest patch level.
      • Some older versions had bugs related to favorites handling.
    4. Check for Custom Code or Enhancements:

      • If the error occurs during a custom program or enhancement that manipulates favorites, review the code to ensure valid object references are passed.
    5. SAP Notes and Support:

      • Search SAP Support Portal for notes related to message WZ562.
      • Example SAP Note: 000123456 (hypothetical) might address known issues with favorites.

    Related Information:

    • Transaction: Favorites are managed directly in the SAP GUI, not via a transaction code.
    • SAP GUI Version: Some versions have known issues with favorites; upgrading often helps.
    • User-specific: Favorites are user-specific; the problem usually affects only the user with corrupted favorites.
    • Backup: Before deleting favorites, advise users to export or note down important entries.

    Summary:

    Aspect Details
    Error WZ562 Favorites: Invalid object reference passed
    Cause Corrupted or invalid favorite entry or SAP GUI cache issue
    Solution Clear/delete problematic favorites, delete SAP GUI cache files, update SAP GUI
    Additional Check for custom code, consult SAP Notes, user-specific issue

    If the problem persists after these steps, consider raising a support ticket with SAP, providing logs and screenshots for further analysis.

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