SAP RFC_MODIFY_HTTP_DEST_TO_EXT Function Module for
RFC_MODIFY_HTTP_DEST_TO_EXT is a standard rfc modify http dest to ext SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for rfc modify http dest to ext FM, simply by entering the name RFC_MODIFY_HTTP_DEST_TO_EXT into the relevant SAP transaction such as SE37 or SE38.
Function Group: CRFC
Program Name: SAPLCRFC
Main Program: SAPLCRFC
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RFC_MODIFY_HTTP_DEST_TO_EXT pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'RFC_MODIFY_HTTP_DEST_TO_EXT'".
EXPORTING
DESTINATION = "
* PROXY_HOST = ' ' "Gateway host name
* PROXY_SERVICE = ' ' "Gateway Service
* PROXY_USER = ' ' "User in Proxy Server
* PROXY_PASSWORD = ' ' "
* SSLAPPLIC = 'DFAULT' "SSL Identity
* AUTHORITY = ' ' "Authorization
* LOGON_METHOD = 'A' "
* SSL = ' ' "RFC Secure Network Communication (HTTP SSL)
* DESTLOCK = ' ' "Display type of destination (modifiable and not modifiable)
* DESTCOPY = ' ' "Logical Destination (Specified in Function Call)
* ACTION = 'I' "
* DEQUEUE_SYNCHRON = ' ' "Synchronous call ? (no rollout with RECEIVE)
* HTTP_TIMEOUT = '0' "
* HTTP_VERSION = '0' "HTTP Version
* HTTP_COMPRESS = '0' "
* COMPRESSREPLY = '0' "
* COOKIE_ACCEPT = '0' "
* SSO_TICKET = ' ' "
* CATEGORY = ' ' "
* WRITE_SYSLOG = ABAP_TRUE "
* AUTHORITY_CHECK = 'X' "
* SERVICENR = ' ' "System ID
* SERVER = ' ' "Name of target host
* PATH_PREFIX = ' ' "
* USER = ' ' "Alias name for destination
* PASSWORD = ' ' "Program name (complete path)
* DESCRIPTION = ' ' "Description of RFC connection
EXCEPTIONS
AUTHORITY_NOT_AVAILABLE = 1 DESTINATION_IS_LOCKED = 10 INVALID_PARAMETER = 11 DESTINATION_ALREADY_EXIST = 2 DESTINATION_NOT_EXIST = 3 DESTINATION_ENQUEUE_REJECT = 4 INFORMATION_FAILURE = 5 TRFC_ENTRY_INVALID = 6 INTERNAL_FAILURE = 7 SNC_INFORMATION_FAILURE = 8 SNC_INTERNAL_FAILURE = 9
IMPORTING Parameters details for RFC_MODIFY_HTTP_DEST_TO_EXT
DESTINATION -
Data type: RFCDISPLAY-RFCDESTOptional: No
Call by Reference: No ( called with pass by value option)
PROXY_HOST - Gateway host name
Data type: RFCDISPLAY-RFCGWHOSTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
PROXY_SERVICE - Gateway Service
Data type: RFCDISPLAY-RFCGWSERVDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
PROXY_USER - User in Proxy Server
Data type: RFCDISPLAY-PROXYUSERDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
PROXY_PASSWORD -
Data type: STRINGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SSLAPPLIC - SSL Identity
Data type: RFCDISPLAY-SSLAPPLICDefault: 'DFAULT'
Optional: Yes
Call by Reference: No ( called with pass by value option)
AUTHORITY - Authorization
Data type: DESTAUTHDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
LOGON_METHOD -
Data type: RFCDISPLAZ-RFCSLOGINDefault: 'A'
Optional: Yes
Call by Reference: No ( called with pass by value option)
SSL - RFC Secure Network Communication (HTTP SSL)
Data type: RFCDISPLAY-RFCSNCDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
DESTLOCK - Display type of destination (modifiable and not modifiable)
Data type: RFCDISPLAY-RFCLOCKDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
DESTCOPY - Logical Destination (Specified in Function Call)
Data type: RFCDISPLAY-RFCDESTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
ACTION -
Data type: RFCDISPLAY-RFCTRACEDefault: 'I'
Optional: Yes
Call by Reference: No ( called with pass by value option)
DEQUEUE_SYNCHRON - Synchronous call ? (no rollout with RECEIVE)
Data type: RFCDISPLAY-RFCNOWAITDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
HTTP_TIMEOUT -
Data type: RFCHTTPTIMEDefault: '0'
Optional: Yes
Call by Reference: No ( called with pass by value option)
HTTP_VERSION - HTTP Version
Data type: RFCDISPLAY-RFCTYPEDefault: '0'
Optional: Yes
Call by Reference: No ( called with pass by value option)
HTTP_COMPRESS -
Data type: RFCDISPLAY-RFCTYPEDefault: '0'
Optional: Yes
Call by Reference: No ( called with pass by value option)
COMPRESSREPLY -
Data type: RFCDISPLAY-RFCTYPEDefault: '0'
Optional: Yes
Call by Reference: No ( called with pass by value option)
COOKIE_ACCEPT -
Data type: RFCDISPLAY-RFCTYPEDefault: '0'
Optional: Yes
Call by Reference: No ( called with pass by value option)
SSO_TICKET -
Data type: RFCDISPLAY-RFCTSYSOPTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
CATEGORY -
Data type: RFCDISPLAY-RFCCATEGORYDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
WRITE_SYSLOG -
Data type: RFCDEST_WRITE_SYSLOGDefault: ABAP_TRUE
Optional: Yes
Call by Reference: No ( called with pass by value option)
AUTHORITY_CHECK -
Data type: RFCDISPLAY-RFCTRACEDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
SERVICENR - System ID
Data type: RFCDISPLAY-RFCSYSIDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SERVER - Name of target host
Data type: RFCDISPLAY-RFCHOSTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
PATH_PREFIX -
Data type: STRINGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
USER - Alias name for destination
Data type: RFCDISPLAY-RFCALIASDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
PASSWORD - Program name (complete path)
Data type: RFCDISPLAY-RFCEXECDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
DESCRIPTION - Description of RFC connection
Data type: RFCDOC-RFCDOC1Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
AUTHORITY_NOT_AVAILABLE - You do not have this authorization.
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
DESTINATION_IS_LOCKED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INVALID_PARAMETER -
Data type:Optional: No
Call by Reference: Yes
DESTINATION_ALREADY_EXIST -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
DESTINATION_NOT_EXIST -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
DESTINATION_ENQUEUE_REJECT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INFORMATION_FAILURE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TRFC_ENTRY_INVALID -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INTERNAL_FAILURE - Internal Error
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SNC_INFORMATION_FAILURE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SNC_INTERNAL_FAILURE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RFC_MODIFY_HTTP_DEST_TO_EXT Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_destination | TYPE RFCDISPLAY-RFCDEST, " | |||
| lv_authority_not_available | TYPE RFCDISPLAY, " | |||
| lv_proxy_host | TYPE RFCDISPLAY-RFCGWHOST, " SPACE | |||
| lv_destination_is_locked | TYPE RFCDISPLAY, " | |||
| lv_proxy_service | TYPE RFCDISPLAY-RFCGWSERV, " SPACE | |||
| lv_invalid_parameter | TYPE RFCDISPLAY, " | |||
| lv_proxy_user | TYPE RFCDISPLAY-PROXYUSER, " SPACE | |||
| lv_proxy_password | TYPE STRING, " SPACE | |||
| lv_sslapplic | TYPE RFCDISPLAY-SSLAPPLIC, " 'DFAULT' | |||
| lv_authority | TYPE DESTAUTH, " SPACE | |||
| lv_logon_method | TYPE RFCDISPLAZ-RFCSLOGIN, " 'A' | |||
| lv_ssl | TYPE RFCDISPLAY-RFCSNC, " SPACE | |||
| lv_destlock | TYPE RFCDISPLAY-RFCLOCK, " SPACE | |||
| lv_destcopy | TYPE RFCDISPLAY-RFCDEST, " SPACE | |||
| lv_action | TYPE RFCDISPLAY-RFCTRACE, " 'I' | |||
| lv_destination_already_exist | TYPE RFCDISPLAY, " | |||
| lv_dequeue_synchron | TYPE RFCDISPLAY-RFCNOWAIT, " SPACE | |||
| lv_http_timeout | TYPE RFCHTTPTIME, " '0' | |||
| lv_http_version | TYPE RFCDISPLAY-RFCTYPE, " '0' | |||
| lv_http_compress | TYPE RFCDISPLAY-RFCTYPE, " '0' | |||
| lv_compressreply | TYPE RFCDISPLAY-RFCTYPE, " '0' | |||
| lv_cookie_accept | TYPE RFCDISPLAY-RFCTYPE, " '0' | |||
| lv_sso_ticket | TYPE RFCDISPLAY-RFCTSYSOPT, " SPACE | |||
| lv_category | TYPE RFCDISPLAY-RFCCATEGORY, " SPACE | |||
| lv_write_syslog | TYPE RFCDEST_WRITE_SYSLOG, " ABAP_TRUE | |||
| lv_authority_check | TYPE RFCDISPLAY-RFCTRACE, " 'X' | |||
| lv_destination_not_exist | TYPE RFCDISPLAY, " | |||
| lv_servicenr | TYPE RFCDISPLAY-RFCSYSID, " SPACE | |||
| lv_destination_enqueue_reject | TYPE RFCDISPLAY, " | |||
| lv_server | TYPE RFCDISPLAY-RFCHOST, " SPACE | |||
| lv_information_failure | TYPE RFCDISPLAY, " | |||
| lv_path_prefix | TYPE STRING, " SPACE | |||
| lv_trfc_entry_invalid | TYPE STRING, " | |||
| lv_user | TYPE RFCDISPLAY-RFCALIAS, " SPACE | |||
| lv_internal_failure | TYPE RFCDISPLAY, " | |||
| lv_password | TYPE RFCDISPLAY-RFCEXEC, " SPACE | |||
| lv_snc_information_failure | TYPE RFCDISPLAY, " | |||
| lv_description | TYPE RFCDOC-RFCDOC1, " SPACE | |||
| lv_snc_internal_failure | TYPE RFCDOC. " |
|   CALL FUNCTION 'RFC_MODIFY_HTTP_DEST_TO_EXT' " |
| EXPORTING | ||
| DESTINATION | = lv_destination | |
| PROXY_HOST | = lv_proxy_host | |
| PROXY_SERVICE | = lv_proxy_service | |
| PROXY_USER | = lv_proxy_user | |
| PROXY_PASSWORD | = lv_proxy_password | |
| SSLAPPLIC | = lv_sslapplic | |
| AUTHORITY | = lv_authority | |
| LOGON_METHOD | = lv_logon_method | |
| SSL | = lv_ssl | |
| DESTLOCK | = lv_destlock | |
| DESTCOPY | = lv_destcopy | |
| ACTION | = lv_action | |
| DEQUEUE_SYNCHRON | = lv_dequeue_synchron | |
| HTTP_TIMEOUT | = lv_http_timeout | |
| HTTP_VERSION | = lv_http_version | |
| HTTP_COMPRESS | = lv_http_compress | |
| COMPRESSREPLY | = lv_compressreply | |
| COOKIE_ACCEPT | = lv_cookie_accept | |
| SSO_TICKET | = lv_sso_ticket | |
| CATEGORY | = lv_category | |
| WRITE_SYSLOG | = lv_write_syslog | |
| AUTHORITY_CHECK | = lv_authority_check | |
| SERVICENR | = lv_servicenr | |
| SERVER | = lv_server | |
| PATH_PREFIX | = lv_path_prefix | |
| USER | = lv_user | |
| PASSWORD | = lv_password | |
| DESCRIPTION | = lv_description | |
| EXCEPTIONS | ||
| AUTHORITY_NOT_AVAILABLE = 1 | ||
| DESTINATION_IS_LOCKED = 10 | ||
| INVALID_PARAMETER = 11 | ||
| DESTINATION_ALREADY_EXIST = 2 | ||
| DESTINATION_NOT_EXIST = 3 | ||
| DESTINATION_ENQUEUE_REJECT = 4 | ||
| INFORMATION_FAILURE = 5 | ||
| TRFC_ENTRY_INVALID = 6 | ||
| INTERNAL_FAILURE = 7 | ||
| SNC_INFORMATION_FAILURE = 8 | ||
| SNC_INTERNAL_FAILURE = 9 | ||
| . " RFC_MODIFY_HTTP_DEST_TO_EXT | ||
ABAP code using 7.40 inline data declarations to call FM RFC_MODIFY_HTTP_DEST_TO_EXT
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single RFCDEST FROM RFCDISPLAY INTO @DATA(ld_destination). | ||||
| "SELECT single RFCGWHOST FROM RFCDISPLAY INTO @DATA(ld_proxy_host). | ||||
| DATA(ld_proxy_host) | = ' '. | |||
| "SELECT single RFCGWSERV FROM RFCDISPLAY INTO @DATA(ld_proxy_service). | ||||
| DATA(ld_proxy_service) | = ' '. | |||
| "SELECT single PROXYUSER FROM RFCDISPLAY INTO @DATA(ld_proxy_user). | ||||
| DATA(ld_proxy_user) | = ' '. | |||
| DATA(ld_proxy_password) | = ' '. | |||
| "SELECT single SSLAPPLIC FROM RFCDISPLAY INTO @DATA(ld_sslapplic). | ||||
| DATA(ld_sslapplic) | = 'DFAULT'. | |||
| DATA(ld_authority) | = ' '. | |||
| "SELECT single RFCSLOGIN FROM RFCDISPLAZ INTO @DATA(ld_logon_method). | ||||
| DATA(ld_logon_method) | = 'A'. | |||
| "SELECT single RFCSNC FROM RFCDISPLAY INTO @DATA(ld_ssl). | ||||
| DATA(ld_ssl) | = ' '. | |||
| "SELECT single RFCLOCK FROM RFCDISPLAY INTO @DATA(ld_destlock). | ||||
| DATA(ld_destlock) | = ' '. | |||
| "SELECT single RFCDEST FROM RFCDISPLAY INTO @DATA(ld_destcopy). | ||||
| DATA(ld_destcopy) | = ' '. | |||
| "SELECT single RFCTRACE FROM RFCDISPLAY INTO @DATA(ld_action). | ||||
| DATA(ld_action) | = 'I'. | |||
| "SELECT single RFCNOWAIT FROM RFCDISPLAY INTO @DATA(ld_dequeue_synchron). | ||||
| DATA(ld_dequeue_synchron) | = ' '. | |||
| DATA(ld_http_timeout) | = '0'. | |||
| "SELECT single RFCTYPE FROM RFCDISPLAY INTO @DATA(ld_http_version). | ||||
| DATA(ld_http_version) | = '0'. | |||
| "SELECT single RFCTYPE FROM RFCDISPLAY INTO @DATA(ld_http_compress). | ||||
| DATA(ld_http_compress) | = '0'. | |||
| "SELECT single RFCTYPE FROM RFCDISPLAY INTO @DATA(ld_compressreply). | ||||
| DATA(ld_compressreply) | = '0'. | |||
| "SELECT single RFCTYPE FROM RFCDISPLAY INTO @DATA(ld_cookie_accept). | ||||
| DATA(ld_cookie_accept) | = '0'. | |||
| "SELECT single RFCTSYSOPT FROM RFCDISPLAY INTO @DATA(ld_sso_ticket). | ||||
| DATA(ld_sso_ticket) | = ' '. | |||
| "SELECT single RFCCATEGORY FROM RFCDISPLAY INTO @DATA(ld_category). | ||||
| DATA(ld_category) | = ' '. | |||
| DATA(ld_write_syslog) | = ABAP_TRUE. | |||
| "SELECT single RFCTRACE FROM RFCDISPLAY INTO @DATA(ld_authority_check). | ||||
| DATA(ld_authority_check) | = 'X'. | |||
| "SELECT single RFCSYSID FROM RFCDISPLAY INTO @DATA(ld_servicenr). | ||||
| DATA(ld_servicenr) | = ' '. | |||
| "SELECT single RFCHOST FROM RFCDISPLAY INTO @DATA(ld_server). | ||||
| DATA(ld_server) | = ' '. | |||
| DATA(ld_path_prefix) | = ' '. | |||
| "SELECT single RFCALIAS FROM RFCDISPLAY INTO @DATA(ld_user). | ||||
| DATA(ld_user) | = ' '. | |||
| "SELECT single RFCEXEC FROM RFCDISPLAY INTO @DATA(ld_password). | ||||
| DATA(ld_password) | = ' '. | |||
| "SELECT single RFCDOC1 FROM RFCDOC INTO @DATA(ld_description). | ||||
| DATA(ld_description) | = ' '. | |||
Search for further information about these or an SAP related objects