SAP HR_SEN_ASCE_EVALUATE_DATE_CE Function Module for
HR_SEN_ASCE_EVALUATE_DATE_CE is a standard hr sen asce evaluate date ce 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 asce evaluate date ce FM, simply by entering the name HR_SEN_ASCE_EVALUATE_DATE_CE into the relevant SAP transaction such as SE37 or SE38.
Function Group: HRSEN00MODEL_EVALUATION_CE
Program Name: SAPLHRSEN00MODEL_EVALUATION_CE
Main Program: SAPLHRSEN00MODEL_EVALUATION_CE
Appliation area: P
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function HR_SEN_ASCE_EVALUATE_DATE_CE 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_ASCE_EVALUATE_DATE_CE'".
EXPORTING
P_PERIOD_PERNR = "
* P_PERNR = "
P_TSPST = "
P_BEGDA = "
P_SDATE = "
P_DURAT = "
P_CRULE = "
* P_AUTHO = "
* IS_TSPST_CONTROL = "
* P_PROTO = "
IMPORTING
P_ENDDA = "
ET_WEIGHT_PERIOD = "
ET_WEIGHT_PEAK = "
P_RDURATION = "
P_RDATE = "
EXCEPTIONS
W_LENGTH_SMALLER_SEARCHED = 1 E_MISSING_AUTHORIZATION = 2 E_CUSTOMIZING = 3 E_CALCULATION = 4 E_OTHERS = 5
IMPORTING Parameters details for HR_SEN_ASCE_EVALUATE_DATE_CE
P_PERIOD_PERNR -
Data type: HRSEN00_SUBPERIOD_PERNROptional: No
Call by Reference: Yes
P_PERNR -
Data type: PERNR_DOptional: Yes
Call by Reference: Yes
P_TSPST -
Data type: TSPSTOptional: No
Call by Reference: Yes
P_BEGDA -
Data type: BEGDAOptional: No
Call by Reference: Yes
P_SDATE -
Data type: DOptional: No
Call by Reference: Yes
P_DURAT -
Data type: PSEN_DURATIONOptional: No
Call by Reference: Yes
P_CRULE -
Data type: PSEN_CRULEOptional: No
Call by Reference: Yes
P_AUTHO -
Data type: PSEN_AUTHOOptional: Yes
Call by Reference: Yes
IS_TSPST_CONTROL -
Data type: PSEN_TSPST_CONTROLOptional: Yes
Call by Reference: Yes
P_PROTO -
Data type: PSEN_PROTOOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for HR_SEN_ASCE_EVALUATE_DATE_CE
P_ENDDA -
Data type: DOptional: No
Call by Reference: Yes
ET_WEIGHT_PERIOD -
Data type: HRSEN00_WEIGHT_PERIODOptional: No
Call by Reference: Yes
ET_WEIGHT_PEAK -
Data type: HRSEN00_WEIGHT_PEAK_DECOptional: No
Call by Reference: Yes
P_RDURATION -
Data type: PSEN_DURATION_DECOptional: No
Call by Reference: Yes
P_RDATE -
Data type: DOptional: No
Call by Reference: Yes
EXCEPTIONS details
W_LENGTH_SMALLER_SEARCHED -
Data type:Optional: No
Call by Reference: Yes
E_MISSING_AUTHORIZATION -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
E_CUSTOMIZING -
Data type:Optional: No
Call by Reference: Yes
E_CALCULATION -
Data type:Optional: No
Call by Reference: Yes
E_OTHERS -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for HR_SEN_ASCE_EVALUATE_DATE_CE 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: | ||||
| lv_p_endda | TYPE D, " | |||
| lv_p_period_pernr | TYPE HRSEN00_SUBPERIOD_PERNR, " | |||
| lv_w_length_smaller_searched | TYPE HRSEN00_SUBPERIOD_PERNR, " | |||
| lv_p_pernr | TYPE PERNR_D, " | |||
| lv_p_tspst | TYPE TSPST, " | |||
| lv_et_weight_period | TYPE HRSEN00_WEIGHT_PERIOD, " | |||
| lv_e_missing_authorization | TYPE HRSEN00_WEIGHT_PERIOD, " | |||
| lv_p_begda | TYPE BEGDA, " | |||
| lv_e_customizing | TYPE BEGDA, " | |||
| lv_et_weight_peak | TYPE HRSEN00_WEIGHT_PEAK_DEC, " | |||
| lv_p_sdate | TYPE D, " | |||
| lv_p_rduration | TYPE PSEN_DURATION_DEC, " | |||
| lv_e_calculation | TYPE PSEN_DURATION_DEC, " | |||
| lv_p_durat | TYPE PSEN_DURATION, " | |||
| lv_p_rdate | TYPE D, " | |||
| lv_e_others | TYPE D, " | |||
| lv_p_crule | TYPE PSEN_CRULE, " | |||
| lv_p_autho | TYPE PSEN_AUTHO, " | |||
| lv_is_tspst_control | TYPE PSEN_TSPST_CONTROL, " | |||
| lv_p_proto | TYPE PSEN_PROTO. " |
|   CALL FUNCTION 'HR_SEN_ASCE_EVALUATE_DATE_CE' " |
| EXPORTING | ||
| P_PERIOD_PERNR | = lv_p_period_pernr | |
| P_PERNR | = lv_p_pernr | |
| P_TSPST | = lv_p_tspst | |
| P_BEGDA | = lv_p_begda | |
| P_SDATE | = lv_p_sdate | |
| P_DURAT | = lv_p_durat | |
| P_CRULE | = lv_p_crule | |
| P_AUTHO | = lv_p_autho | |
| IS_TSPST_CONTROL | = lv_is_tspst_control | |
| P_PROTO | = lv_p_proto | |
| IMPORTING | ||
| P_ENDDA | = lv_p_endda | |
| ET_WEIGHT_PERIOD | = lv_et_weight_period | |
| ET_WEIGHT_PEAK | = lv_et_weight_peak | |
| P_RDURATION | = lv_p_rduration | |
| P_RDATE | = lv_p_rdate | |
| EXCEPTIONS | ||
| W_LENGTH_SMALLER_SEARCHED = 1 | ||
| E_MISSING_AUTHORIZATION = 2 | ||
| E_CUSTOMIZING = 3 | ||
| E_CALCULATION = 4 | ||
| E_OTHERS = 5 | ||
| . " HR_SEN_ASCE_EVALUATE_DATE_CE | ||
ABAP code using 7.40 inline data declarations to call FM HR_SEN_ASCE_EVALUATE_DATE_CE
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