BENRETSRVF01 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 BENRETSRVF01 into the relevant SAP transactions such as SE38 or SE80
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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HR_INITIALIZE_BUFFER CALL FUNCTION 'HR_INITIALIZE_BUFFER' EXPORTING pernr = pernr_table-pernr.
HR_BEN_ENQUEUE_PERSONAL_NUMBER CALL FUNCTION 'HR_BEN_ENQUEUE_PERSONAL_NUMBER' EXPORTING pernr = pernr_table-pernr reaction = reaction IMPORTING subrc = subrc TABLES error_table = error_table.
HR_BEN_DEQUEUE_PERSONAL_NUMBER CALL FUNCTION 'HR_BEN_DEQUEUE_PERSONAL_NUMBER' EXPORTING pernr = pernr_table-pernr.
HR_BEN_DEQUEUE_PERSONAL_NUMBER CALL FUNCTION 'HR_BEN_DEQUEUE_PERSONAL_NUMBER' EXPORTING pernr = pernr_table-pernr.
HR_BEN_CREATE_PENSION_RESULTS CALL FUNCTION 'HR_BEN_CREATE_PENSION_RESULTS' EXPORTING pernr = pernr_table-pernr barea = retplan_table-barea bplan = retplan_table-bplan val_date = val_date part_grfth_srv = part_grfth_srv part_calcu_srv = part_calcu_srv cred_grfth_srv = cred_grfth_srv cred_calcu_srv = cred_calcu_srv vest_grfth_srv = vest_grfth_srv vest_calcu_srv = vest_calcu_srv vest_pcnt = vest_pcnt nocommit = false lock_pernr = false reaction = reaction IMPORTING subrc = retcd TABLES it0565 = i0565 error_table = error_table.
HR_BEN_DEQUEUE_PERSONAL_NUMBER CALL FUNCTION 'HR_BEN_DEQUEUE_PERSONAL_NUMBER' EXPORTING pernr = pernr_table-pernr.
HR_BEN_HANDLE_STATUS_MESSAGE CALL FUNCTION 'HR_BEN_HANDLE_STATUS_MESSAGE' EXPORTING msg_class = msg_class13 msg_number = '009' msg_par1 = msg_par1 msg_par2 = msg_par2 TABLES error_table = error_table.
HR_BEN_RET_GET_RELEVANT_PLANS CALL FUNCTION 'HR_BEN_RET_GET_RELEVANT_PLANS' EXPORTING pernr = pernr endda = val_date reaction = reaction IMPORTING subrc = subrc TABLES tt5uba = bplan_table relevant_plans = retplan_table error_table = error_table.
HR_BEN_HANDLE_ERROR CALL FUNCTION 'HR_BEN_HANDLE_ERROR' EXPORTING pernr = pernr msg_class = msg_class18 msg_number = '004' severity = subrc reaction = reaction TABLES error_table = error_table.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = pernr infty = '0565' begda = begda endda = endda IMPORTING subrc = subrc TABLES infty_tab = i0565 EXCEPTIONS infty_not_found = 1 OTHERS = 2.
HR_BEN_HANDLE_ERROR CALL FUNCTION 'HR_BEN_HANDLE_ERROR' EXPORTING pernr = pernr msg_class = 'RP' msg_number = '050' msg_par1 = pernr msg_par2 = '0565' msg_par3 = begda msg_par4 = endda severity = subrc reaction = reaction TABLES error_table = error_table.
HR_BEN_RET_GET_MOST_RCNT_RESUL CALL FUNCTION 'HR_BEN_RET_GET_MOST_RCNT_RESUL' EXPORTING pernr = pernr barea = barea bplan = bplan begda = low_date endda = val_date valuation = true reaction = reaction IMPORTING most_rcnt_results = i0565 subrc = subrc TABLES it0565 = i0565 error_table = error_table.
HR_BEN_SRV_CALC_PLAN_AMOUNTS CALL FUNCTION 'HR_BEN_SRV_CALC_PLAN_AMOUNTS' EXPORTING pernr = pernr barea = barea bplan = bplan val_date = val_date reaction = reaction IMPORTING part_srv_duration = part_calcu_srv cred_srv_duration = cred_calcu_srv vest_srv_duration = vest_calcu_srv subrc = subrc TABLES error_table = error_table.
HR_BEN_SRV_GET_VEST_PCNT_RESUL CALL FUNCTION 'HR_BEN_SRV_GET_VEST_PCNT_RESUL' EXPORTING barea = barea bplan = bplan val_date = val_date grfth_yrs = i0565-vgfyy grfth_mns = i0565-vgfmm grfth_dys = i0565-vgfdd calcu_yrs = vest_calcu_srv-calyy calcu_mns = vest_calcu_srv-calmm calcu_dys = vest_calcu_srv-caldd most_rcnt_vpcnt = i0565-vpcnt reaction = reaction IMPORTING vpcnt = vest_pcnt subrc = subrc TABLES error_table = error_table.
HR_BEN_SRV_CALC_PLAN_AMOUNTS CALL FUNCTION 'HR_BEN_SRV_CALC_PLAN_AMOUNTS' EXPORTING pernr = pernr barea = barea bplan = bplan val_date = val_date reaction = reaction IMPORTING part_srv_duration = part_calcu_srv cred_srv_duration = cred_calcu_srv subrc = subrc TABLES error_table = error_table.
HR_BEN_SRV_FILL_TOTAL_AMOUNT CALL FUNCTION 'HR_BEN_SRV_FILL_TOTAL_AMOUNT' EXPORTING barea = most_rcnt_results-barea bplan = most_rcnt_results-bplan val_date = val_date srv_type = vesting_service grfth_yrs = most_rcnt_results-vgfyy grfth_mns = most_rcnt_results-vgfmm grfth_dys = most_rcnt_results-vgfdd calcu_yrs = most_rcnt_results-vcsyy calcu_mns = most_rcnt_results-vcsmm calcu_dys = most_rcnt_results-vcsdd manua_yrs = most_rcnt_results-vmsyy manua_mns = most_rcnt_results-vmsmm manua_dys = most_rcnt_results-vmsdd manua_ind = most_rcnt_results-vmain reaction = reaction IMPORTING total_yrs = vest_srv_duration-calyy total_mns = vest_srv_duration-calmm total_dys = vest_srv_duration-caldd subrc = subrc TABLES error_table = error_table.
HR_BEN_SRV_GET_VEST_PCNT_SCHED CALL FUNCTION 'HR_BEN_SRV_GET_VEST_PCNT_SCHED' EXPORTING barea = most_rcnt_results-barea bplan = most_rcnt_results-bplan val_date = val_date total_yrs = vest_srv_duration-calyy total_mns = vest_srv_duration-calmm total_dys = vest_srv_duration-caldd reaction = reaction IMPORTING vpcnt = vest_pcnt subrc = subrc TABLES error_table = error_table.
HR_BEN_SRV_FILL_TOTAL_AMOUNT CALL FUNCTION 'HR_BEN_SRV_FILL_TOTAL_AMOUNT' EXPORTING barea = most_rcnt_results-barea bplan = most_rcnt_results-bplan val_date = val_date srv_type = vesting_service calcu_yrs = most_rcnt_results-vcsyy calcu_mns = most_rcnt_results-vcsmm calcu_dys = most_rcnt_results-vcsdd manua_yrs = most_rcnt_results-vmsyy manua_mns = most_rcnt_results-vmsmm manua_dys = most_rcnt_results-vmsdd manua_ind = most_rcnt_results-vmain reaction = reaction IMPORTING total_yrs = vest_srv_duration-calyy total_mns = vest_srv_duration-calmm total_dys = vest_srv_duration-caldd subrc = subrc TABLES error_table = error_table.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.