Skip to Content
avatar image
Former Member

Receives exception 1 and failure.

For testing the messages from the external gateway as inbound to SAP, i used the POST http.

I am trying your code using post for retrieving the data from the external gateway.

call method cl_http_client=>createexporting
host = '' (is host name the external gateway url or link??)
service = '443'
scheme = '2'
ssl_id = 'ANONYM' "https
proxy_host = wf_proxy
proxy_service = wf_portimportingclient = http_client.

call method http_client->request->set_header_field

exporting

name = 'HOST'

value = 'api.somewhere.com:80'.

Could you explain what must be the proxy and port details (I am using port as 80)

Need info for value details under the set_header_field

Receives exception 1 and failure.

call method http_client->receiveexceptions
http_communication_failure = 1

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers