SAP Knowledge Base Article - Public

2460129 - Error: The file size exceeds the maximum file size limit - BizX

Symptom

You are trying to attach a file in any of the various pages in the SAP SuccessFactors HXM Suite, such as Candidate Profile or Employee Profile, but you get the following error:

  • "The file size of [file_name] exceeds the maximum file size limit of [numeric_size_value] kilobytes or the file size is 0"

 

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

SAP SuccessFactors HXM Suite

Reproducing the Issue

This issue can be reproduced in any field of the application that includes the option to attach a document. Here is one example:

  1. In the Home Page go to the Main Navigation Menu
  2. Select Employee Files
  3. Scroll down to section Functional Experience
  4. Click on Edit in Certificates/Licenses
  5. Click on Add
  6. Scroll down to Document
  7. Click on Add Attachment
  8. You get the error

error.JPG

Cause

This error occurs when a user tries to attach a document on to a field but this document exceeds the maximum size value limitation set on the system. The following points provide further information on this:

  • SuccessFactors allows you to impose limitations on the size of documents attached to fields. These limitations can be set directly from Admin Center > Company System and logo settings page, but they may also be defined in the Data Model's field definition.

  • DMS Limits.JPG
  • Document attachment settings under Company system and logo settings apply to the entire system, whereas document attachment settings in the Data Model apply to specific fields. Settings in the Data Model look like this:

    data_model.JPG
  • In the example above, the attachment size limitation for field "custom1" is specified in parameter max-file-size-KB and the value given is 1001 KB. This value will always take precedence over values defined in Company System and Logo Settings page.
  • Conversely, limits set in Company System and Logo Settings page will apply only when NO setting is specified in the succession data model.
  • The value of "Attachment user limit" takes precedence over the value of "Attachment max file size". The system will use the value of Attachment max document size only if the value of Attachment user limit is set to "No Limit".
  • So in terms of precedence, SuccessFactors will always look first in the Data Model or else in Attachment user limit or else in Attachment max file size.

 

Resolution

For the field where the attachment is failing, find out if the field definition in the Data Model contains parameter max-file-size-KB, and:

  1. If it does, then this is the value being considered by the application.
    • You can alter this value and re-import the amended Data Model.
    • NOTE: this value can never be larger than the value of Attachment max file size in Company System and Logo Settings page, otherwise you will get an error when re-importing the new Data Model:

reimport_datamodel.JPG

  1. If it doesn't, then you know that the application is looking at the values set under Admin Center > Company System and Logo Settings page.
    • You can use the matrix below to configure the limits for Document Attachments in BizX:

Matrix.png

See Also

2518360 - Document Management Service and the Manage Documents tool - SAP SuccessFactors - SAP for Me

2480068 - How can I request for additional storage?

Keywords

file, document, size, limit, attachment, storage, kilobyte, MB, Provisioning, Data Model, Document Management Service, 5MB, Improvement Request Request ID: 254540 , KBA , LOD-SF-PLT-DOC , Document Management , LOD-SF-PLT , Platform Foundational Capabilities , Problem

Product

SAP SuccessFactors HCM Core all versions