Skip to Content
author's profile photo Former Member
Former Member

How to call user menu from program

How can i call the user menu from a program?

I searched the form UCOMM_SHOW_NEW_MENU associated with XXUSER okcode of program SAPLSMTR_NAVIGATION, but it cannot be called from an outside program.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jul 15, 2011 at 07:15 PM

    Hi,

    If you want the user menu to always be displayed, you may do it in the USERS_SSM customizing table for each user, or globally for all users using SSM_CUST, entry SAP_MENU_OFF = YES or X.

    You may also do it programmatically for current user this way:

    CALL FUNCTION 'NAVIGATION_SET_ACTIVE_MENU'
            EXPORTING
              UNAME                     = sy-uname
              user_menu_type_flag       = 'C'. "S = SAP menu, C = user menu
    

    BR

    Sandra

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Sandra Rossi

      Just one detail, after this call during the next "back" error message "Cannot start transaction SMEN" is displayed.

      BR

      Nuno.

      Edited by: Nuno Bernardo on Jul 18, 2011 12:02 PM

      Edited by: Nuno Bernardo on Jul 18, 2011 12:03 PM

  • author's profile photo Former Member
    Former Member
    Posted on Jul 18, 2011 at 02:55 PM

    Just one detail, after this call during the next "back" error message "Cannot start transaction SMEN" is displayed.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.