Skip to Content
avatar image
Former Member

ITSM - Tile Layout button not visible


Hi,

I have followed the guide located here:

http://scn.sap.com/docs/DOC-43852

And after adding several views in "Registration of Overview Pages for Tile Layout", I am still not able to see the button. I don't see any prerequsites and I have no trouble making other Web UI enhancements.

Kindly Regards

Nicolai

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Jan 22, 2014 at 07:13 PM

    Hi again,

    I sorted it out now and it works for the different views, but not yet for the home view. Could that be because it includes some assignment blocks that don't allow tile layout?


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Hasan Rafiq

      Hi Hasan Rafiq,

      Well that explains why I am not able to access the feature then. That is really too bad, since for us that is probadly the most important page.

      I guess it is due to the different assignment blocks and I hope SAP sort this out.

      The reason I wanted to change this page, is that if you make an assignment block "whole width" - then it will go to the button of the page and there is - as far as I can see - no option to get it on top of the regular assignment blocks.

      You have a solution to this, when tiles are not available?

      Kindly Regards

      Nicolai

  • Jan 22, 2014 at 04:38 AM

    hi,

    Are you able to do Switch to Tile Layout option?

    follow step 3 Setting up a Tile Layout in the above doc, and add the screenshots of where you stuck.

    also refer here http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/802bc1e8-ab63-2c10-6690-9984b06e1a1e?overridelayout=t…

    Thanks

    Jansi

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Nicolai,

      I am hoping that you mentioned the controller name correctly in SPRO. Still in the last , you can prefer debugging  CL_BSP_DLC__OVWPAGECONFI0_IMPL > GET_AF_HEADER , as to why the button is not getting added.

      The switch to tile layout button is added here.

      The code looks something like this :

      DATA:

          lr_config_ovw     TYPE REF TO cl_bsp_dlc_config_ovw,

          lv_component_name TYPE bsp_wd_component_name,

          lv_ovp_view_name  TYPE bsp_dyn_config_ovp_view_name,

          ls_button         TYPE crmt_thtmlb_button,

          lv_enabled        TYPE abap_bool VALUE abap_true,

          lv_text           TYPE string.

         result-id    = 'areaFrame01'.

         result-title = text-023.

         result-nopersonalizebutton   = abap_true.

         result-nobacktotopbutton     = abap_true.

         result-noexceldownloadbutton = abap_true.

         result-notablegraphicsbutton = abap_true.

         result-maxbuttonnumber = 7.

         IF general_cuco->typed_context->attrib->get_general_op_mode( attribute_path = '' ) = 'REUSE'.

           CLEAR result-title.

           EXIT.

         ENDIF.

         lv_enabled = abap_true.

         CLEAR ls_button.

         ls_button = get_btn_toggle_tech_set_vis( ).

         APPEND ls_button TO result-toolbarbuttons.

         lv_component_name = general_cuco->typed_context->attrib->get_appl_name( ).

         lv_ovp_view_name  = general_cuco->typed_context->attrib->get_page_name( ).

         CONCATENATE lv_ovp_view_name '.DO' INTO lv_ovp_view_name.

         IF cl_bsp_dlc_customizing=>is_ovp_tile_enabled( iv_ovp_applname = lv_component_name

                                                         iv_ovp_pagekey  = lv_ovp_view_name  ) = abap_true.

           lr_config_ovw ?= config_core->config->maint.

           ls_button-enabled     = get_edit_mode( ).

           ls_button-on_click    = 'SWITCH_LAYOUT'.                "#EC NOTEXT

           IF lr_config_ovw->get_page_type( ) = '1COLUMN'.

             lv_text               = cl_htmlb=>get_otr_condense( 'BSP_DYN_CONFIG_TOOLS2/OVW_SWITCH_LAYOUT_TO_TILED' ).

           ELSE.

             lv_text               = cl_htmlb=>get_otr_condense( 'BSP_DYN_CONFIG_TOOLS2/OVW_SWITCH_LAYOUT_TO_1COLUMN' ).

           ENDIF.

           ls_button-text        = lv_text.

           ls_button-tooltip     = lv_text.

           APPEND ls_button TO result-toolbarbuttons.

           IF lr_config_ovw->get_page_type( ) = 'TILED'.

             CLEAR ls_button.

             ls_button-enabled     = get_edit_mode( ).

             ls_button-on_click    = 'CHOOSE_TILE_LAYOUT'.         "#EC NOTEXT

             ls_button-text        = cl_htmlb=>get_otr_condense( 'BSP_DYN_CONFIG_TOOLS2/OVW_CHANGE_TILE_LAYOUT' ).

             ls_button-tooltip     = ls_button-text.

             APPEND ls_button TO result-toolbarbuttons.

           ENDIF.

         ENDIF.

         ls_button = get_show_efc_conf_mm_button( ).

         IF ls_button IS NOT INITIAL.

           APPEND ls_button TO result-toolbarbuttons.

         ENDIF.

         result = result.

      /Hasan