Skip to Content
0
Former Member
Nov 28, 2008 at 02:59 PM

HTTP_POST - Error when opening an RFC connection

179 Views

Performing POST-query. Works well in simple program, and in WebDynpro application:

<i>Error when opening an RFC connection</i>

l_dest = 'SAPHTTP'.

CALL FUNCTION 'HTTP_POST'

EXPORTING

absolute_uri = l_uri

rfc_destination = l_dest

user = l_username

password = l_password

blankstocrlf = 'Y'

  • REQUEST_ENTITY_BODY_LENGTH =

  • PROXY =

  • PROXY_USER =

  • PROXY_PASSWORD =

IMPORTING

status_code = l_status

status_text = l_statustext

response_entity_body_length = l_rlength

TABLES

request_entity_body = req_body

request_headers = req_headers

response_entity_body = res_body

response_headers = res_headers

EXCEPTIONS

connect_failed = 1

timeout = 2

internal_error = 3

tcpip_error = 4

system_failure = 5

communication_failure = 6

OTHERS = 7

.

Edited by: S S on Nov 28, 2008 4:01 PM