on 07-15-2008 3:32 PM
Hello!
I have implemented a Web Dynpro, that stores a file from local client on an application server. The file is read with UI Element FileUpload, its data processed with a xstring variable and stored on application server with command "OPEN DATASET <file> FOR OUTPUT IN BINARY MODE." and "TRANSFER <data> TO <file> NO END OF LINE." The problem is, that plain text files (like .csv) are displayed in transaction "al11" with a "#" at end of line. Furthermore other systems cannot process this file correctly, as they also have this problem.
The transfer should be in binary mode, as non text files have to be processed, too.
I have already tried with and without option "NO END OF LINE" for command "TRANSFER", but with no result.
Does anyone have an idea?
Hello Timo,
This is not a Web Dynpro ABAP question.
However my advise is to store data in the database rather than a file on the ABAP server.
Consider also receiving the input with a web service or with a Remote Enabled function (RFC). These are better options if you need to automate or enable application programs to feed data into your system without human intervention.
Your current solution requires someone go to the Web Dynpro application and upload the file manually.
Regards... Lucio Menzel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.