How To Fix 5A474 - Generated profile for deletion is still in use in composite profile(s)


SAP Error Message - Details

  • Message type: E = Error

  • Message class: 5A - Basis Personnel Management

  • Message number: 474

  • Message text: Generated profile for deletion is still in use in composite profile(s)

  • Show details Hide details
  • The system is trying to delete a generated authorization profile
    because, for example, a role or responsibility needs to be deleted.
    However, the generated profile is still being used in one or more
    composite profiles.
    To ensure consistency, the generated profile cannot be deleted. For
    this reason, the current step cannot be performed.
    Make sure that the generated profiles in question are no longer used in
    composite profiles. You can then repeat this step. Transaction SU02
    enables you to see how profiles are used.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message 5A474 - Generated profile for deletion is still in use in composite profile(s) ?

    The SAP error message 5A474 indicates that a generated profile intended for deletion is still being utilized in one or more composite profiles. This typically occurs in the context of user authorization profiles and roles within the SAP system.

    Cause:

    The error arises when you attempt to delete a generated profile that is still linked to a composite profile. Composite profiles are used to group multiple single profiles together, and if any of the profiles you are trying to delete are still referenced in these composite profiles, the system will prevent the deletion to maintain data integrity.

    Solution:

    To resolve this error, follow these steps:

    1. Identify the Composite Profiles:

      • Use transaction code PFCG (Profile Generator) to check which composite profiles are using the generated profile you want to delete.
      • Navigate to the composite profiles and check their assigned single profiles.
    2. Remove the Profile from Composite Profiles:

      • If you find that the generated profile is indeed assigned to one or more composite profiles, you will need to remove it from those composite profiles.
      • Open each composite profile that includes the generated profile and remove the reference to the generated profile.
    3. Delete the Generated Profile:

      • Once the generated profile is no longer in use by any composite profiles, you can proceed to delete it.
      • Use transaction code PFCG to delete the generated profile.
    4. Check for Other Dependencies:

      • Ensure that there are no other dependencies or references to the generated profile in other roles or profiles.
    5. Transport Considerations:

      • If you are working in a transport environment, ensure that any changes made are properly transported to other systems as needed.

    Related Information:

    • Transaction Codes:

      • PFCG: Profile Generator for managing roles and profiles.
      • SU01: User Maintenance, where you can check user assignments to profiles.
    • Documentation:

      • Review SAP documentation on user roles and profiles for a deeper understanding of how profiles are structured and managed.
    • SAP Notes:

      • Check for any relevant SAP Notes that may provide additional insights or solutions related to this error message.

    By following these steps, you should be able to resolve the error and successfully delete the generated profile.

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