Do you have any question about this error?
Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now →
Message type: E = Error
Message class: LDAPRC - LDAP Interface Messages in C
Message number: 004
Message text: Maximum number of find results exceeded
The directory cannot fully execute a search query since the number of
entries to be returned exceeds the upper limit set in the directory.
This situation primarily occurs, if the user master synchronization
(report RSLDAPSYNC_USER) is to be used, and the Microsoft Active
Directory is used. This has an upper limit of 1000 entries.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Use the "Page Size" setting in the Customizing of the LDAP Connector to
activate paged searching. The documentation for this parameter contains
additional information.
Increase the upper limit for the number of permitted search results. For
more information about the procedure, see the documentation for your
directory.
Error message extract from SAP system. Copyright SAP SE.
LDAPRC004
- Maximum number of find results exceeded ?The SAP error message LDAPRC004: Maximum number of find results exceeded typically occurs when a query to an LDAP (Lightweight Directory Access Protocol) directory returns more results than the configured limit. This can happen in various scenarios, such as when trying to retrieve user information or group memberships from an LDAP server.
Cause:
- Result Limit Exceeded: The LDAP server has a limit on the number of entries that can be returned in a single search operation. This limit is often set to prevent excessive load on the server and to ensure performance.
- Query Specificity: The search query may be too broad, resulting in a large number of entries being returned.
- LDAP Server Configuration: The maximum number of results returned can be configured on the LDAP server, and it may be set to a low value.
Solution:
- Refine the Search Query: Modify the LDAP search query to be more specific. This can involve adding more filters or constraints to reduce the number of results returned.
- Increase Result Limit: If you have access to the LDAP server configuration, consider increasing the maximum number of results that can be returned. This is usually done in the server's configuration settings.
- Paginate Results: Implement pagination in your LDAP queries if supported. This allows you to retrieve results in smaller chunks rather than all at once.
- Check SAP Configuration: Ensure that the SAP system is configured correctly to handle LDAP queries. This may involve checking the settings in transaction SU01 for user management or LDAP settings in the SAP system.
- Consult Documentation: Review the documentation for both the SAP system and the LDAP server to understand any specific limitations or configurations that may apply.
Related Information:
If the issue persists after trying the above solutions, it may be beneficial to consult with your system administrator or SAP support for further assistance.
Get instant SAP help. Sign up for our Free Essentials Plan.
LDAPRC003
Time limit exceeded
What causes this issue? A search query to the directory cannot be fully processed by it, since it exceeded the upper limit for the processing time se...
LDAPRC002
Log error occurred
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
LDAPRC005
Comparison failed
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
LDAPRC006
Comparison was successful
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.