SAP HR_SEN_READ_MODEL_CUSTOMIZING Function Module for
HR_SEN_READ_MODEL_CUSTOMIZING is a standard hr sen read model customizing SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for hr sen read model customizing FM, simply by entering the name HR_SEN_READ_MODEL_CUSTOMIZING into the relevant SAP transaction such as SE37 or SE38.
Function Group: HRSEN00SEL_RULE_EVALUATION
Program Name: SAPLHRSEN00SEL_RULE_EVALUATION
Main Program: SAPLHRSEN00SEL_RULE_EVALUATION
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function HR_SEN_READ_MODEL_CUSTOMIZING pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'HR_SEN_READ_MODEL_CUSTOMIZING'".
EXPORTING
P_TSPST = "
* P_PERIOD = "
* ID_PERNR = "
* ID_SDATE = "
* ID_AUTHO = "
IMPORTING
P_MODEL = "
ET_T525MC = "
TABLES
P_DMODE = "
* P_DMODE_T = "
P_SCLAS = "
P_DSCLS = "
P_SRULE = "
P_SINFT = "
P_SITYD = "
P_SEXIT = "
EXCEPTIONS
E_VALUATION_PATTERN_NOT_FOUND = 1 E_DEF_VAL_PATTERN_NOT_FOUND = 2 E_SELECTION_CLASS_NOT_FOUND = 3 E_DEF_SEL_CLASS_NOT_FOUND = 4 E_VALUATION_RULE_NOT_FOUND = 5 E_SEL_CONDITION = 6 E_SEL_EXIT_NOT_FOUND = 7 E_INTERNAL_ERROR = 8 E_NO_AUTHORIZATION = 9
IMPORTING Parameters details for HR_SEN_READ_MODEL_CUSTOMIZING
P_TSPST -
Data type: TSPSTOptional: No
Call by Reference: Yes
P_PERIOD -
Data type: PSEN_PERIODOptional: Yes
Call by Reference: No ( called with pass by value option)
ID_PERNR -
Data type: PERNR_DOptional: Yes
Call by Reference: Yes
ID_SDATE -
Data type: PSEN_SEL_DATEOptional: Yes
Call by Reference: Yes
ID_AUTHO -
Data type: PSEN_AUTHOOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for HR_SEN_READ_MODEL_CUSTOMIZING
P_MODEL -
Data type: T525LOptional: No
Call by Reference: Yes
ET_T525MC -
Data type: T525MC_TABOptional: No
Call by Reference: Yes
TABLES Parameters details for HR_SEN_READ_MODEL_CUSTOMIZING
P_DMODE -
Data type: T525OOptional: No
Call by Reference: No ( called with pass by value option)
P_DMODE_T -
Data type: T525OTOptional: Yes
Call by Reference: Yes
P_SCLAS -
Data type: T525NOptional: No
Call by Reference: No ( called with pass by value option)
P_DSCLS -
Data type: T525MOptional: No
Call by Reference: No ( called with pass by value option)
P_SRULE -
Data type: T525AOptional: No
Call by Reference: No ( called with pass by value option)
P_SINFT -
Data type: T525IOptional: No
Call by Reference: No ( called with pass by value option)
P_SITYD -
Data type: T525KOptional: No
Call by Reference: No ( called with pass by value option)
P_SEXIT -
Data type: T525VOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
E_VALUATION_PATTERN_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
E_DEF_VAL_PATTERN_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
E_SELECTION_CLASS_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
E_DEF_SEL_CLASS_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
E_VALUATION_RULE_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
E_SEL_CONDITION -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
E_SEL_EXIT_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
E_INTERNAL_ERROR -
Data type:Optional: No
Call by Reference: Yes
E_NO_AUTHORIZATION -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for HR_SEN_READ_MODEL_CUSTOMIZING Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lt_p_dmode | TYPE STANDARD TABLE OF T525O, " | |||
| lv_p_model | TYPE T525L, " | |||
| lv_p_tspst | TYPE TSPST, " | |||
| lv_e_valuation_pattern_not_found | TYPE TSPST, " | |||
| lv_p_period | TYPE PSEN_PERIOD, " | |||
| lv_et_t525mc | TYPE T525MC_TAB, " | |||
| lt_p_dmode_t | TYPE STANDARD TABLE OF T525OT, " | |||
| lv_e_def_val_pattern_not_found | TYPE T525OT, " | |||
| lt_p_sclas | TYPE STANDARD TABLE OF T525N, " | |||
| lv_id_pernr | TYPE PERNR_D, " | |||
| lv_e_selection_class_not_found | TYPE PERNR_D, " | |||
| lt_p_dscls | TYPE STANDARD TABLE OF T525M, " | |||
| lv_id_sdate | TYPE PSEN_SEL_DATE, " | |||
| lv_e_def_sel_class_not_found | TYPE PSEN_SEL_DATE, " | |||
| lt_p_srule | TYPE STANDARD TABLE OF T525A, " | |||
| lv_id_autho | TYPE PSEN_AUTHO, " | |||
| lv_e_valuation_rule_not_found | TYPE PSEN_AUTHO, " | |||
| lt_p_sinft | TYPE STANDARD TABLE OF T525I, " | |||
| lv_e_sel_condition | TYPE T525I, " | |||
| lt_p_sityd | TYPE STANDARD TABLE OF T525K, " | |||
| lv_e_sel_exit_not_found | TYPE T525K, " | |||
| lt_p_sexit | TYPE STANDARD TABLE OF T525V, " | |||
| lv_e_internal_error | TYPE T525V, " | |||
| lv_e_no_authorization | TYPE T525V. " |
|   CALL FUNCTION 'HR_SEN_READ_MODEL_CUSTOMIZING' " |
| EXPORTING | ||
| P_TSPST | = lv_p_tspst | |
| P_PERIOD | = lv_p_period | |
| ID_PERNR | = lv_id_pernr | |
| ID_SDATE | = lv_id_sdate | |
| ID_AUTHO | = lv_id_autho | |
| IMPORTING | ||
| P_MODEL | = lv_p_model | |
| ET_T525MC | = lv_et_t525mc | |
| TABLES | ||
| P_DMODE | = lt_p_dmode | |
| P_DMODE_T | = lt_p_dmode_t | |
| P_SCLAS | = lt_p_sclas | |
| P_DSCLS | = lt_p_dscls | |
| P_SRULE | = lt_p_srule | |
| P_SINFT | = lt_p_sinft | |
| P_SITYD | = lt_p_sityd | |
| P_SEXIT | = lt_p_sexit | |
| EXCEPTIONS | ||
| E_VALUATION_PATTERN_NOT_FOUND = 1 | ||
| E_DEF_VAL_PATTERN_NOT_FOUND = 2 | ||
| E_SELECTION_CLASS_NOT_FOUND = 3 | ||
| E_DEF_SEL_CLASS_NOT_FOUND = 4 | ||
| E_VALUATION_RULE_NOT_FOUND = 5 | ||
| E_SEL_CONDITION = 6 | ||
| E_SEL_EXIT_NOT_FOUND = 7 | ||
| E_INTERNAL_ERROR = 8 | ||
| E_NO_AUTHORIZATION = 9 | ||
| . " HR_SEN_READ_MODEL_CUSTOMIZING | ||
ABAP code using 7.40 inline data declarations to call FM HR_SEN_READ_MODEL_CUSTOMIZING
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.Search for further information about these or an SAP related objects