SAP Function Modules

FVW6_SET_OVERVIEW SAP Function module - Overview of Sets for Multiple Sec. IDs







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

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


Pattern for FM FVW6_SET_OVERVIEW - FVW6 SET OVERVIEW





CALL FUNCTION 'FVW6_SET_OVERVIEW' "Overview of Sets for Multiple Sec. IDs
  EXPORTING
    im_range_security_id =      " trpm_it_ran_ranl  Range table with security ID
    im_range_gsart =            " trpm_it_ran_gsart  Range table with product type
    im_range_set_name =         " rdpt_it_ran_set_name  Range Table for Set Name
    im_range_set_type =         " rdpt_it_ran_set_types  Range-Tabelle für Set Type
    im_range_first_red =        " rdpt_it_ran_first_redemption  Table for Range
    im_range_last_red =         " rdpt_it_ran_last_redemption  Range
    im_range_tfmarhy =          " rdpt_it_ran_tfmarhy  Range for Frequency
    im_range_dattp =            " rdpt_it_ran_dattp  Range
*   im_alv_variant =            " disvariant    Layout (External Use)
*   im_flag_display_sets = 'X'  " xfeld         Display the Sets
  EXCEPTIONS
    EXC_AUTHORITY_CHECK_FAILED = 1  "           Authorization check failed
    .  "  FVW6_SET_OVERVIEW

ABAP code example for Function Module FVW6_SET_OVERVIEW





The ABAP code below is a full code listing to execute function module FVW6_SET_OVERVIEW 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_im_range_security_id) = 'Check type of data required'.
DATA(ld_im_range_gsart) = 'Check type of data required'.
DATA(ld_im_range_set_name) = 'Check type of data required'.
DATA(ld_im_range_set_type) = 'Check type of data required'.
DATA(ld_im_range_first_red) = 'Check type of data required'.
DATA(ld_im_range_last_red) = 'Check type of data required'.
DATA(ld_im_range_tfmarhy) = 'Check type of data required'.
DATA(ld_im_range_dattp) = 'Check type of data required'.
DATA(ld_im_alv_variant) = 'Check type of data required'.
DATA(ld_im_flag_display_sets) = 'Check type of data required'. . CALL FUNCTION 'FVW6_SET_OVERVIEW' EXPORTING im_range_security_id = ld_im_range_security_id im_range_gsart = ld_im_range_gsart im_range_set_name = ld_im_range_set_name im_range_set_type = ld_im_range_set_type im_range_first_red = ld_im_range_first_red im_range_last_red = ld_im_range_last_red im_range_tfmarhy = ld_im_range_tfmarhy im_range_dattp = ld_im_range_dattp * im_alv_variant = ld_im_alv_variant * im_flag_display_sets = ld_im_flag_display_sets EXCEPTIONS EXC_AUTHORITY_CHECK_FAILED = 1 . " FVW6_SET_OVERVIEW
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "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_im_range_security_id  TYPE TRPM_IT_RAN_RANL ,
ld_im_range_gsart  TYPE TRPM_IT_RAN_GSART ,
ld_im_range_set_name  TYPE RDPT_IT_RAN_SET_NAME ,
ld_im_range_set_type  TYPE RDPT_IT_RAN_SET_TYPES ,
ld_im_range_first_red  TYPE RDPT_IT_RAN_FIRST_REDEMPTION ,
ld_im_range_last_red  TYPE RDPT_IT_RAN_LAST_REDEMPTION ,
ld_im_range_tfmarhy  TYPE RDPT_IT_RAN_TFMARHY ,
ld_im_range_dattp  TYPE RDPT_IT_RAN_DATTP ,
ld_im_alv_variant  TYPE DISVARIANT ,
ld_im_flag_display_sets  TYPE XFELD .

ld_im_range_security_id = 'Check type of data required'.
ld_im_range_gsart = 'Check type of data required'.
ld_im_range_set_name = 'Check type of data required'.
ld_im_range_set_type = 'Check type of data required'.
ld_im_range_first_red = 'Check type of data required'.
ld_im_range_last_red = 'Check type of data required'.
ld_im_range_tfmarhy = 'Check type of data required'.
ld_im_range_dattp = 'Check type of data required'.
ld_im_alv_variant = 'Check type of data required'.
ld_im_flag_display_sets = '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 FVW6_SET_OVERVIEW or its description.