Quantcast
Channel: SCN: Message List - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 7775

Re: SAVE & CANCEL button enabling for changes but not working while clicking on it.

$
0
0

Hi Experts,

 

While debugging i found out the following issue on clicking final SAVE button.

 

In Class : CL_CRM_UIU_BT_H_OVW_VIEWSET

Interface method : IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS.

 

     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.


For all the buttons like 'CANCEL' similar buttons in header.



For all other users in system lr_entity->is_locked( ) is blank. But for this particular user who is facing this issue currently having this method return as 'X'.


Please guide me through on this


Viewing all articles
Browse latest Browse all 7775

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>