Here table controller->menu_items contains all the work-center links which will be visible on UI. So we can delete any number of logical links from this table to hide them from the navigation Bar .
lr_gdc = cl_crm_ui_data_context_srv=>get_instance( ).
CHECK lr_gdc IS BOUND.
lr_bo_prop ?= lr_gdc->get_entity( name = 'CURRENTCUSTOMER' ).
if lr_bo_prop is INITIAL.
This code is used to check if the account is confirmed or not in UI.
Hope it helps
Thanks,
Kumar.