Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 729 Bytes

http-communication-via-url-d30fe6a.md

File metadata and controls

21 lines (13 loc) · 729 Bytes

HTTP Communication via URL

You can configure the URL static in the code:

Sample Code:

DATA(lo_url_destination) = cl_http_destination_provider=>create_by_url(
                                                'https://<host>/sap/bc/srt/xip/sap/<provider>/000/<service>/<binding>').

Note:

Using create_by_url is only suitable for public services or test purposes, because credentials should be stored in the communication management in SAP Fiori launchpad.

Related Information

Set Up HTTP Communication