ABAP as HTTP Client> This example demonstrates an ICF>> HTTP client>.
ABAP_SOURCE_CODE ABAP_EXEC >
ABAP_DESCRIPTION The factory method CREATE> of the class CL_HTTP_CLIENT>> is used to create a client object for the address wikipedia.org>. The reference variable client> of the type IF_HTTP_CLIENT>> points to this object. A specific request, which also contains the value of a user input, is added to the URI> of the REQUEST> object of the client object. The request is sent and the result is passed to the RESPONSE> object of the client object. In the case in question, the HTML> page produced by the requested is retrieved and displayed.
Note The proxy> setting for the HTTP> client must be configured correctly in transaction SICF>> before this example can work. Message text extract from SAP system. Copyright SAP SE.
Search for further information about these or an SAP related objects
Comments on this SAP object
What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!