Why document in IC role stays in edit mode after saving
In a document @ IC role, we change it to edit mode, make changes, e.g. in description, click on save, the change is saved but the document remains in edit mode and edit button remains grayed out.
This is because a special checking during save in following method prevent it from existing edit mode and thus keeps the document locked.
CL_CRM_UIU_BT_TOOLS method SAVE
*keep interaction record in edit mode since it is required with or witho
*needed for 1-document scenario
lr_profile = cl_crm_ui_profile=>get_instance( ).
lv_profile_type = lr_profile->get_profile_type( ).
IF lr_profile->get_profile_type( ) EQ if_crm_uiu_channel_aspects=>gc
lr_access->if_crm_uiu_channel_aspects~after_commit( ).
ENDIF.
In case of an IC role system keeps the edit mode after save. This is standard behavior.
To release the lock you need to press the ‘end’ button.
You may refer to manual instructions in SAP Note 1457641 to change transactions to display mode after saving.
Nice post, Spencer!!
I totally agree with you. In IC WebUI, interaction record will be always kept in edit mode until the Agent clicks the 'End' button.
Regarding other docuements, we can apply note 1457641 and follow the manual steps mentioned in it. By this steps, documents will switch to display mode after save. 🙂
Best Regards,
Bruce
Hi Spencer,
Informative post. Thanks.
Regards,
Ankita.
Hi Ankita,
Glad you like.
Thank you.
Spencer
Very informative. Thanks Spencer for sharing knowledge. 🙂