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

PCPYRBR4 SAP ABAP INCLUDE - documentation and ABAP source code







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

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_CONTRACTUAL_SALARY CALL FUNCTION 'HR_BR_CONTRACTUAL_SALARY' EXPORTING begda = p_endda endda = p_endda perno = pernr-pernr fc_sw_dec = sw_dec calc_currency = pbr99_waers TABLES pp0001 = p0001 * pp0007 = p0007 pp0008 = p0008 it = it EXCEPTIONS OTHERS = 1.

HR_BR_DEPENDENTES CALL FUNCTION 'HR_BR_DEPENDENTES' EXPORTING p_pdate = p_endda begda = p_begda endda = p_endda IMPORTING irrf_dependentes = wa_employee-numdep_ir TABLES p_p0021 = p0021 p_p0397 = p0397 dep = brdep.

HR_99B_SIMPLE_LIST CALL FUNCTION 'HR_99B_SIMPLE_LIST' EXPORTING P_LIST_CAT = list_cat TABLES P_FIELD_CAT = lt_simple_fcat P_DATA_TAB = wa_table_wa_cc.

HR_99B_SIMPLE_LIST CALL FUNCTION 'HR_99B_SIMPLE_LIST' * EXPORTING * P_LIST_CAT = list_cat TABLES P_FIELD_CAT = lt_simple_fcat P_DATA_TAB = lt_summary.

HR_99B_SIMPLE_LIST CALL FUNCTION 'HR_99B_SIMPLE_LIST' EXPORTING P_LIST_CAT = list_cat TABLES P_FIELD_CAT = lt_simple_fcat P_DATA_TAB = lt_cc.

HR_99B_SIMPLE_LIST CALL FUNCTION 'HR_99B_SIMPLE_LIST' EXPORTING P_LIST_CAT = list_cat TABLES P_FIELD_CAT = lt_simple_fcat P_DATA_TAB = lt_cc.

HR_99B_SIMPLE_LIST CALL FUNCTION 'HR_99B_SIMPLE_LIST' EXPORTING P_LIST_CAT = list_cat TABLES P_FIELD_CAT = lt_simple_fcat P_DATA_TAB = wa_table_wa_obra.

HR_99B_SIMPLE_LIST CALL FUNCTION 'HR_99B_SIMPLE_LIST' * EXPORTING * P_LIST_CAT = list_cat TABLES P_FIELD_CAT = lt_simple_fcat P_DATA_TAB = lt_summary.

HR_99B_SIMPLE_LIST CALL FUNCTION 'HR_99B_SIMPLE_LIST' EXPORTING P_LIST_CAT = list_cat TABLES P_FIELD_CAT = lt_simple_fcat P_DATA_TAB = lt_obra.

HR_99B_SIMPLE_LIST CALL FUNCTION 'HR_99B_SIMPLE_LIST' EXPORTING P_LIST_CAT = list_cat TABLES P_FIELD_CAT = lt_simple_fcat P_DATA_TAB = lt_obra.

HR_99B_SIMPLE_LIST CALL FUNCTION 'HR_99B_SIMPLE_LIST' EXPORTING P_LIST_CAT = list_cat TABLES P_FIELD_CAT = lt_simple_fcat P_DATA_TAB = wa_table_wa_filia.

HR_99B_SIMPLE_LIST CALL FUNCTION 'HR_99B_SIMPLE_LIST' * EXPORTING * P_LIST_CAT = list_cat TABLES P_FIELD_CAT = lt_simple_fcat P_DATA_TAB = lt_summary.

HR_99B_SIMPLE_LIST CALL FUNCTION 'HR_99B_SIMPLE_LIST' EXPORTING P_LIST_CAT = list_cat TABLES P_FIELD_CAT = lt_simple_fcat p_data_tab = wa_table_filia.

HR_99B_SIMPLE_LIST CALL FUNCTION 'HR_99B_SIMPLE_LIST' EXPORTING P_LIST_CAT = list_cat TABLES P_FIELD_CAT = lt_simple_fcat p_data_tab = wa_table_filia.

COMPUTE_YEARS_BETWEEN_DATES CALL FUNCTION 'COMPUTE_YEARS_BETWEEN_DATES' EXPORTING first_date = p_brdep-fgbdt second_date = p_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_employee-birth second_date = pn-endda IMPORTING years_between_dates = age EXCEPTIONS sequence_of_dates_not_valid = 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 PCPYRBR4 or its description.