SAP Function Modules

FV71_SELOPT_INTO_RSDS SAP Function module







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

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


Pattern for FM FV71_SELOPT_INTO_RSDS - FV71 SELOPT INTO RSDS





CALL FUNCTION 'FV71_SELOPT_INTO_RSDS' "
* EXPORTING
*   i_meta_ranges =             " trpm_it_meta_ranges
*   i_range_bukrs =             " trpm_it_ran_bukrs
*   i_range_ranl =              " trpm_it_ran_ranl
*   i_range_rldepo =            " trpm_it_ran_rldepo
*   i_range_sanlf =             " trpm_it_ran_sanlf
*   i_range_gsart =             " trpm_it_ran_gsart
*   i_range_sbwhr =             " trpm_it_ran_sbwhr
*   i_range_rrefkont =          " trpm_it_ran_rrefkont
*   i_range_rportb =            " trpm_it_ran_rportb
*   i_range_repke =             " trpm_it_ran_repke
*   i_range_snoti =             " trpm_it_ran_snoti
*   i_range_swerttyp =          " trpm_it_ran_swerttyp
*   i_range_sbewziti =          " trpm_it_ran_sbewziti
*   i_range_sbewart =           " trpm_it_ran_sbewart
*   i_range_rdealer =           " trpm_it_ran_rdealer
*   i_range_scwhr =             " trpm_it_ran_scwhr
  IMPORTING
    e_rsds_frange_t =           " rsds_frange_t
    .  "  FV71_SELOPT_INTO_RSDS

ABAP code example for Function Module FV71_SELOPT_INTO_RSDS





The ABAP code below is a full code listing to execute function module FV71_SELOPT_INTO_RSDS 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_rsds_frange_t  TYPE RSDS_FRANGE_T .

DATA(ld_i_meta_ranges) = 'Check type of data required'.
DATA(ld_i_range_bukrs) = 'Check type of data required'.
DATA(ld_i_range_ranl) = 'Check type of data required'.
DATA(ld_i_range_rldepo) = 'Check type of data required'.
DATA(ld_i_range_sanlf) = 'Check type of data required'.
DATA(ld_i_range_gsart) = 'Check type of data required'.
DATA(ld_i_range_sbwhr) = 'Check type of data required'.
DATA(ld_i_range_rrefkont) = 'Check type of data required'.
DATA(ld_i_range_rportb) = 'Check type of data required'.
DATA(ld_i_range_repke) = 'Check type of data required'.
DATA(ld_i_range_snoti) = 'Check type of data required'.
DATA(ld_i_range_swerttyp) = 'Check type of data required'.
DATA(ld_i_range_sbewziti) = 'Check type of data required'.
DATA(ld_i_range_sbewart) = 'Check type of data required'.
DATA(ld_i_range_rdealer) = 'Check type of data required'.
DATA(ld_i_range_scwhr) = 'Check type of data required'. . CALL FUNCTION 'FV71_SELOPT_INTO_RSDS' * EXPORTING * i_meta_ranges = ld_i_meta_ranges * i_range_bukrs = ld_i_range_bukrs * i_range_ranl = ld_i_range_ranl * i_range_rldepo = ld_i_range_rldepo * i_range_sanlf = ld_i_range_sanlf * i_range_gsart = ld_i_range_gsart * i_range_sbwhr = ld_i_range_sbwhr * i_range_rrefkont = ld_i_range_rrefkont * i_range_rportb = ld_i_range_rportb * i_range_repke = ld_i_range_repke * i_range_snoti = ld_i_range_snoti * i_range_swerttyp = ld_i_range_swerttyp * i_range_sbewziti = ld_i_range_sbewziti * i_range_sbewart = ld_i_range_sbewart * i_range_rdealer = ld_i_range_rdealer * i_range_scwhr = ld_i_range_scwhr IMPORTING e_rsds_frange_t = ld_e_rsds_frange_t . " FV71_SELOPT_INTO_RSDS
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_rsds_frange_t  TYPE RSDS_FRANGE_T ,
ld_i_meta_ranges  TYPE TRPM_IT_META_RANGES ,
ld_i_range_bukrs  TYPE TRPM_IT_RAN_BUKRS ,
ld_i_range_ranl  TYPE TRPM_IT_RAN_RANL ,
ld_i_range_rldepo  TYPE TRPM_IT_RAN_RLDEPO ,
ld_i_range_sanlf  TYPE TRPM_IT_RAN_SANLF ,
ld_i_range_gsart  TYPE TRPM_IT_RAN_GSART ,
ld_i_range_sbwhr  TYPE TRPM_IT_RAN_SBWHR ,
ld_i_range_rrefkont  TYPE TRPM_IT_RAN_RREFKONT ,
ld_i_range_rportb  TYPE TRPM_IT_RAN_RPORTB ,
ld_i_range_repke  TYPE TRPM_IT_RAN_REPKE ,
ld_i_range_snoti  TYPE TRPM_IT_RAN_SNOTI ,
ld_i_range_swerttyp  TYPE TRPM_IT_RAN_SWERTTYP ,
ld_i_range_sbewziti  TYPE TRPM_IT_RAN_SBEWZITI ,
ld_i_range_sbewart  TYPE TRPM_IT_RAN_SBEWART ,
ld_i_range_rdealer  TYPE TRPM_IT_RAN_RDEALER ,
ld_i_range_scwhr  TYPE TRPM_IT_RAN_SCWHR .

ld_i_meta_ranges = 'Check type of data required'.
ld_i_range_bukrs = 'Check type of data required'.
ld_i_range_ranl = 'Check type of data required'.
ld_i_range_rldepo = 'Check type of data required'.
ld_i_range_sanlf = 'Check type of data required'.
ld_i_range_gsart = 'Check type of data required'.
ld_i_range_sbwhr = 'Check type of data required'.
ld_i_range_rrefkont = 'Check type of data required'.
ld_i_range_rportb = 'Check type of data required'.
ld_i_range_repke = 'Check type of data required'.
ld_i_range_snoti = 'Check type of data required'.
ld_i_range_swerttyp = 'Check type of data required'.
ld_i_range_sbewziti = 'Check type of data required'.
ld_i_range_sbewart = 'Check type of data required'.
ld_i_range_rdealer = 'Check type of data required'.
ld_i_range_scwhr = '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 FV71_SELOPT_INTO_RSDS or its description.