cancel
Showing results for 
Search instead for 
Did you mean: 

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

ArtiBhat
Associate
Associate
0 Kudos

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
Active Participant
0 Kudos

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)