Hi,
I am using EHP 5.
When I am trying to approve/reject the leave with note, i am getting error message 'Leave cannot be modified'.
I have gone through this thread :http://scn.sap.com/thread/3165873
And added the correction instruction as per the SAP note 0001687923.
As per note,
IF iv_is_notice = abap_true
AND lv_readonly_notice = abap_true
AND is_user-mode = 'E'.
I have made the above change. One clarification here, In the delete block and insert block, we have following code.
AND lv_readonly_notice = abap_true
This functionality has to be removed or leave as it is?
After doing this change, still I am not able to approve or reject with note as the same error I am getting.
Please help me to solve this issue.
Note: Without giving note, I am able to do either approve/reject.
Thanks,
Sathishkumar GS