SAP Reports / Programs | Personnel Management | Personnel Administration | Calculation of Employment Period(PA-PA-XX-TL-SEN) SAP PA

RPUSEN10F01 SAP ABAP INCLUDE - documentation and ABAP source code







RPUSEN10F01 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RPUSEN10F01 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RPUSEN10F01. "Basic submit
SUBMIT RPUSEN10F01 AND RETURN. "Return to original report after report execution complete
SUBMIT RPUSEN10F01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT RPUSEN10F01

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

HR_SEN_CALCULATE_COMPLETE CALL FUNCTION 'HR_SEN_CALCULATE_COMPLETE' EXPORTING id_pernr = cs_result-pernr id_proce = id_proce id_pstep = id_pstep id_sel_date = id_sdate id_calty = id_calty id_begda = id_begda id_endda = id_endda is_duration = is_duration id_proto = id_proto IMPORTING ed_date = ld_date es_duration = ls_duration exceptions NO_RESULT_FOR_CALTY = 2 others = 1.

HR_SEN_LOG_SET_PROCESS CALL FUNCTION 'HR_SEN_LOG_SET_PROCESS' EXPORTING is_log_process = ls_process.

HR_SEN_LOG_SET_IDNR_P_STEP CALL FUNCTION 'HR_SEN_LOG_SET_IDNR_P_STEP'.

HR_SEN_EVALUATE_DURATION CALL FUNCTION 'HR_SEN_EVALUATE_DURATION' EXPORTING p_pernr = cs_result-pernr "#EC DOM_EQUAL p_tspst = id_tspst p_begda = id_begda p_endda = id_endda p_sdate = id_sdate p_crule = id_crule p_proto = id_proto IMPORTING p_durat = cs_result-duration exceptions others = 1.

HR_SEN_ASCE_EVALUATE_DATE CALL FUNCTION 'HR_SEN_ASCE_EVALUATE_DATE' EXPORTING p_pernr = cs_result-pernr "#EC DOM_EQUAL p_tspst = id_tspst p_begda = id_begda p_sdate = id_sdate p_durat = is_duration p_crule = id_crule p_proto = id_proto IMPORTING p_endda = cs_result-endda exceptions E_LENGTH_SMALLER_SEARCHED = 2 others = 1.

HR_SEN_DESC_EVALUATE_DATE CALL FUNCTION 'HR_SEN_DESC_EVALUATE_DATE' EXPORTING p_pernr = cs_result-pernr "#EC DOM_EQUAL p_tspst = id_tspst p_endda = id_endda p_sdate = id_sdate p_durat = is_duration p_crule = id_crule p_proto = id_proto IMPORTING p_begda = cs_result-begda exceptions E_LENGTH_SMALLER_SEARCHED = 2 others = 1.

HR_SEN_LOG_SET_PROCESS_STEP CALL FUNCTION 'HR_SEN_LOG_SET_PROCESS_STEP' EXPORTING is_log_process_step = ls_step.

HR_SEN_CALCULATE_COMPLETE call function 'HR_SEN_CALCULATE_COMPLETE' exporting id_pernr = cs_result-pernr id_proce = id_proce id_pstep = id_pstep id_sel_date = id_sdate * ir_gpcontext = * id_gpval = id_calty = id_calty id_begda = id_begda id_endda = id_endda is_duration = is_duration id_proto = id_proto importing ed_date = ld_date es_duration = ls_duration exceptions no_result_for_calty = 2 others = 1.

HR_SEN_CALCULATE_COMPLETE call function 'HR_SEN_CALCULATE_COMPLETE' exporting id_pernr = cs_result-pernr id_proce = id_proce id_pstep = id_pstep id_sel_date = id_sdate * ir_gpcontext = id_gpval = id_gpval id_calty = id_calty id_begda = id_begda id_endda = id_endda is_duration = is_duration id_proto = id_proto importing ed_date = ld_date es_duration = ls_duration exceptions no_result_for_calty = 2 others = 1.

HR_SEN_LOG_REFRESH call function 'HR_SEN_LOG_REFRESH'.

HR_SEN_LOG_SET_PROCESS call function 'HR_SEN_LOG_SET_PROCESS' exporting is_log_process = ls_process.

HR_SEN_LOG_SET_IDNR_P_STEP call function 'HR_SEN_LOG_SET_IDNR_P_STEP'.

HR_SEN_LIMIT_EVALUATION_PERIOD call function 'HR_SEN_LIMIT_EVALUATION_PERIOD' exporting id_pernr = cs_result-pernr id_calty = con_calty_dur id_begda = id_begda id_endda = id_endda importing es_period = ls_limited_period exceptions others = 2.

HR_SEN_EVALUATE_DURATION_CE call function 'HR_SEN_EVALUATE_DURATION_CE' exporting p_period_pernr = lt_pernr[] p_tspst = id_tspst p_begda = id_begda p_endda = id_endda p_sdate = id_sdate p_crule = id_crule p_proto = id_proto p_pernr = cs_result-pernr "n1124880 importing p_durat = cs_result-duration exceptions others = 1.

HR_SEN_LIMIT_EVALUATION_PERIOD call function 'HR_SEN_LIMIT_EVALUATION_PERIOD' exporting id_pernr = cs_result-pernr id_calty = con_calty_asc id_begda = id_begda id_endda = id_endda importing es_period = ls_limited_period exceptions others = 2.

HR_SEN_ASCE_EVALUATE_DATE_CE call function 'HR_SEN_ASCE_EVALUATE_DATE_CE' exporting p_period_pernr = lt_pernr[] * p_pernr = cs_result-pernr "#EC DOM_EQUAL p_tspst = id_tspst p_begda = id_begda p_sdate = id_sdate p_durat = is_duration p_crule = id_crule p_proto = id_proto p_pernr = cs_result-pernr "n1124880 importing p_endda = cs_result-endda exceptions w_length_smaller_searched = 2 others = 1.

HR_SEN_LOG_SET_PROCESS_STEP call function 'HR_SEN_LOG_SET_PROCESS_STEP' exporting is_log_process_step = ls_step.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RPUSEN10F01 or its description.