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

Close

How To Fix SCRP_DYNPRO_UTIL_1020 - Function module still used by &1. FM not deleted


SAP Error Message - Details

  • Message type: E = Error

  • Message class: SCRP_DYNPRO_UTIL_1 - Messages for Report z_icon_neu

  • Message number: 020

  • Message text: Function module still used by &1. FM not deleted

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message SCRP_DYNPRO_UTIL_1020 - Function module still used by &1. FM not deleted ?

    The SAP error message SCRP_DYNPRO_UTIL_1020 indicates that a function module (FM) is still being used by a program or another object, which prevents it from being deleted. This is a common issue when trying to clean up or refactor code in SAP systems.

    Cause:

    The error occurs when:

    1. You attempt to delete a function module that is still referenced in one or more programs, function modules, or other objects.
    2. The function module may be used in various places, such as:
      • Other function modules
      • Reports
      • Transaction codes
      • Screens (dynpros)
      • Other objects like classes or methods

    Solution:

    To resolve this issue, you need to identify where the function module is being used and remove those references before you can delete it. Here are the steps to follow:

    1. Check Usage:

      • Use transaction code SE37 (Function Builder) to display the function module.
      • Click on the "Where-Used List" button (or press Ctrl + Shift + F3) to see all the objects that reference this function module.
      • Review the list to identify all the programs, function modules, or other objects that are using it.
    2. Remove References:

      • For each object that references the function module, you will need to either:
        • Modify the code to remove the call to the function module.
        • Replace it with an alternative function if applicable.
        • Comment out the code if you are not ready to remove it completely.
    3. Recheck Deletion:

      • After removing all references, try to delete the function module again using transaction code SE37.
    4. Transport Considerations:

      • If you are working in a development environment and plan to transport changes to production, ensure that all changes are included in the transport request.

    Related Information:

    • Transaction Codes:

      • SE37: Function Module Builder
      • SE80: Object Navigator (to check various object types)
      • SE11: Data Dictionary (to check for database-related references)
    • Best Practices:

      • Always perform a thorough analysis of dependencies before deleting any objects in SAP.
      • Consider documenting the changes made for future reference and to inform other developers.
    • SAP Notes:

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

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

    • 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
ERPlingo simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant