on 07-12-2012 6:20 AM
Hi Experts,
I need your help to resolve the following issue I have been facing.
Whenever I open any appointment and then click on edit and then click back without editing and saving it, then It looks that the appointment is in display mode but still I can see a lock entry in SM12.
Any idea how can we deal with it?
Another thing which I have now noticed is, when I open an appointment(in display mode only) from the home page of CRM(under My Appointments Today), there is no lock entry in SM12. However when I go to calendar and open the same appointment from there(again in display mode only) I see a lock entry in SM12.
Any inputs to deal with this as well please?
We have a batch job running every one minute which updated the apointments in CRM. Due to above issue, batch job finds the appointment locked and does not update it.
Ideally I shoud not be able to see the lock entry in SM12 unless the appointment is in edit mode.. right?
We have enhanced only BT126H_APPT/ApptOVViewset of component BT126H_APPT. Only eh_onsave and eh_ondelete have been modified.
Thanks
Yogesh
Hi Yogesh ,
Check out the authorization for your business role .......
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Whenever you click on the edit button it will be in display mode right ? so what i understood is ,may be they would have maintained the authorization for your business transcation type appointment in pfcg role .
check
T-code PFCG enter your pfcg role and in auth. tab click on the display auth. then in that CRM Component->Business Transcation Type ->check Activity and Business Transcation type .
Hi,
I think you didn't get my query correctly.
Whenever I open any appointment, it should open in display(non-editable) mode.. right? In my case also it is opening in display mode only. But at the same time I can see a corresponding lock entry in T-code SM12 which should not be there unless the appointment is in edit mode.
And this is causing problem as our batch job tries to update the appointment but finds it locked even if the appointment is in display mode only.(Now if you read my first post again, you will have a clear idea about my query)
Hope I have put my concern more clearly this time.
Thanks
Yogesh
Hi,
I have checked the above mentioned options.
In In BT126H_APPT/ApptDetailsOV, event ONEDIT. We have, the following
IF lv_entity IS BOUND.
IF lv_entity->lock( ) = 'false'.
RETURN.
The above code is OK i guess.
And I am afraid but in BT126H_APPT/ApptOVViewset, I don't see ONEDIT event.
Are we missing out anything here??
Thanks and awaiting your response
Yogesh
Hi,
As i told you..in if_bsp_wd_toolbar_callback~getbuttons i dont see any view_group_contextnode..
Also i would again like to highlight all this issue(that i see lock entry in SM12 even if the appointment is in display mode) happens only when i open the appointment from calendar..
when i open the same appt from home page --> my appointments today.. i dont get this issue..
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.