Ansicht
Dokumentation

ABENICF_CLIENT_ABEXA - ICF CLIENT ABEXA

ABENICF_CLIENT_ABEXA - ICF CLIENT ABEXA

ABAP Short Reference   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

- ABAP as HTTP Client

This example demonstrates an ICF client object.

Source Code

Execute

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 method of the client object. In this example, the HTML page produced by the requested is retrieved and displayed.

Note

For the example to work, the proxy setting for the HTTP client must be configured correctly in transaction SICF.






General Data in Customer Master   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 1248 Date: 20240329 Time: 142554     sap01-206 ( 27 ms )