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


SAP Error Message - Details

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

    1. 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.

    2. Check Documentation: Refer to the SAP documentation for CL_HR_ST_ADHOC_SELECTION to understand how to implement it correctly. This will provide you with the necessary methods and parameters to use for your specific requirements.

    3. Test the Changes: After making the necessary updates, thoroughly test the new implementation to ensure that it meets your needs and that the error no longer appears.

    4. Consult SAP Notes: Check the SAP Support Portal for any relevant notes or updates regarding this error message. There may be specific patches or recommendations provided by SAP.

    5. Seek Help from SAP Community: If you encounter difficulties in implementing the changes, consider reaching out to the SAP Community or forums where other users may have faced similar issues.

    Related Information:

    • SAP Version: Ensure that you are aware of the version of SAP you are using, as the availability and implementation of classes may vary between versions.
    • Training and Documentation: If you are not familiar with ABAP programming or the HR module, consider seeking training or consulting with a developer who has experience in SAP HR.
    • Performance Considerations: When switching to a new class or method, keep in mind the performance implications and ensure that the new implementation is efficient.

    By following these steps, you should be able to resolve the PD052 error and successfully implement the new search functionality in your SAP environment.

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