How To Fix GOX_OBJECTS_GENERATE138 - Function group &1 still contains function modules


SAP Error Message - Details

  • Message type: E = Error

  • Message class: GOX_OBJECTS_GENERATE - Generation of objects

  • Message number: 138

  • Message text: Function group &1 still contains function modules

  • 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 GOX_OBJECTS_GENERATE138 - Function group &1 still contains function modules ?

    The SAP error message GOX_OBJECTS_GENERATE138 indicates that a function group still contains function modules, which prevents the generation of the function group. This typically occurs when you attempt to delete or regenerate a function group that has not been completely cleaned up.

    Cause:

    1. Existing Function Modules: The function group you are trying to delete or regenerate still has function modules associated with it. This means that the function group is not empty, and SAP does not allow the deletion or regeneration of a function group that contains function modules.
    2. Inconsistent State: There may be an inconsistency in the system where the function group is not properly recognized as empty, even if you believe you have deleted the function modules.

    Solution:

    1. Check Function Modules:

      • Go to transaction SE80 (Object Navigator) or SE37 (Function Module) and check if there are any function modules still associated with the function group.
      • If there are function modules, you need to delete them or move them to another function group if they are still needed.
    2. Delete Function Modules:

      • If you find function modules that are no longer needed, delete them using transaction SE37.
      • Make sure to activate the changes after deletion.
    3. Regenerate the Function Group:

      • After ensuring that all function modules have been deleted, try regenerating the function group again.
      • You can do this by going to transaction SE80, selecting the function group, and choosing the "Generate" option.
    4. Check for Dependencies:

      • Ensure that there are no other objects (like includes or other function groups) that depend on the function modules you are trying to delete.
    5. Transport Requests:

      • If you are working in a transport environment, ensure that all changes are properly released and that there are no pending transport requests that might be causing the issue.

    Related Information:

    • Function Groups: A function group is a container for function modules in SAP. It allows you to group related function modules together.
    • Function Modules: These are reusable pieces of code that can be called from other programs or function modules.
    • Transaction Codes: Familiarize yourself with transaction codes like SE80 (Object Navigator), SE37 (Function Module), and SE11 (Data Dictionary) for managing and navigating SAP objects.

    If you continue to face issues after following these steps, consider checking SAP Notes or reaching out to SAP support for further assistance.

    • 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