SAP Function Modules

HR_SEN_SEL_EXIT_EVAL_PERIOD SAP Function module - Selection Exit: Generate Reporting Period of Valuation Model







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

Associated Function Group: HRSEN00FSLID
Released Date: 08.08.2000
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM HR_SEN_SEL_EXIT_EVAL_PERIOD - HR SEN SEL EXIT EVAL PERIOD





CALL FUNCTION 'HR_SEN_SEL_EXIT_EVAL_PERIOD' "Selection Exit: Generate Reporting Period of Valuation Model
  EXPORTING
    id_pernr =                  " prelp-pernr   Personnel Number to Be Evaluated
*   id_seldate = SY-DATUM       " d             Selection Date
*   id_begda = '18000101'       " begda         Start Date of Periods to Be Evaluated
*   id_endda = '99991231'       " endda         End Date of Periods to Be Evaluated
*   id_sel_value = SPACE        " psen_selvl    Selection Value for a Selection Exit
*   is_t525u =                  " t525u         Function Modules for the Conversion Rule
*   id_autho = 'X'              " xfeld         Authorization Check (Yes/No)
  IMPORTING
    et_period_weight =          " hrsen00_weight_period  Table with Periods and Weighting Factor
    et_date_duration =          " hrsen00_peak_dec  Table with Date and Duration
    .  "  HR_SEN_SEL_EXIT_EVAL_PERIOD

ABAP code example for Function Module HR_SEN_SEL_EXIT_EVAL_PERIOD





The ABAP code below is a full code listing to execute function module HR_SEN_SEL_EXIT_EVAL_PERIOD 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_et_period_weight  TYPE HRSEN00_WEIGHT_PERIOD ,
ld_et_date_duration  TYPE HRSEN00_PEAK_DEC .


DATA(ld_id_pernr) = Check type of data required
DATA(ld_id_seldate) = 'Check type of data required'.
DATA(ld_id_begda) = 'Check type of data required'.
DATA(ld_id_endda) = 'Check type of data required'.
DATA(ld_id_sel_value) = 'Check type of data required'.
DATA(ld_is_t525u) = 'Check type of data required'.
DATA(ld_id_autho) = 'Check type of data required'. . CALL FUNCTION 'HR_SEN_SEL_EXIT_EVAL_PERIOD' EXPORTING id_pernr = ld_id_pernr * id_seldate = ld_id_seldate * id_begda = ld_id_begda * id_endda = ld_id_endda * id_sel_value = ld_id_sel_value * is_t525u = ld_is_t525u * id_autho = ld_id_autho IMPORTING et_period_weight = ld_et_period_weight et_date_duration = ld_et_date_duration . " HR_SEN_SEL_EXIT_EVAL_PERIOD
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_et_period_weight  TYPE HRSEN00_WEIGHT_PERIOD ,
ld_id_pernr  TYPE PRELP-PERNR ,
ld_et_date_duration  TYPE HRSEN00_PEAK_DEC ,
ld_id_seldate  TYPE D ,
ld_id_begda  TYPE BEGDA ,
ld_id_endda  TYPE ENDDA ,
ld_id_sel_value  TYPE PSEN_SELVL ,
ld_is_t525u  TYPE T525U ,
ld_id_autho  TYPE XFELD .


ld_id_pernr = Check type of data required
ld_id_seldate = 'Check type of data required'.
ld_id_begda = 'Check type of data required'.
ld_id_endda = 'Check type of data required'.
ld_id_sel_value = 'Check type of data required'.
ld_is_t525u = 'Check type of data required'.
ld_id_autho = 'Check type of data required'.

SAP Documentation for FM HR_SEN_SEL_EXIT_EVAL_PERIOD


You can use this function module as a Selection exit
for the Service calculation function. ...See here for full SAP fm documentation







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