on 10-18-2007 3:05 PM
Hello all,
in a view (method wddoinit) i use the funktion 'gui_upload'. I become a dump ( OBJECTS_OBJREF_NOT_ASSIGNED / Access over ' ZERO ' object reference not possible) What's wrong? With other functions its not a problem.
Or is there a any method for gui_upload. I want to upload a textfile.
Thanks for help.
Greetings
Rainer
Hi,
You can't using GUI_UPLOAD to upload file in WDA because this fumction using CL_GUI_FRONTEND_SERVICES .
For uploading file in WDA, please use FileUpload UI Element.
This UI element has properties fileName and data. After upload fileName will contain the exact path of the file uploaded. The data will contain the filedata but in XSTRING format. Then convert the XSTRING data to STRING and then extracted the data to internal table.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.