SAP Function Modules

SIW_RFC_READ_PROXY_DATA SAP Function module - Reads proxy data for a service operation







SIW_RFC_READ_PROXY_DATA 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 SIW_RFC_READ_PROXY_DATA into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: SIW_RFC_REPOSITORY
Released Date: Not Released
Processing type: Remote-Enabled
remote enabled module settings


Pattern for FM SIW_RFC_READ_PROXY_DATA - SIW RFC READ PROXY DATA





CALL FUNCTION 'SIW_RFC_READ_PROXY_DATA' "Reads proxy data for a service operation
  EXPORTING
    i_esr_key =                 " siw_str_esr_keys  Key Information of Repository
    i_prx_class =               " siw_dte_proxy_class  Proxy class name
*   i_direction = 'I'           " prx_dir       Proxy Generation: Interface Direction (Inbound/Outbound)
  IMPORTING
    e_str_proxy_data =          " siw_str_esr_data  Structure for Data Derived from ES Repository
    e_str_exception =           " siw_str_msg   Message/Exception
    .  "  SIW_RFC_READ_PROXY_DATA

ABAP code example for Function Module SIW_RFC_READ_PROXY_DATA





The ABAP code below is a full code listing to execute function module SIW_RFC_READ_PROXY_DATA 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_e_str_proxy_data  TYPE SIW_STR_ESR_DATA ,
ld_e_str_exception  TYPE SIW_STR_MSG .

DATA(ld_i_esr_key) = 'Check type of data required'.
DATA(ld_i_prx_class) = 'Check type of data required'.
DATA(ld_i_direction) = 'Check type of data required'. . CALL FUNCTION 'SIW_RFC_READ_PROXY_DATA' EXPORTING i_esr_key = ld_i_esr_key i_prx_class = ld_i_prx_class * i_direction = ld_i_direction IMPORTING e_str_proxy_data = ld_e_str_proxy_data e_str_exception = ld_e_str_exception . " SIW_RFC_READ_PROXY_DATA
IF SY-SUBRC EQ 0. "All OK 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_e_str_proxy_data  TYPE SIW_STR_ESR_DATA ,
ld_i_esr_key  TYPE SIW_STR_ESR_KEYS ,
ld_e_str_exception  TYPE SIW_STR_MSG ,
ld_i_prx_class  TYPE SIW_DTE_PROXY_CLASS ,
ld_i_direction  TYPE PRX_DIR .

ld_i_esr_key = 'Check type of data required'.
ld_i_prx_class = 'Check type of data required'.
ld_i_direction = 'Check type of data required'.

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 SIW_RFC_READ_PROXY_DATA or its description.