on 06-30-2010 5:11 PM
Hi all,
we just have upgraded our EREC system to Enhancement Package 4, and we have now lot's of issues when the candidates try to upload documents in their cockpit. Even if the type of document is ok or the file size is fine also, there is the following error message : Error when uploading; the file name is invalid, or the file is too big
We have this error with lot's of web browser : IE6-IE7-IE8-Firefox 2.xx-Firefox 3.6-Safari 3 and 4-Chrome
It is impossible to debug this error, there is no stop at the breakpoints.
Did anyone have any suggestion ?
Our system information :
EREC 604 SP 5
NW 701 SP 5
Thanks in advance
Dominique
We have the same issue. What we found was that the file we were uploading was stored in a folder on the server that was compressed. When we copied the file to the users laptop drive (which is not compressed) and then tried there it is fine. We have replicated this several times and the issue appears to be SAP handling of compressed files. Does anyone know any more on this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To me a compressed folder is something the operating system or the web browser should compensate for - not the application. However it could be possible that the MIME size in the header doesn't match the actual file size and this is throwing off the ICM procesing of upload. If you have a repeatable situation (as you do with the compressed folder), I supose you can enter a support ticket and let development look at the situation and confirm which side the error is on. You might try performing the upload in both IE and Firefox to see if the situation is handled differently in the browsers.
Are you sure that the file isn't too big. There is an ICM parameter that globally controls the maximum size of request object. This is checked very low in the framework and the upload gets rejected before it even reaches the Web Dynpro layers. There would be no way to catch this error on the server.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Dominique,
I do not think the browser has got to do anything with that. Please place an External Breakpoint on the code which is getting called on click of the upload button. There has to be some method or function module inside which will return this exception 'Invalid Filename'. Let me know if you see anything like this.
Thanks,
Sai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sai,
we already put an external breakpoint on the first step of the method called by the button, but it does not stop on this breakpoint.
It looks like the error message is generated by javascript or is in the cache, but it is not possible to find where.
WD component : HRRCF_C_ATTACHMENTS_UI
View : VW_ATTACHMENT_DETAIL
Method : ONACTIONAPPLY
Thanks for your help
Dominique
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.