How To Fix PD052 - Search tool is obsolete. Use CL_HR_ST_ADHOC_SELECTION.


PD052 - Overview

  • Message type: E = Error

  • Message class: PD - HR-PD: Reserved

  • Message number: 052

  • Message text: Search tool is obsolete. Use CL_HR_ST_ADHOC_SELECTION.

  • Show details Hide details
  • What causes this issue?

    The obsolete search function CL_HR_ST_ADHOC_QUERY used to perform a
    free search is entered in the control tables for the Object Manager
    search tools.

    System Response

    This search function is obsolete and should not be used anymore. It has
    been replaced with a newer version called CL_HR_ST_ADHOC_
    SELECTION.

    How to fix this error?

    Maintain the T77FSEAT and T77FSEATGB tables by replacing the
    CL_HR_ST_ADHOC_QUERY search function with CL_HR_ST_ADHOC_SELECTION in
    all entries.

    Procedure for System Administrators

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message PD052 - Search tool is obsolete. Use CL_HR_ST_ADHOC_SELECTION. ?
    The SAP error message PD052 indicates that the search tool you are trying to use is obsolete and suggests using the class CL_HR_ST_ADHOC_SELECTION instead. This error typically arises in the context of SAP HR (Human Resources) modules, particularly when dealing with selection screens or search functionalities.
    
    Cause: The error occurs because the system is trying to use an outdated or deprecated search tool that is no longer supported. SAP regularly updates its software, and certain functionalities may be replaced or improved over time. The message PD052 is a prompt to transition to the newer method of handling selections.
    Solution: To resolve this error, you should: Update Your Code: If you are using custom code or enhancements that rely on the old search tool, you will need to modify it to use the CL_HR_ST_ADHOC_SELECTION class. This class provides the necessary methods and functionalities for performing ad-hoc selections in the HR module. Check Documentation: Refer to the SAP

    Already have an account? Login here!




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:
  • PD051 Object cut
    Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...

  • PD050 Cut an object first
    Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...

  • PD053 Key date is not within planning period from & to &
    Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...

  • PD066 Record could not be saved
    Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...

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