cancel
Showing results for 
Search instead for 
Did you mean: 

Leave cannot be modified - ESS(error message when approving with note)

Former Member
0 Kudos

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 approve or reject.


Thanks,

Sathishkumar GS

Accepted Solutions (1)

Accepted Solutions (1)

former_member575260
Participant
0 Kudos

Please apply note: 1687923 this will surely help you.

Just implement this note and see if you are able to approve/reject leave in the powl with reasons in the standard component if u have made copied the standard one.

Same problem we faced and it s resolved by this note only.

Thanks,

Sujit

Former Member
0 Kudos

hi Sujit,

Thanks for your reply. I have implmented as implicit enhancement in the method PREPARE_REQUEST.

Still its not working. Do we need to enhance this as overwrite method or any other way?

Else could you please let me know how you have implemented this.

Thanks,

Sathishkumar GS

former_member575260
Participant
0 Kudos

Satish,

In my case basis guy implemented the note and it worked..

Are u trying to aprove/reject leave using powl..

In powl if u click on casual leave then window will open if ur powl iview is there on the portal.

Then in that page u can reject/approve leave with reason.

Are u trying the same way!!

Please confirm!!!

SCREEN SHOT IS ATTACHED..

I am using powl for approval/rejection and powl exist as an iview on the portal 7.31..

Regards,

Sujit Karn

Answers (0)