Context Menu in Bex Reports - position problem

Hello Experts,
In CRM 2007 we have a BSP application with a BEx frame  that displays BW reports.
When we want to jump to a CRM activity from a BW report - we right click the report and use the "go to --> activity" feature of the context menu.
The problem is that the context menu is always being displayed in the same place.
So if a user right clicks a report that is located at the bottom of the web page - he has to scroll all the way up to see the context menu.
The context menu is suppose to appear at the location of the pointer when performing right click - but it doesn't.
I hope i made the problem clear
has anyone encountered this before ?
Any help is appreciated...
Adi J.
Edited by: Adi Jabkowsky on Aug 3, 2009 9:23 AM

Hello Experts,
In CRM 2007 we have a BSP application with a BEx frame  that displays BW reports.
When we want to jump to a CRM activity from a BW report - we right click the report and use the "go to --> activity" feature of the context menu.
The problem is that the context menu is always being displayed in the same place.
So if a user right clicks a report that is located at the bottom of the web page - he has to scroll all the way up to see the context menu.
The context menu is suppose to appear at the location of the pointer when performing right click - but it doesn't.
I hope i made the problem clear
has anyone encountered this before ?
Any help is appreciated...
Adi J.
Edited by: Adi Jabkowsky on Aug 3, 2009 9:23 AM

Similar Messages

  • Context Menu in BW Report Iview not opening after upgrade to Portal 7.3

    Hi All,
    We have a unusual problem that, the Context menu of the BW reports for options like filtering is not opening post Upgrade to Portal 7.3 for End users.
    However, with Super Admin role, the Context menu opens for the BW report Iview.
    I have tried giving the same permission that the Super Admin Role has on the BW Report Iview to the End users, still no success.
    Any idea? Anybody faced same kind of problem?
    Please revert for any more info.
    BR,
    Uday

    Hi Uday,
    This is really a shot in the dark since I have not done much with 7.3.  Have you checked for UME actions that are assigned to the administrator but not the end user?
    Best regards,
    Duncan

  • How to translate the context menu of Bex Analyzer?

    Hi.experts:
    In my BW system,I found that the "drill down in row" and "drill down in column" context menu all wrong description.How can I translate the context menu?
    Points are waiting for you...thanks in advance.
    Best regards
    Martin Xie

    Hi Martin.
    Check this note:
    Note 1241284 - Incorrect translation in BEx Analyzer connected to NW 710
    Hope it helps.
    gdmon.-

  • Bex Reports date problem

    Hi all,
    We have created some queries in BEX. If the date field is not containing data even in the middle of the rows, it giving error as
    "ERROR BRAIN 299
    ERROR ERROR reading the data of infoprovider
    ERROR SQL0420N Invanlid character found in a character string argument.."
    Please suggest anything.
    If you fill all the rows with some date data , it is executing.
    Please help what to do incase of no data for date fields.
    Thans in Advance!

    Thanks for quick response!
    If there is no data for other fields, it displaying as # and Unassigend.
    But for <b>date fields</b> , if there is no data, it is giving error message.
    Please help.

  • 2.1.1 Problem with User Defined Reports with actions on the context menu

    I use the User Defined Reports quite a lot, and export and publish these to other members of the team as Shared Reports. I'm also quite disappointed that there seems to be no further development in this area of SQL Developer.
    One of the totally undocumented features of User Defined Reports is the ability to attach actions to a context menu, and pass data from the grid to a procedure, for example. Copying, then exporting the sessions report (from All Reports -> Data Dictionary Reports -> Database Administration -> Sessions) exposes the XML for adding actions to the context menu. The snippet for killing a session looks like this:
    <item  reload="true"  reloadparent="false" removeFromParent="false">
      <title>Kill Session</title>
      <prompt type="confirm" >     
        <label>Kill Session?</label>     
        <default><![CDATA[]]></default>     
        <value><![CDATA[]]></value>        
      </prompt>
      <sql><![CDATA[ALTER SYSTEM KILL SESSION '#SID#, #SERIAL#' IMMEDIATE]]></sql>
      <help>Kill the selected session.</help>
    </item>So to add this type of functionality to your own user defined reports, you need to export the report, edit the XML, and import it again. It seems to work fine to add this to the master reports, but if you add an <item> element to the child reports, the context menu items appear on the master report too, and they are duplicated many times. I'm not sure if the action of exporting the report adds to the number of times the context menu appears.
    Warning - if you edit a report using SQL Developer, all the <item> tags are removed. Once you've added actions to a context menu, you can only edit the report by exporting it, modifying the XML and importing it again.
    Has anyone else seen this behavior? Have you found a work-around?
    To the SQL Developer team: Are there any plans to allow the adding of user defined context menu items to reports using the GUI in the near future?

    You're right the context menu needs a GUI desperately. You can request this at the SQL Developer Exchange, so other users can vote and add weight for possible future implementation.
    Regards,
    K.

  • Unable to view report from Bex Report Designer

    Hi,
    When I log on to Bex Report Designer, I click execute button, it is giving a blank page. It is neither giving any error nor any message. We have recently installed NW2004s and BI Cont 703. Now my problem is how to make report visible in the BEX Report Designer.
    Thanks,
    Subhani

    Dear Prakash,
    Thanks for the quick reply. 
    I have religiously followed your Blog.  As far as I know any one who wanna setup BEx has to follow this.  It is the one place where all the settings related to BEx front end were discussed and disclosed.  Thanks a lot for your exemplary attempt.
    Though you have mentioned about the .NET frame work I could not understand how it will effect the "insert" menu of BEx report designer.  But i have checked that also and its matching with your recommendations.
    My question is pretty simple. With sapgui6.40compilation5 with all the latest patches both for gui, BW and BI. Will i get the options of <i>"Report section", "Report section based on Querry"</i>in the <b>"insert"</b> menu of BEx report designer. 
    The mentioned options <i>"Report section", "Report section based on Querry"</i>  were shown in the webnair of BEx report designer.  Pls check the link:
    (As per the SDN these menu items should be available in BEx report designer..Pls observe the Insert menu in the very first few seconds)
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9c059b57-0701-0010-3283-e5e8669f827e
    We have installed and upgraded the system to spstack 8 and done all the settings.  Our front end is also updated with the service packs.  But we could not get those options.  If you can give me your mail id i can send you the screen shots.
    Thanks & Regards,
    Sridharb

  • Configure the Context menu

    Is it possible to configure the context menu in BEx 3.5?
    What I want is to give the user the possibility to access Go-To reports but not e.g use the drill-down option.

    There isn't option to modify the context menu.
    You can give only quey without free-characteristics and give only possibility of Report-to-report interface (query jump):
    Regards,
    Sergio

  • Creation of Custom context menu in CL_GUI_TEXTEDIT

    Hello all,
    I need to develop a custom context menu in the Text Editor.
    I am using the <b>CONTEXT_MENU</b> event of the class
    <b>CL_GUI_TEXTEDIT </b>for the same.
    It is giving a short dump with an exception 'empty_obj' in the method
    <b>CL_CTXMNU_MGR=>CREATE_PROXY</b>.
    Please help.

    Hello Tejas
    The following sample report ZUS_SDN_TEXTEDIT_CTXMENU shows how to trigger context menus in text editor. Please note that the editor must be set <b>enabled</b>.
    If you inactivate subroutine <b>SET_REGISTERED_EVENTS</b> the new context menu function will no be displayed. Thus you need to <b>register</b> the event for context menu handling.
    *& Report  ZUS_SDN_TEXTEDIT_CTXMENU
    *& Flow logic of screen 100.
    *      PROCESS BEFORE OUTPUT.
    *       MODULE STATUS_0100.
    *      PROCESS AFTER INPUT.
    *       MODULE USER_COMMAND_0100.
    REPORT  ZUS_SDN_TEXTEDIT_CTXMENU.
    TYPE-POOLS: cntl.  " Types for Controls
    DATA:
      gd_okcode      TYPE ui_func,
      go_docking     TYPE REF TO cl_gui_docking_container,
      go_textedit    TYPE REF TO cl_gui_textedit,
      gd_name        TYPE thead-tdname,
      gs_header      TYPE thead,
      gd_langu       TYPE thead-tdspras,
      gt_lines       TYPE STANDARD TABLE OF tline.
    *       CLASS lcl_eventhandler DEFINITION
    CLASS lcl_eventhandler DEFINITION.
      PUBLIC SECTION.
        CLASS-METHODS:
          handle_context_menu
            FOR EVENT context_menu OF cl_gui_textedit
              IMPORTING
                menu
                sender,
          handle_ctxmenu_selected
            FOR EVENT context_menu_selected OF cl_gui_textedit
              IMPORTING
                fcode
                sender.
    ENDCLASS.                    "lcl_eventhandler DEFINITION
    *       CLASS lcl_eventhandler IMPLEMENTATION
    CLASS lcl_eventhandler IMPLEMENTATION.
      METHOD handle_context_menu.
        CALL METHOD menu->add_function
          EXPORTING
            fcode       = 'MY_FUNC'
            text        = 'My Function'
    *        ICON        =
    *        FTYPE       =
    *        DISABLED    =
    *        HIDDEN      =
    *        CHECKED     =
    *        ACCELERATOR =
      ENDMETHOD.                    "handle_context_menu
      METHOD handle_ctxmenu_selected.
        CASE fcode.
          WHEN 'MY_FUNC'.
            MESSAGE 'My function selected from ctxmenu' TYPE 'I'.
          WHEN OTHERS.
        ENDCASE.
      ENDMETHOD.                    "handle_ctxmenu_selected
    ENDCLASS.                    "lcl_eventhandler IMPLEMENTATION
    PARAMETERS:
      p_pspnr    TYPE prps-pspnr.
    START-OF-SELECTION.
    * Get the text object
      gs_header-tdid = 'LTXT'.  " long text
      gs_header-tdspras = syst-langu.
      CONCATENATE syst-langu p_pspnr
          INTO gs_header-tdname.
      gs_header-tdobject = 'PMS'.
      CALL FUNCTION 'READ_TEXT'
        EXPORTING
    *     CLIENT                        = SY-MANDT
          id                            = gs_header-tdid
          language                      = gs_header-tdspras
          name                          = gs_header-tdname
          object                        = gs_header-tdobject
    *     ARCHIVE_HANDLE                = 0
    *     LOCAL_CAT                     = ' '
    *   IMPORTING
    *     HEADER                        =
        TABLES
          lines                         = gt_lines
        EXCEPTIONS
          id                            = 1
          language                      = 2
          name                          = 3
          not_found                     = 4
          object                        = 5
          reference_check               = 6
          wrong_access_to_archive       = 7
          OTHERS                        = 8.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL SCREEN '0100'.
    END-OF-SELECTION.
    *&      Form  SET_REGISTERED_EVENTS
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM
    set_registered_events .
    * define local data
      DATA:
        lt_events      TYPE cntl_simple_events,
        ls_event       TYPE cntl_simple_event.
      TYPES: BEGIN OF cntl_simple_event,
           eventid TYPE i,
           appl_event TYPE c,
         END OF cntl_simple_event.
      ls_event-eventid = cl_gui_textedit=>event_context_menu.
      APPEND ls_event TO lt_events.
      ls_event-eventid = cl_gui_textedit=>event_context_menu_selected.
      APPEND ls_event TO lt_events.
      CALL METHOD go_textedit->set_registered_events
        EXPORTING
          events                    = lt_events
        EXCEPTIONS
          cntl_error                = 1
          cntl_system_error         = 2
          illegal_event_combination = 3
          OTHERS                    = 4.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " SET_REGISTERED_EVENTS
    *&      Module  STATUS_0100  OUTPUT
    *       text
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'MAIN_0100'.
    *  SET TITLEBAR 'xxx'.
      CLEAR: gd_okcode.
      IF ( go_textedit IS NOT BOUND ).
        CREATE OBJECT go_docking
           EXPORTING
             parent                      = cl_gui_container=>screen0
    *        REPID                       =
    *        DYNNR                       =
    *        SIDE                        = DOCK_AT_LEFT
    *        EXTENSION                   = 50
    *        STYLE                       =
    *        LIFETIME                    = lifetime_default
    *        CAPTION                     =
    *        METRIC                      = 0
            ratio                       = 90
    *        NO_AUTODEF_PROGID_DYNNR     =
    *        NAME                        =
          EXCEPTIONS
            cntl_error                  = 1
            cntl_system_error           = 2
            create_error                = 3
            lifetime_error              = 4
            lifetime_dynpro_dynpro_link = 5
            OTHERS                      = 6.
        IF sy-subrc <> 0.
    *     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        CREATE OBJECT go_textedit
          EXPORTING
    *        MAX_NUMBER_CHARS       =
    *        STYLE                  = 0
            wordwrap_mode          =
                c_textedit_control=>wordwrap_at_windowborder
    *        WORDWRAP_POSITION      =
            wordwrap_to_linebreak_mode =
               c_textedit_control=>true
    *        FILEDROP_MODE          = DROPFILE_EVENT_OFF
            parent                 = go_docking
    *        LIFETIME               =
    *        NAME                   =
          EXCEPTIONS
            error_cntl_create      = 1
            error_cntl_init        = 2
            error_cntl_link        = 3
            error_dp_create        = 4
            gui_type_not_supported = 5
            OTHERS                 = 6.
        IF sy-subrc <> 0.
    *     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        CALL METHOD go_textedit->set_text_as_r3table
          EXPORTING
            table           = gt_lines
          EXCEPTIONS
            error_dp        = 1
            error_dp_create = 2
            OTHERS          = 3.
        IF sy-subrc <> 0.
    *     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        CALL METHOD go_textedit->set_enable
          EXPORTING
            enable            = cl_gui_cfw=>true
          EXCEPTIONS
            cntl_error        = 1
            cntl_system_error = 2
            OTHERS            = 3.
        IF sy-subrc <> 0.
    *     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      PERFORM set_registered_events.
      SET HANDLER:
        lcl_eventhandler=>handle_context_menu     FOR go_textedit,
        lcl_eventhandler=>handle_ctxmenu_selected FOR go_textedit.
      ENDIF.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    *       text
    MODULE user_command_0100 INPUT.
      CASE gd_okcode.
        WHEN 'BACK'  OR
             'EXIT'  OR
             'CANC'.
          SET SCREEN 0. LEAVE SCREEN.
        WHEN OTHERS.
      ENDCASE.
      CLEAR: gd_okcode.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    Regards
      Uwe

  • Add a menu item in context menu at Sales Quotation

    How can I add a menu item in context menu at WH column in sales quotation screen? To access to the context menu, locate an active quotation and right click at an active WH column and a context menu will be shown.

    Hi Cherine,
    You can use the RightClickEvent to add your context menu depending on the position of the right click.
    You have a sample explaining how to use the RightClickEvent in the SDK UI Samples called 22.RightClick.
    Hope it helps
    Trinidad.

  • Context menu not working

    Can't access context menu in FireFox 3.6.15 either from right click or the windows context menu button

    Do you have that problem when running in the Firefox SafeMode? <br />
    [http://support.mozilla.com/en-US/kb/Safe+Mode] <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this: <br />
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • Context Menu Position Help

    My client wants to use Theme 12 instead of Theme 13 for the document library packaged application. I am having issues with the context menu. <b>I have the menu working</b>. I dont need links to threads about getting the menu to work. My issue is the position of the context menu is wrong and I have been fighting the css for two days trying to get it to work, I even took a crack at it with Firebug and couldnt get it sorted, but css's arent really my thing either. It appears on the bottom of screen on the left side of the screen. It seems to appear below all other regions, but I havent tested to confirm this.
    Using APEX 4.1, IE, Firefox, and Chrome.
    Richard

    I know this isnt proper by any means but this is what the code ended up looking like
    <script type="text/javascript">
    function doc_menu1(pThis,pId){
         var lDiv = $x(pThis);
             var test1 = $('#'+pThis.id).position().left + parseInt(lDiv.offsetWidth)
             var test2 = $('#'+pThis.id).position().top
         if(gRow!=lDiv){$x_Hide(gMenu)}
         gRowClick = $x_UpTill(lDiv,'TR');
         if(!gMenu){
               gMenu = $x_AddTag(document.body,'div','');
               gMenu.id = 'MENU_HOLDER';
                gMenu.style.posTop = parseInt(findPosY1(lDiv));
                gMenu.style.posLeft = parseInt(findPosX1(lDiv)) + parseInt(lDiv.offsetWidth);
         $x_Show(gMenu);
         var get = new htmldb_Get(null,html_GetElement('pFlowId').value,'APPLICATION_PROCESS=DOC_MENU',0);
         get.add('DOC_ID',$x(lDiv).id);
         get.GetAsync(doc_menu_click_return);
         return;
    function findPosX1(obj) {
         var curleft = curtop = 0;
             if (obj.offsetParent) {
                  do {
              curleft += obj.offsetLeft;
              curtop += obj.offsetTop;
                  } while (obj = obj.offsetParent);
            return [curleft];
    function findPosY1(obj) {
         var curleft = curtop = 0;
             if (obj.offsetParent) {
                  do {
              curleft += obj.offsetLeft;
              curtop += obj.offsetTop;
                  } while (obj = obj.offsetParent);
            return [curtop];
    </script>I put it in the HTML Header of the pages that had the js calls. This worked without any problems.
    Richard

  • Portal context menu incorrect position

    Hi all,
    Environment: BI 7.0, Portal 7.0
    Context menu positions incorrectly in portal when I click right mouse button on elements of tables. Sometimes, on the top of page or far away from the table, rather than beside the elements of tables.
    Could u tell me how to adjust context menu display position in portal management?
    Thank you!!!

    Hi,
    The problem which you are facing might be because of the browser problem.Remove all your cache and temp files in browser and try using portal.
    Regards,
    Vinoth.M

  • Error when using the report context menu option Goto - Documents

    Hi gurus,
    I'm doing some report tests via Analyzer and when a try to use de context menu option "Goto -> Documents" and try to create a new document, the following errors occur:
    "CANNOT GET THE FOLDER FOR ASSIGNMENT"
    "ERROR WHILE LAUNCHING NEW DOCUMENT DIALOG"
    I'm using the nw2004s version. Could someone help me out?
    Thanks in advance.

    Hi Thaigo,
    We are also having the same problem with 2004s SP9 and SP10.
    1. All the 0TCA* are active.
    2. Super admin role is assigned.
    But still getting the above three errors. Somebody who have overcome this problem please share the corresponding changes to be made in KM Configuration
    Thanks and Regards
    Giri Nath

  • Web Application Context Menu - Problem posting comments

    Hi all,
    We are using SAP BW 7.0 (nw2004s) and the web interface to the reports (Web Applications). Some specific reports have to enable users to insert information about specific lines (comments about non-conformity issues). We were planning to insert documents (via context menu) integrated with portal KM.
    Using the Analyzer, we had no problem at all. All the information posted was saved in KM and we could read it using "RSA1 - Documents" and using the Analyzer. The commented value shows a flag that indicates the comment (a small "paper" picture). But when we try to use the Web Application to post this information, it is saved ok but it can only be read using "RSA1 - Documents" and not by the Web Application (it always shows no new documents) and there's no indication in the commented value at all. Has anyone seen something like that? We need to use the web interface. Using the Analyzer is not an option.
    Thanks in advance

    This is not the 2004s runtime in the 2004s system. The url you provided is the BW 3.x runtime in the 2004s system. Make sure on the client side in IE, you don't have and script blocking or popup blocking. For client side settings in IE, make sure your settings are specified as outlined in this blog:
    Troubleshoot the SAP NetWeaver 2004s BI Frontend Installation
    Also, make sure your url has the fully qualified domain name for your server.

  • Context menu's in Alv Report (Grid)

    hello,
    what i have done- i have created a ALV report  by using the function modlue REUSE_ALV_GRID_DISPLAY.
    what i want-  When  user clicks with Right mouse button on some cell.
                              context menu should get displayed. a list of menu should appear  then user can select one of these options        and   eventually i'll on user command.
    however i know the concept of context menu's and i have created context menu on screen elements in module pool.
    but i have no idea whether these menu's can be created on ALV Grid.(simple ALv Grid----not ABAP OOPS)

    check the program BCALV_GRID_06, it gives a demo of context menu functionalty,
    but it uses cl_gui_alv_grid

Maybe you are looking for