SAP Reports / Programs | Payroll | Brazil(PY-BR) SAP PY

PCFSFBR0 SAP ABAP INCLUDE - documentation and ABAP source code







PCFSFBR0 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 PCFSFBR0 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 PCFSFBR0. "Basic submit
SUBMIT PCFSFBR0 AND RETURN. "Return to original report after report execution complete
SUBMIT PCFSFBR0 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 PCFSFBR0

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_BR_SFM_DEP_ELIGIBLE CALL FUNCTION 'HR_BR_SFM_DEP_ELIGIBLE' EXPORTING iv_ee_bith_date = wa_header-pernr_age iv_gender = wa_header-pernr_gender iv_retired = wa_header-pernr_retired iv_empid = wa_header-pernr_vinculo iv_endda = pn-endda is_p0021 = p0021 is_p0397 = p0397 IMPORTING ev_dep_eligible = flag_dependent EXCEPTIONS dependent_age_not_valid = 1 employee_age_not_valid = 2 OTHERS = 3.

COMPUTE_YEARS_BETWEEN_DATES CALL FUNCTION 'COMPUTE_YEARS_BETWEEN_DATES' EXPORTING first_date = wa_strukt-data_nasci second_date = pn-endda IMPORTING years_between_dates = age EXCEPTIONS sequence_of_dates_not_valid = 1 OTHERS = 2.

COMPUTE_YEARS_BETWEEN_DATES CALL FUNCTION 'COMPUTE_YEARS_BETWEEN_DATES' EXPORTING first_date = wa_header-pernr_age second_date = pn-endda IMPORTING years_between_dates = age EXCEPTIONS sequence_of_dates_not_valid = 1 OTHERS = 2.

RP_EDIT_NAME CALL FUNCTION 'RP_EDIT_NAME' EXPORTING pp0002 = p0002 molga = pbr99_molga langu = sy-langu format = '01' IMPORTING edit_name = wa_header-employee_name.

HR_ENTRY_DATE CALL FUNCTION 'HR_ENTRY_DATE' EXPORTING persnr = pernr-pernr IMPORTING entrydate = p_hire_date TABLES entry_dates = it_entry_date EXCEPTIONS entry_date_not_found = 1 pernr_not_assigned = 2 OTHERS = 3.

HR_LEAVING_DATE CALL FUNCTION 'HR_LEAVING_DATE' EXPORTING persnr = pernr-pernr IMPORTING leavingdate = p_fire_date TABLES leaving_dates = it_leaving_date EXCEPTIONS leaving_date_not_found = 1 pernr_not_assigned = 2 OTHERS = 3.

HR_BR_LER_FILIAL_GERAL CALL FUNCTION 'HR_BR_LER_FILIAL_GERAL' EXPORTING company_code = i7brap-bukrs branch = i7brap-filia obra = i7brap-obra date = p_endda IMPORTING comp_name = wa_header-comp_name cgc = wa_header-cgc cei = wa_header-cei comp_addr = address EXCEPTIONS branch_not_found = 1 address_not_found = 2 company_not_found = 3 general_data_not_found = 4 OTHERS = 5.

HR_BR_CONTRACTUAL_SALARY CALL FUNCTION 'HR_BR_CONTRACTUAL_SALARY' EXPORTING begda = p_endda endda = p_endda perno = wa_header-pernr fc_sw_dec = sw_dec calc_currency = pbr99_waers TABLES pp0001 = p0001 * pp0007 = p0007 pp0008 = p0008 it = it EXCEPTIONS OTHERS = 1.

MONTH_NAMES_GET CALL FUNCTION 'MONTH_NAMES_GET' EXPORTING language = sy-langu IMPORTING return_code = ret_code TABLES month_names = it247 EXCEPTIONS month_names_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 PCFSFBR0 or its description.