cancel
Showing results for 
Search instead for 
Did you mean: 

ITSM - Tile Layout button not visible

Former Member
0 Kudos


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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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?


former_member186543
Active Contributor
0 Kudos

Hi Nicolai,

The tiling option is not yet available for home pages.

/Hasan

Former Member
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

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-9984b06e1...

Thanks

Jansi

Former Member
0 Kudos

I have followed the steps and are not able to see the "Switch to Tile Layout" button. I have not attached a screenshot, but it is exactly the same as yours - without the "Switch to Tile Layout"

former_member186543
Active Contributor
0 Kudos

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