on ‎2011 Nov 16 1:14 PM
Hi
Is it possible to fix a limit on the size of a resume (document) the candidate can attach.
Request clarification before answering.
Hi Radhika
How about checking the attachment file type, file size and limit the attachment upload number
via BADi: HRRCF00_DOC_UPLOAD (Upload Document) with code under these methods : CHECK_ATTACH_FILE_TYPE, CHECK_ATTACH_FILE_SIZE and CHECK_NUMBER_OF_ATTACH.
Hope it helps
Sally
Edited by: Sally Redmond on Nov 16, 2011 2:32 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sally...you seem to quite insightful in terms of E-rec implemention functional flow
I shall be in touch with you ,incase I encounter any integration ECC, during my implementation, hopefully You will be ready to help me out with your inputs and suggestion
Regards,
Sunitha
Edited by: sunithasaphr on Jan 28, 2012 11:55 PM
Hi Guru,
I got the same requirement i.e to limit file size.
I'm sucessfull in getting File types and No.of Files, but couldn't get File Size using method CHECK_ATTACH_FILE_SIZE......
I'm using Class 'cl_gui_frontend_services' and method 'file_get_size', but getting sy-subrc as 4 i.e. 'not_supported_by_gui'........
I'm passing CONTENT ( xstring parameter ) to my custom filed ( declared as string as 'file_get_size' parameter file name is string ) and passing that to method 'file_get_siz'........
So GURU's plz suggest me a way to derive the file size.....
Just to mention : Even in method CHECK_ATTACH_FILE_TYPE, I'm using FM 'SKWF_MIMETYPE_OF_FILE_GET' with destination to get file type......without destination it dosen't work.
Regards
Sai
helpful answer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 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.