ESH_CTC_SET_TREX_PROXY 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 ESH_CTC_SET_TREX_PROXY into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
ESH_CTC_SET_PROXY
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'ESH_CTC_SET_TREX_PROXY' "Configure TREX Proxy settings
* EXPORTING
* iv_proxy_server = " string
* iv_proxy_server_port = " string
* iv_proxy_user = " string
* iv_proxy_pwd = " string
* iv_proxy_exclusions = " string
IMPORTING
ev_return_code = " trex_rfc-return_code Return Code
ev_return_text = " trex_rfc-return_text Return Text
et_lines = " trext_lines Long lines
EXCEPTIONS
TREX_RFC_DEST_NOT_FOUND = 1 " TREX RFC destination could not be found
TREX_MASTER_HOST_NOT_FOUND = 2 " TREX RFC master host could not be found
COMMAND_EXE_FAILED = 3 " Execution of command failed
. " ESH_CTC_SET_TREX_PROXY
The ABAP code below is a full code listing to execute function module ESH_CTC_SET_TREX_PROXY 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).
| ld_ev_return_code | TYPE TREX_RFC-RETURN_CODE , |
| ld_ev_return_text | TYPE TREX_RFC-RETURN_TEXT , |
| ld_et_lines | TYPE TREXT_LINES . |
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_ev_return_code | TYPE TREX_RFC-RETURN_CODE , |
| ld_iv_proxy_server | TYPE STRING , |
| ld_ev_return_text | TYPE TREX_RFC-RETURN_TEXT , |
| ld_iv_proxy_server_port | TYPE STRING , |
| ld_et_lines | TYPE TREXT_LINES , |
| ld_iv_proxy_user | TYPE STRING , |
| ld_iv_proxy_pwd | TYPE STRING , |
| ld_iv_proxy_exclusions | TYPE STRING . |
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 ESH_CTC_SET_TREX_PROXY or its description.
ESH_CTC_SET_TREX_PROXY - Configure TREX Proxy settings ESH_CTC_SET_SEC_LIMITS - Setup /etc/security/limits.conf ESH_CTC_SET_ABAP_PROXY - Configure ABAP Proxy settings ESH_CTC_CREATE_DBMCLI_CONFFILE - Create a file containing dbmcli commands for setting params ESH_CTC_CONVERT_EXCLUSIONS_T - Convert exclusion list to TREX format ESH_CTC_CONVERT_EXCLUSIONS_A - Convert exclusion list to ABAP format