‎2011 Jan 13 2:48 PM
Hello Everybody.
I have a Problem with posting file from sap portal functional to content server(SAP HR Photo) .
I'm Use webDynpro to select file from my windows machine(Mozilla browser). After choosing table components contain
call function 'HTTP_POST_FILES' "destination rfc_destination
EXPORTING
ABSOLUTE_URI = absolute_uri
RFC_DESTINATION = sdoki_http_app_server_rfc_dest
COMPONENT_PATH = path
IMPORTING
status_code = status_code
status_text = status_text
TABLES
* resp = response_entity_body
* resphead = response_headers
* reqhead = request_headers
COMPONENTS = components
* compx_255 = componentsx
EXCEPTIONS
system_failure = 1
communication_failure = 2 .variables contain:
path = 'C:\Users\username\Desktop\'
components[]: /name = 'foto.jpg'/mimetype = 'image/jpeg'/FSIZE = 0/compid = 'data'
‎2011 Jan 13 2:49 PM
error: no such file or directory.
when i run from abap program - everething is fine.
‎2011 Aug 04 1:28 PM