on 08-10-2010 6:51 PM
Hello,
I did some research on the forums, but didn't dig something helpful to this problem that I'm facing on the component FileUpload over WD4A.
It's set like this: The user select the file to send to the server via the FileUpload component and presses a button created on the toolbar of a Group. Inside this button I have the code that will write the file on a custom table.
When the user selects a file that have special characters on the filename (like accent in my case), the button, when pressed, leads to a ASSERT dump on the program /1WDA/CASTANDARD====*. This dump occurs on "assert value CP l_filename_pattern", it seems that this assert is for the server to verify if the HTTP request sent to it is for the file it's waiting, because l_filename_pattern is filled on CL_HTTP_ENTITY->IF_HTTP_ENTITYGET_HEADER_FIELD reading for the head field name "content_filename". The assert is wrong because the accent is represented (it seems) in the UTF-8 like (#3 or something like that).
I did some tests using a HTTP tracer on FF and it seems that the browser is sending this value with the wrong content, but I tried it with FF and IE and both of them goes to the same error.
Any thoughts?
Thanks in advance!
Hermano
Hi Hermano,
maybe the following 2 SAP Notes could be helpful in this case:
[1360610|https://service.sap.com/sap/support/notes/1360610] "WD ABAP FileUpLoad dumps if filename contains special chars"
[1307038|https://service.sap.com/sap/support/notes/1307038] "WD ABAP: Fileupload dumps if file name contains ? and #"
Best regards,
Andreas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.