SAP Reports / Programs | Personnel Management | Benefits(PA-BN) SAP PA

COB05F02 SAP ABAP INCLUDE - Include COB05F02







COB05F02 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 COB05F02 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 COB05F02. "Basic submit
SUBMIT COB05F02 AND RETURN. "Return to original report after report execution complete
SUBMIT COB05F02 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Include COB05F02


INCLUDES used within this REPORT COB05F02

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_BEN_COB_READ_BENEF_DATA call function 'HR_BEN_COB_READ_BENEF_DATA' exporting pernr = i0211-pernr cob_subty = i0211-subty cob_objps = i0211-objps datum = pn-begda reaction = no_msg importing qb_benefit_data = qb_benefit_data subrc = l_subrc tables error_table = error_table it0077 = i0077 it0106 = i0106 it0211 = i0211.

HR_BEN_GET_TEXT_DOMVALUE call function 'HR_BEN_GET_TEXT_DOMVALUE' exporting domname = 'PFREQ' domvalue = pa_perio reaction = no_msg importing text = txt_period subrc = l_subrc tables error_table = error_table.

HR_BEN_COB_GET_ADMIN_DATA call function 'HR_BEN_COB_GET_ADMIN_DATA' exporting cobst = qb_benefit_data-cobst datum = pn-begda reaction = no_msg importing admin_data = h5udd subrc = l_subrc tables error_table = error_table.

HR_BEN_COB_GET_HEALTH_COSTS call function 'HR_BEN_COB_GET_HEALTH_COSTS' exporting qb_benefit_data = qb_benefit_data bplan = i0212-bplan bcost = h5ubb-bcost datum = pn-begda adfee = h5udd-adfee addfe = h5udd-addfe desired_curre = pa_curre desired_perio = pa_perio reaction = no_msg importing cocst = cob_overv-cocst subrc = l_subrc TABLES error_table = error_table.

HR_BEN_COB_CALC_TERM_DATE CALL FUNCTION 'HR_BEN_COB_CALC_TERM_DATE' EXPORTING ee_benefit_data = ee_benefit_data cob_evtyp = qb_benefit_data-evtyp cob_evdat = qb_benefit_data-evdat bplan = i0212-bplan reaction = 'N' IMPORTING term_date = subsidy_date subrc = l_subrc TABLES error_table = error_table.

RP_CALC_DATE_IN_INTERVAL CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL' EXPORTING date = subsidy_date days = 0 months = 1 years = 0 IMPORTING calc_date = subsidy_date.

RP_CALC_DATE_IN_INTERVAL CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL' EXPORTING date = subsidy_date months = l_months "9 subsidy extention LC 2010 days = 0 years = 0 IMPORTING calc_date = subsidy_end.

HR_BEN_COB_GET_ADMIN_DATA CALL FUNCTION 'HR_BEN_COB_GET_ADMIN_DATA' EXPORTING cobst = qb_benefit_data-cobst datum = check_date reaction = no_msg IMPORTING admin_data = h5udd subrc = l_subrc TABLES error_table = error_table.

HR_BEN_COB_PREPARE_ACTION CALL FUNCTION 'HR_BEN_COB_PREPARE_ACTION' EXPORTING pernr = cob_overv-pernr cob_subty = cob_overv-dsubt cob_objps = cob_overv-dobjp datum = pn-begda reaction = 'N' IMPORTING action_type = l_offer_type subrc = l_subrc TABLES error_table = error_table.

HR_BEN_COB_GET_OFFER CALL FUNCTION 'HR_BEN_COB_GET_OFFER' EXPORTING pernr = cob_overv-pernr cob_subty = cob_overv-dsubt cob_objps = cob_overv-dobjp cob_offer_type = l_offer_type datum = qb_benefit_data-evdat desired_currency = 'USD' qb_benefit_data = qb_benefit_data reaction = 'N' IMPORTING subrc = l_subrc TABLES health_offer = health_offer_subs poss_dependents = depend_offer_subs error_table = error_table.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING * TCLAS = 'A' pernr = ls_healthplan_offer_temp-pernr infty = '0211' * BEGDA = '18000101' * ENDDA = '99991231' * BYPASS_BUFFER = ' ' * LEGACY_MODE = ' ' IMPORTING subrc = subrc TABLES infty_tab = lt_ae_benef EXCEPTIONS infty_not_found = 1 OTHERS = 2 .



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 COB05F02 or its description.