on 11-07-2013 1:25 PM
Hi
I am using this excerpt to retrieve the content of a text file
uploaded to KPRO.:
data lo_client type ref to if_http_client.
data lv_content type xstring.
data lv_url type string.
lv_url = 'http://XXXXXXXXXX.XXXX.XXXXX'.
call method cl_http_client=>create_by_url
exporting
url = lv_url
importing
client = lo_client
exceptions
argument_not_found = 1
plugin_not_active = 2
internal_error = 3
others = 4.
if sy-subrc = 0.
lo_client->send( ).
lo_client->receive( ).
lv_content = lo_client->response->get_data( ). " store content in variable lv_content
lo_client->close( ).
endif.
(courtesy of Mr Samuli Kaski ).
When opening the file I receive the following msg (instead of the original message)
HTTP error: 401 (Unauthorized) "Security SsfVerify failed rc=5 .. lasterror="12848" wrong messageDigest PSE =\\?\C:\Program Files\SAP\Content Server\Security\My_System.pse
When I upload a PDF file, I get a system message saying the file is corrupt.
Any idea how this can be resolved?
regards
Yuval
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.