cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Hiding value Substitutes in Show drop down above Dashboard in cPro 4.5

ArtiBhat
Product and Topic Expert
Product and Topic Expert
0 Likes
193

Hi Experts,

Is there any customizing table to hide the dropdown value "Substitutes" above dashboard in cPro 4.5.

Best Regards,

Arti.

Accepted Solutions (1)

Accepted Solutions (1)

thomas_berndt
Advisor
Advisor
0 Likes

Hi Arti,

I'm sorry, but I have to inform you that there is no such customizing table. The entries shown in that list box is hardwired, and thus the only way to change this, would be to modify the respective method. If you really have to remove the subsitutes and think it'd be worth the modification, here's the location:

CL_DPR_UI_LOG_LOCATOR->GET_VI_LOCATOR_DROPDOWN


* My Substitutes
  IF lv_viewtype-mainview = cl_dpr_ui_services=>sc_view_projects OR
     lv_viewtype-mainview = cl_dpr_ui_services=>sc_view_tasks OR
     lv_viewtype-mainview = cl_dpr_ui_services=>sc_view_checklistitems.
    macro_get_otr_text 'DEVELOPMENT_PROJECTS_UI_WD/VERTRETUNGEN' ls_dropdown-name.
    ls_dropdown-value = cl_dpr_api_co=>sc_ot_substitute.
    APPEND ls_dropdown TO et_dropdown.
  ENDIF.

However, I don't recommend to do this, this should be only a last resort measure.

Best regards,

Thomas

Answers (0)