COB01F02 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 COB01F02 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.
Title: Subprogram RPUCOB01: Collect COBRA events
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HR_BEN_HANDLE_ERROR CALL FUNCTION 'HR_BEN_HANDLE_ERROR' EXPORTING pernr = p_pernr msg_class = 'RP' msg_number = '050' msg_par1 = '0000' msg_par2 = p_pernr msg_par3 = l_datst msg_par4 = l_datst severity = 8 reaction = no_msg TABLES error_table = p_error.
HR_BEN_GET_KEY_DATE_INTERSECT CALL FUNCTION 'HR_BEN_GET_KEY_DATE_INTERSECT' EXPORTING begda1 = begda endda1 = endda begda2 = i0167-begda endda2 = i0167-endda reaction = no_reaction "N0780673 IMPORTING key_date = keydt subrc = retcd TABLES error_table = error_table.
HR_BEN_GET_KEY_DATE_INTERSECT CALL FUNCTION 'HR_BEN_GET_KEY_DATE_INTERSECT' EXPORTING begda1 = begda endda1 = endda begda2 = i0170-begda endda2 = i0170-endda reaction = no_reaction "N0780673 IMPORTING key_date = keydt subrc = retcd TABLES error_table = error_table.
HR_BEN_GET_POSS_DEPENDENTS CALL FUNCTION 'HR_BEN_GET_POSS_DEPENDENTS' EXPORTING pernr = pernr barea = i0170-barea bplan = i0170-bplan datum = i0170-begda reaction = reaction IMPORTING subrc = retcd TABLES poss_dependents = poss_depends error_table = error_table.
HR_BEN_GET_DATE_INTERSECTION CALL FUNCTION 'HR_BEN_GET_DATE_INTERSECTION' EXPORTING begda1 = begda endda1 = endda begda2 = dep_child_plans-begda endda2 = dep_child_plans-endda reaction = reaction IMPORTING intersection_begda = l_begda intersection_endda = l_endda subrc = subrc TABLES error_table = error_table.
RP_CALC_DATE_IN_INTERVAL CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL' EXPORTING date = i0021-fgbdt days = l_days months = l_months years = dep_elig_rule-indag IMPORTING calc_date = dep_ch_elig_checks-datum.
RP_CALC_DATE_IN_INTERVAL CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL' EXPORTING date = i0021-fgbdt days = l_days months = l_months years = dep_elig_rule-stdag IMPORTING calc_date = dep_ch_elig_checks-datum.
HR_BEN_COB_CHECK_DEP_ELIG_REG CALL FUNCTION 'HR_BEN_COB_CHECK_DEP_ELIG_REG' EXPORTING pernr = pernr dep_type = dep_ch_elig_checks-dep_type dep_id = dep_ch_elig_checks-dep_id barea = dep_ch_elig_checks-barea bplan = dep_ch_elig_checks-bplan datum = dep_ch_elig_checks-datum reaction = reaction IMPORTING is_eligible = was_eligible_before subrc = subrc TABLES error_table = error_table it0021 = i0021 it0106 = i0106.
HR_BEN_COB_CHECK_DEP_ELIG_REG CALL FUNCTION 'HR_BEN_COB_CHECK_DEP_ELIG_REG' EXPORTING pernr = pernr dep_type = dep_ch_elig_checks-dep_type dep_id = dep_ch_elig_checks-dep_id barea = dep_ch_elig_checks-barea bplan = dep_ch_elig_checks-bplan datum = dep_ch_elig_checks-datum reaction = reaction IMPORTING is_eligible = is_eligible subrc = subrc TABLES error_table = error_table it0021 = i0021 it0106 = i0106.
HR_BEN_COB_GET_SPEN_TARG_AMTS CALL FUNCTION 'HR_BEN_COB_GET_SPEN_TARG_AMTS' EXPORTING qb_benefit_data = qb_ben_data bplan = dep_ch_elig_checks-bplan desired_curre = us_dollars reaction = reaction IMPORTING target_amounts = target_amounts 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.