Skip to Content
author's profile photo Former Member
Former Member

File Upload-Attachments

Hello Gurus,

We have a scenario to limit the file size to 7MB and also check for a valid file format during upload for a SAP standard application.(Attachments in SC in SRM 7.0)

I understand from the various posts the limitation of Fileupload, that the file information can be retrieved only after the file is uploaded to the server and no client side eventing is possible.

We cannot use ACFupload/download or Flash Islands since we just need to create an enhancement to the standard application.

Please let me know if there is any workaround for the scenario mentioned above before the file gets uploaded to the server.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Mar 30, 2011 at 05:27 AM

    There seems to be no way you can check the size and type of the file before uploading.

    so i guess you have to validate only after upload and delete it if it is not of desired size and type.


    sarbjeet singh

    Add a comment
    10|10000 characters needed characters exceeded

    • You are saying it isn't improving performance.

      Here is the statement from the online help:

      The value of the parameter is the maximum size (KB) of an HTTP(s) request that can be forwarded by the ICM. Requests whose content length (content-length) exceeds the specified value are already rejected by the ICM.

      This means that no resources are required in the backend (memory, work processes).

      There still would be processing time on the client side and even network time associated since the request must be made but will be rejected by the ICM. However as pointed out in the help, the content is not processed by the ICM nor is it passed into the ABAP work process - protecting the server side resources.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.