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

Close

How To Fix VER_MESSAGES087 - Rights "&1" returned; rights "&2" expected


SAP Error Message - Details

  • Message type: E = Error

  • Message class: VER_MESSAGES - Message Class for FP Examples

  • Message number: 087

  • Message text: Rights "&1" returned; rights "&2" expected

  • Show details Hide details
  • What causes this issue?

    Rights "&1" returned; rights "&2" expected

    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?

    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 VER_MESSAGES087 - Rights "&1" returned; rights "&2" expected ?

    The SAP error message VER_MESSAGES087 indicates a discrepancy between the rights that were returned and the rights that were expected during a transaction or operation. This typically occurs in the context of authorization checks, where the system is validating whether a user has the necessary permissions to perform a specific action.

    Cause:

    1. Authorization Issues: The user may not have the required authorizations assigned to their role or profile. This can happen if the roles have not been properly configured or if there have been changes to the authorization objects.
    2. Role Changes: If roles have been modified or if the user has been assigned new roles that do not include the necessary authorizations, this error can occur.
    3. Custom Development: If there are custom programs or enhancements that check for specific authorizations, they may not be aligned with the expected rights.
    4. Transport Issues: If changes were transported from one system to another (e.g., from development to production), there may be inconsistencies in the authorization objects.

    Solution:

    1. Check User Authorizations: Use transaction code SU01 to check the user's authorizations. Ensure that the user has the necessary roles assigned that include the required authorization objects.
    2. Review Role Configuration: Use transaction code PFCG to review the roles assigned to the user. Ensure that the roles contain the necessary authorizations for the actions being performed.
    3. Authorization Trace: Use transaction code SU53 immediately after the error occurs to analyze the authorization check. This will show which authorization object failed and why.
    4. Adjust Authorizations: If the necessary authorizations are missing, you may need to adjust the roles or create new ones to include the required rights.
    5. Consult with Security Team: If you are not authorized to make changes, consult with your SAP security team to resolve the issue.
    6. Testing: After making changes, test the transaction again to ensure that the error is resolved.

    Related Information:

    • Authorization Objects: Understand the specific authorization objects related to the transaction or operation that is causing the error.
    • SAP Notes: Check SAP Notes for any known issues or patches related to this error message.
    • Documentation: Review SAP documentation regarding authorization management and best practices for role design.

    By following these steps, you should be able to identify the cause of the error and implement a solution to resolve it.

    • 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
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author