Search code examples
sslhttpsabapsap-basis

ABAP HTTP Destination => check whether SSL is enabled


I have an HTTP destination in an ABAP system (destination type G) and send sensitive data to the destination.

Before I send the data, I need to check whether the destination has SSL option enabled.

UPDATE: I'm using the destination in cl_http_client=>create_by_destination(...): So, if here is a way to get hold of the protocol, this would be fine as well (I checked interfaces IF_HTTP_CLIENT and IF_HTTP_REQUES, found nothing..)

Thanks!


Solution

  • You can add select option (or hard coded) for RFC destination for type RFCDES-RFCDEST and check it has configuration as "s=" for field RFCOPTIONS in table RFCDES. Then use this RFC destination in HTTP_GET function (or develop your custom).