cancel
Showing results for 
Search instead for 
Did you mean: 

This file cannot be uploaded. It exceeds the 2048 Kilobyte limit

Lluis
Active Contributor
0 Kudos

Hello,

Anyone know why solman service desk show that message after uploading a 20M file in a message?

it's possible to change that on a cutomizing table ?

i try to set "IM_INCI_FILE_UP_MAX_SIZE" on AGS_WORK_CUSTOM table, but that din't work.

I search trough SCN but don't find a good solution for that, all related notes that i found are applied or obsolete.

Any idea ?,

Thanks,

Luis

Accepted Solutions (1)

Accepted Solutions (1)

Lluis
Active Contributor
0 Kudos

Solved by my self after debugging the upload process.

As indicated on that SAP note https://service.sap.com/sap/support/notes/1366526 i update the table AGS_WORK_CUSTOM with IM_INCI_FILE_UP_MAX_SIZE field set to "200.000".

As SAP note indicate:

  • Add an entry with NAME = IM_INCI_FILE_UP_MAX_SIZE and VALUE = <Attachment restriction size in Kilobytes>.

I set "200000", but this is marked as Kb in the value of the table, on my test i use a 190.000KB, and the upload function convert KB to Kb and exceed the value of "200000".

Also I try to use "200.000" and on the upload verification check, that is interpret as NUMC not numeric.

[ Attached is the abap code that do the verification ]

cap.png -> check_file_size

cap1.png -> numeric_check

Then, solved.

Answers (0)