Hi Experts,
When user trying to SAVE the quote , in back end while displaying buttons , lr_entity->is_locked( ) is always returning as X for a single user in IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS.
Due to which SAVE , CANCEL & print (header buttons) buttons are always displaying for that corresponding user , even after actual save happened.
ls_button-type = cl_thtmlb_util=>gc_icon_save.
ls_button-on_click = gc_ev_save.
ls_button-page_id = me->component_id.
ls_button-text = cl_wd_utilities=>get_otr_text_by_alias( 'CRM_UIU_BT/SAVE' ). "#EC NOTEXT
IF lr_entity IS BOUND.
ls_button-enabled = lr_entity->is_locked( ).
ENDIF.
APPEND ls_button TO rt_buttons.
Whether this is happening due to Authorization issue or something else as this is single user limited error.
Please let me know what cause this issue.
Regards,
Siva K.