How To Fix PR340 - Either & or & in profile, not both (check this)


SAP Error Message - Details

  • Message type: E = Error

  • Message class: PR - Forecast: Help messages

  • Message number: 340

  • Message text: Either & or & in profile, not both (check this)

  • Show details Hide details
  • What causes this issue?

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

    System Response

    How to fix this error?

    INCLUDE NA_SACHVERHALT
    Please choose between these two parameters and enter one only.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message PR340 - Either & or & in profile, not both (check this) ?

    The SAP error message PR340, which states "Either & or & in profile, not both (check this)," typically occurs in the context of user profiles or authorization profiles in SAP. This error indicates that there is a conflict in the configuration of the user profile, where both options (usually related to authorization objects or parameters) are set in a way that is not allowed.

    Cause:

    1. Profile Configuration Conflict: The error arises when both options are selected in a user profile where only one should be allowed. This could be due to incorrect settings in the profile configuration.
    2. Authorization Objects: The error may also relate to specific authorization objects that are mutually exclusive, meaning that a user cannot have both permissions at the same time.
    3. Custom Development: If there are custom developments or modifications in the authorization logic, they might lead to this conflict.

    Solution:

    1. Check User Profile Settings:

      • Go to the transaction code SU01 (User Maintenance) or PFCG (Role Maintenance).
      • Review the user profile or role assigned to the user and check the settings for conflicting options.
      • Ensure that only one of the conflicting options is selected.
    2. Review Authorization Objects:

      • Identify the specific authorization objects involved in the error message.
      • Check the configuration of these objects to ensure that they are not set to allow both options simultaneously.
    3. Adjust Role Assignments:

      • If the user is assigned multiple roles, check if any of the roles contain conflicting settings.
      • Modify the roles to ensure that they do not create a conflict.
    4. Consult Documentation:

      • Refer to SAP documentation or notes related to the specific authorization objects or profiles involved to understand the constraints better.
    5. Testing:

      • After making changes, test the user’s access to ensure that the error is resolved and that the user has the appropriate permissions.

    Related Information:

    • Transaction Codes:
      • SU01 for user maintenance.
      • PFCG for role maintenance.
    • Authorization Objects: Familiarize yourself with the specific authorization objects that are causing the conflict. You can use transaction SU21 to view authorization objects.
    • SAP Notes: Check SAP Notes for any known issues or updates related to this error message. You can search for PR340 in the SAP Support Portal.

    If the issue persists after following these steps, it may be beneficial to consult with your SAP Basis or Security team for further investigation.

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

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