Skip to Content
author's profile photo Former Member
Former Member

Connecting to web server securely using ICF


I want to develop a client in ABAP that will use the ICF to connect to a web server and send a post request.

I have read the example at

What I have not found is how to do this securely using https and basic authentication or cert-based authentication. (Note that the remote web server is not an sap system).

Does the ICF support these authentication methods for outbound http requests ?

Do you have any examples of how to do this ?

Thank you in advance for your help .

Note : I am using SAP Web Application Server 6.20


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jun 12, 2004 at 10:56 AM

    Hallo Thierry,

    Funnily enough I tried to create an outgoing HTTPS connection a few days ago, and failed! Using HTTP is not a problem. There seems to be some problem with getting the SSL connection setup, that I did not to understand. At the moment I have an open trouble ticket for this. If I should make it work, I will append a small example.

    bye, brian

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      We've build a scenario like this, not using ICF but ICM and the interface Interface IF_HTTP_CLIENT.

      Sample program and info on ICM:

      We created a HTTPS connection in SM59 (Logon security tab choose SSL Active DFAULT). Make sure you store the certificates in the client repository (I did both anonymous and standard) in transaction STRUST (Every time you change something in STRUST you have to restart ICM via transaction SMICM)! Otherwise it won't work! If the test connection in SM59 is working you can start programming 😊

      In my program I used then

      - cl_http_client=>create_by_destination

      - fill the request

      - client->send

      - client->receive

      - client->response->get_cdata

      - client->close

      Hope this helps,


Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.