Skip to Content
0
Former Member
Mar 27, 2014 at 11:41 AM

File Size on Candidate Profile in E-Recruting (on Portal)

16 Views

Hi Experts,

I got a requirement i.e to limit file size when candidate trying to Upload document.

Went through many threads........please go through my requirement and help me.....

I got a badi HRRCF00_DOC_UPLOAD.

I couldn't get file size using method CHECK_ATTACH_FILE_SIZE of the same BADI.

I have done the following coding referencing some other thread -

Data: lv_size type i.

lv_size = XSTRLEN( content ).

*Bigger than 4 MB?

if lv_size > '2000000'.

is_out_of_range = 'X'.

endif.


When i am debugging, any file i upload, always getting the value of CONTENT same and not getting the file size.


Can you tell me what else i need to do to get the file size.


Please help as this is urgent.


Thanks,

Rupam