cancel
Showing results for 
Search instead for 
Did you mean: 

Attachment Removed

former_member188217
Active Participant
0 Kudos


Hi Experts,

I am facing the below issue when creating leave request from ESS

1. Selected a particular leave type and attached a document

2. Now changed the leave type to another value

It could be observed that the attachment is getting removed.

On analysis it could be observed that when changing the leave type event FPM_SET_DOCUMENT_DETAIL is called which clears the table MT_ATTACHMENTS_BUFFER inside method IF_FPM_GUIBB_FORM~PROCESS_EVENT of class CL_HRESS_PTARQ_LREQ_ATT_GUIBBL.

Is there any work around to prevent this , or is it a standard functionality.

Thanks,

Anju

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Anju,

I'm also getting the same issue. I too had debugged the standard code and found that, the attachment is not getting deleted from buffer table MT_ATTACHMENTS_BUFFER in class CL_HRESS_PTARQ_LREQ_GUIBBL Method DELETE_ATTACHMENT.

I tried to search OSS note but not succeed. So, I have refreshed the record from buffer table using custom code.

If you found any standard solution please let me know. So that, I will replicate the standard process.

Thanks

Manoj Kumar

Answers (0)