cancel
Showing results for 
Search instead for 
Did you mean: 

custom application title and toolbar issue crm web ui

Former Member
0 Kudos

i am adding the title in IF_BSP_WD_HISTORY_STATE_DESCR~GET_STATE_DESCRIPTION method of window controller and custom button using IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS method.

the title and toolbar is displayed properly when first time application is triggered, but when i navigate to any stantard application and then again navigate back to custom application , title and toolbar is not changing , previous standard application title and toolbar is only getting displayed.

please help me.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

its is not refresing the title bar and toolbar  second time the application gets called.

Former Member
0 Kudos

Hi Anshul,

Can you please paste the code, which you written in this method?

Thanks

Sudhansu

Former Member
0 Kudos

method IF_BSP_WD_HISTORY_STATE_DESCR~GET_STATE_DESCRIPTION.

   CALL METHOD super->if_bsp_wd_history_state_descr~get_state_description
    EXPORTING
      iv_current_description = iv_current_description
    RECEIVING
      description            = description.

  REPLACE description WITH text-001 INTO description.
endmethod.

   METHOD if_bsp_wd_toolbar_callback~get_buttons.

   CALL METHOD super->if_bsp_wd_toolbar_callback~get_buttons
RECEIVING
  rt_buttons = rt_buttons.

  s_button-type = cl_thtmlb_util=>gc_icon_goto.

    ls_button-text     = 'MTCCA'.
    ls_button-tooltip  = 'Launch MTCCA'.
    ls_button-enabled  =  lv_enabled.
    CONCATENATE 'javascript:window.open("' lv_url '")' INTO lv_url.
    ls_button-on_client_click = lv_url.
    APPEND ls_button TO rt_buttons.

endmethod.

juergenbaur
Active Participant
0 Kudos

Just set a break-point and see if you are running into your implementation.

Does your App run in a standard app?

br

Jürgen

Former Member
0 Kudos

Hi Ansul,

As mentioned by Juergen, please try to debug and see, how it is happening in your custom code?

Thanks

Sudhansu