How To Fix EC087 - Include menus can be used only in the menu bar


SAP Error Message - Details

  • Message type: E = Error

  • Message class: EC - Development environment: Menu Painter

  • Message number: 087

  • Message text: Include menus can be used only in the menu bar

  • 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 EC087 - Include menus can be used only in the menu bar ?

    The SAP error message EC087, which states "Include menus can be used only in the menu bar," typically occurs when there is an attempt to use an include menu in a context where it is not allowed, such as in a toolbar or other non-menu bar areas.

    Cause:

    The error is caused by trying to define or use an include menu in a location that does not support it. In SAP GUI, include menus are specifically designed to be used in the menu bar of an application, and using them elsewhere will trigger this error.

    Solution:

    To resolve this error, you should ensure that the include menu is only defined and used in the menu bar. Here are some steps you can take:

    1. Check Menu Configuration: Review the configuration of your menus in the SAP GUI. Make sure that any include menus are placed in the menu bar section of your application.

    2. Modify the Code: If you are working with ABAP code or a similar configuration, ensure that the include menu is not being referenced in a toolbar or other non-menu bar context. You may need to adjust the code to ensure that the include menu is only called in the appropriate context.

    3. Use Standard Menus: If you need to create a menu that can be used in toolbars or other areas, consider using standard menus or other types of menus that are supported in those contexts.

    4. Consult Documentation: Refer to SAP documentation or help resources for guidance on menu configurations and the proper use of include menus.

    Related Information:

    • SAP GUI: The SAP Graphical User Interface (GUI) is the primary interface for interacting with SAP applications. Understanding its structure and menu configurations is crucial for effective development and troubleshooting.
    • ABAP Development: If you are developing in ABAP, familiarize yourself with the menu programming concepts, including how to define and use menus correctly.
    • SAP Notes: Check SAP Notes for any updates or specific guidance related to this error message, as there may be patches or additional information provided by SAP.

    By following these steps and understanding the context of the error, you should be able to resolve the EC087 error effectively.

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