Code: Alles auswählen.
CONCATENATE 'http://evatr.bff-online.de/evatrRPC?UstId_1=' p_ustid '&UstId_2=' pu_ustid
'&Firmenname=' l_name '&Ort=' gs_data-ort01 '&PLZ=' gs_data-pstlz '&Strasse=' gs_data-stras '&Druck=nein' INTO p_url.
Code: Alles auswählen.
REFRESH response.
CALL FUNCTION 'HTTP_GET'
EXPORTING
absolute_uri = p_p_url
* REQUEST_ENTITY_BODY_LENGTH =
rfc_destination = 'SAPHTTP'
proxy = proxy_ip
proxy_user = user
proxy_password = pwd
* USER =
* PASSWORD =
* BLANKSTOCRLF =
timeout = 30
IMPORTING
status_code = g_status
status_text = g_status_text
* RESPONSE_ENTITY_BODY_LENGTH =
TABLES
* REQUEST_ENTITY_BODY =
response_entity_body = response
response_headers = response_headers
* REQUEST_HEADERS =
EXCEPTIONS
connect_failed = 1
timeout = 2
internal_error = 3
tcpip_error = 4
data_error = 5
system_failure = 6
communication_failure = 7
OTHERS = 8
Folgende Benutzer bedankten sich beim Autor steffiherr für den Beitrag:
phili_vanilli