SAP Function Modules

RFC_MODIFY_HTTP_DEST_TO_EXT SAP Function module







RFC_MODIFY_HTTP_DEST_TO_EXT is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name RFC_MODIFY_HTTP_DEST_TO_EXT into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: CRFC
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM RFC_MODIFY_HTTP_DEST_TO_EXT - RFC MODIFY HTTP DEST TO EXT





CALL FUNCTION 'RFC_MODIFY_HTTP_DEST_TO_EXT' "
  EXPORTING
    destination =               " rfcdisplay-rfcdest
*   action = 'I'                " rfcdisplay-rfctrace
*   authority_check = 'X'       " rfcdisplay-rfctrace
*   servicenr = SPACE           " rfcdisplay-rfcsysid  System ID
*   server = SPACE              " rfcdisplay-rfchost  Name of target host
*   path_prefix = SPACE         " string
*   user = SPACE                " rfcdisplay-rfcalias  Alias name for destination
*   password = SPACE            " rfcdisplay-rfcexec  Program name (complete path)
*   description = SPACE         " rfcdoc-rfcdoc1  Description of RFC connection
*   proxy_host = SPACE          " rfcdisplay-rfcgwhost  Gateway host name
*   proxy_service = SPACE       " rfcdisplay-rfcgwserv  Gateway Service
*   proxy_user = SPACE          " rfcdisplay-proxyuser  User in Proxy Server
*   proxy_password = SPACE      " string
*   sslapplic = 'DFAULT'        " rfcdisplay-sslapplic  SSL Identity
*   authority = SPACE           " destauth      Authorization
*   logon_method = 'A'          " rfcdisplaz-rfcslogin
*   ssl = SPACE                 " rfcdisplay-rfcsnc  RFC Secure Network Communication (HTTP SSL)
*   destlock = SPACE            " rfcdisplay-rfclock  Display type of destination (modifiable and not modifiable)
*   destcopy = SPACE            " rfcdisplay-rfcdest  Logical Destination (Specified in Function Call)
*   dequeue_synchron = SPACE    " rfcdisplay-rfcnowait  Synchronous call ? (no rollout with RECEIVE)
*   http_timeout = '0'          " rfchttptime
*   http_version = '0'          " rfcdisplay-rfctype  HTTP Version
*   http_compress = '0'         " rfcdisplay-rfctype
*   compressreply = '0'         " rfcdisplay-rfctype
*   cookie_accept = '0'         " rfcdisplay-rfctype
*   sso_ticket = SPACE          " rfcdisplay-rfctsysopt
*   category = SPACE            " rfcdisplay-rfccategory
*   write_syslog = ABAP_TRUE    " rfcdest_write_syslog
  EXCEPTIONS
    AUTHORITY_NOT_AVAILABLE = 1  "              You do not have this authorization.
    DESTINATION_ALREADY_EXIST = 2  "
    DESTINATION_NOT_EXIST = 3   "
    DESTINATION_ENQUEUE_REJECT = 4  "
    INFORMATION_FAILURE = 5     "
    TRFC_ENTRY_INVALID = 6      "
    INTERNAL_FAILURE = 7        "               Internal Error
    SNC_INFORMATION_FAILURE = 8  "
    SNC_INTERNAL_FAILURE = 9    "
    DESTINATION_IS_LOCKED = 10  "
    INVALID_PARAMETER = 11      "
    .  "  RFC_MODIFY_HTTP_DEST_TO_EXT

ABAP code example for Function Module RFC_MODIFY_HTTP_DEST_TO_EXT





The ABAP code below is a full code listing to execute function module RFC_MODIFY_HTTP_DEST_TO_EXT including all data declarations. The code uses 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 original method of declaring data variables up front. 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).



DATA(ld_destination) = some text here

DATA(ld_action) = some text here

DATA(ld_authority_check) = some text here

DATA(ld_servicenr) = some text here

DATA(ld_server) = some text here
DATA(ld_path_prefix) = 'Check type of data required'.

DATA(ld_user) = some text here

DATA(ld_password) = some text here

SELECT single RFCDOC1
FROM RFCDOC
INTO @DATA(ld_description).


DATA(ld_proxy_host) = some text here

DATA(ld_proxy_service) = some text here

DATA(ld_proxy_user) = some text here
DATA(ld_proxy_password) = 'Check type of data required'.

DATA(ld_sslapplic) = some text here
DATA(ld_authority) = 'Check type of data required'.

DATA(ld_logon_method) = some text here

DATA(ld_ssl) = some text here

DATA(ld_destlock) = some text here

DATA(ld_destcopy) = some text here

DATA(ld_dequeue_synchron) = some text here
DATA(ld_http_timeout) = 'Check type of data required'.

DATA(ld_http_version) = some text here

DATA(ld_http_compress) = some text here

DATA(ld_compressreply) = some text here

DATA(ld_cookie_accept) = some text here

DATA(ld_sso_ticket) = some text here

DATA(ld_category) = some text here
DATA(ld_write_syslog) = 'some text here'. . CALL FUNCTION 'RFC_MODIFY_HTTP_DEST_TO_EXT' EXPORTING destination = ld_destination * action = ld_action * authority_check = ld_authority_check * servicenr = ld_servicenr * server = ld_server * path_prefix = ld_path_prefix * user = ld_user * password = ld_password * description = ld_description * proxy_host = ld_proxy_host * proxy_service = ld_proxy_service * proxy_user = ld_proxy_user * proxy_password = ld_proxy_password * sslapplic = ld_sslapplic * authority = ld_authority * logon_method = ld_logon_method * ssl = ld_ssl * destlock = ld_destlock * destcopy = ld_destcopy * dequeue_synchron = ld_dequeue_synchron * http_timeout = ld_http_timeout * http_version = ld_http_version * http_compress = ld_http_compress * compressreply = ld_compressreply * cookie_accept = ld_cookie_accept * sso_ticket = ld_sso_ticket * category = ld_category * write_syslog = ld_write_syslog EXCEPTIONS AUTHORITY_NOT_AVAILABLE = 1 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 DESTINATION_IS_LOCKED = 10 INVALID_PARAMETER = 11 . " RFC_MODIFY_HTTP_DEST_TO_EXT
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 2. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 3. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 4. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 5. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 6. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 7. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 8. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 9. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 10. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 11. "Exception "Add code for exception here ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_destination  TYPE RFCDISPLAY-RFCDEST ,
ld_action  TYPE RFCDISPLAY-RFCTRACE ,
ld_authority_check  TYPE RFCDISPLAY-RFCTRACE ,
ld_servicenr  TYPE RFCDISPLAY-RFCSYSID ,
ld_server  TYPE RFCDISPLAY-RFCHOST ,
ld_path_prefix  TYPE STRING ,
ld_user  TYPE RFCDISPLAY-RFCALIAS ,
ld_password  TYPE RFCDISPLAY-RFCEXEC ,
ld_description  TYPE RFCDOC-RFCDOC1 ,
ld_proxy_host  TYPE RFCDISPLAY-RFCGWHOST ,
ld_proxy_service  TYPE RFCDISPLAY-RFCGWSERV ,
ld_proxy_user  TYPE RFCDISPLAY-PROXYUSER ,
ld_proxy_password  TYPE STRING ,
ld_sslapplic  TYPE RFCDISPLAY-SSLAPPLIC ,
ld_authority  TYPE DESTAUTH ,
ld_logon_method  TYPE RFCDISPLAZ-RFCSLOGIN ,
ld_ssl  TYPE RFCDISPLAY-RFCSNC ,
ld_destlock  TYPE RFCDISPLAY-RFCLOCK ,
ld_destcopy  TYPE RFCDISPLAY-RFCDEST ,
ld_dequeue_synchron  TYPE RFCDISPLAY-RFCNOWAIT ,
ld_http_timeout  TYPE RFCHTTPTIME ,
ld_http_version  TYPE RFCDISPLAY-RFCTYPE ,
ld_http_compress  TYPE RFCDISPLAY-RFCTYPE ,
ld_compressreply  TYPE RFCDISPLAY-RFCTYPE ,
ld_cookie_accept  TYPE RFCDISPLAY-RFCTYPE ,
ld_sso_ticket  TYPE RFCDISPLAY-RFCTSYSOPT ,
ld_category  TYPE RFCDISPLAY-RFCCATEGORY ,
ld_write_syslog  TYPE RFCDEST_WRITE_SYSLOG .


ld_destination = some text here

ld_action = some text here

ld_authority_check = some text here

ld_servicenr = some text here

ld_server = some text here
ld_path_prefix = 'some text here'.

ld_user = some text here

ld_password = some text here

SELECT single RFCDOC1
FROM RFCDOC
INTO ld_description.


ld_proxy_host = some text here

ld_proxy_service = some text here

ld_proxy_user = some text here
ld_proxy_password = 'some text here'.

ld_sslapplic = some text here
ld_authority = 'some text here'.

ld_logon_method = some text here

ld_ssl = some text here

ld_destlock = some text here

ld_destcopy = some text here

ld_dequeue_synchron = some text here
ld_http_timeout = 'some text here'.

ld_http_version = some text here

ld_http_compress = some text here

ld_compressreply = some text here

ld_cookie_accept = some text here

ld_sso_ticket = some text here

ld_category = some text here
ld_write_syslog = 'some text here'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name RFC_MODIFY_HTTP_DEST_TO_EXT or its description.