on 12-18-2008 4:50 AM
Hi,
I want to read a file from a http link and convert it to xstring using ABAP Webdynpro how can I achieve the same.
With Regards
Murali
Hello Murali,
Refer to this link.
http://help.sap.com/saphelp_nw04s/helpdata/en/b3/be7941601b1d09e10000000a155106/frameset.htm
Check out File_download.
Regards,
Bharath.K
Edited by: Bharath Komarapalem on Dec 18, 2008 11:50 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think what you want is for ABAP to act as an HTTP Client. This can be done in normal ABAP as well as in Web Dynpro ABAP. The approach is the same. You use the class, CL_HTTP_CLIENT. This class lets ABAP function as the Internet Browser and make HTTP(S) requests to other servers. I've used this class to make such class in the Flickr APIs, Google Charting and in the ESME project. You can find sample examples in these projects.
Hi Murali,
I dont get you as to what you mean by reading a file from a HTTP link. If you mean to say that you want to be able to upload a file using WDA then you can make use of the FileUpload ui element available in WDA. The file content will be uploaded and placed into the context attribute that you bind to the data property of the FileUpload UI element. Once the data in the context, you should take care of handling the data. You can find information about the FileUpload element in [here|http://help.sap.com/saphelp_nw70/helpdata/EN/b3/be7941601b1d09e10000000a155106/frameset.htm].
Regards,
Uday
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.