cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Upload failed "Permitted file size exceeded" despite file being < 5MB (HCMFAB_MYPERSONALDATA_SRV)

Daniel_Eckstein23
Discoverer
0 Likes
271

Hi Community,

I am currently trying to create an Action Project in SAP Build Process Automation (SBPA) by uploading an API specification from an SAP On-Premise system.

The Scenario:

  • Service: Standard SAP HCM Service HCMFAB_MYPERSONALDATA_SRV (Metadata).

  • File Format: .xml (renamed from .json to ensure correct parsing).

  • File Size: 3.1 MB (on disk).

  • SBPA Limit: The UI states the limit is 5 MB.

The Issue: When uploading the metadata.xml file, I receive the following error message:

"Invalid File. Artifact information could not be retrieved.. Permitted file size exceeded. The file must not be larger than 5 MB."

My Analysis: Technically, the file is well below the 5 MB limit. However, this specific OData service is very large in terms of schema definition because it contains EntitySets for almost every country version (e.g., PersonalData01, PersonalData02 ... up to PersonalData99).

It seems like the internal parser in SAP Build crashes or times out due to the sheer number of entities, even though the physical file size is within limits.

Question:

  1. Is there a hidden limit on the number of entities/complex types for the Action Editor?

  2. Is there a recommended way to "pre-filter" the metadata file (e.g. only keeping PersonalData01 for Germany) without manually hacking the XML structure and risking syntax errors?

Any help or workarounds are appreciated!

Best regards, Daniel Eckstein

Accepted Solutions (0)

Answers (0)

Ask a Question