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

PCCEDBR2 SAP ABAP INCLUDE - documentation and ABAP source code







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

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_GET_BY_EVAL_CLASS CALL FUNCTION 'HR_BR_GET_BY_EVAL_CLASS' EXPORTING aklas = pbr99_wages_dirf_est paydate = pnpbegda VALUE = p_wtipo TABLES WAGETYPES = WAGETYPES.

HR_BR_ADD_MONTH_TO_DATE CALL FUNCTION 'HR_BR_ADD_MONTH_TO_DATE' EXPORTING dmm_datin = pnpbegda dmm_count = '1' dmm_oper = '-' dmm_pos = space IMPORTING dmm_daout = dat_ini EXCEPTIONS unknown = 1.

HR_BR_ADD_MONTH_TO_DATE * CALL FUNCTION 'HR_BR_ADD_MONTH_TO_DATE' * EXPORTING * dmm_datin = pnpendda * dmm_count = '1' * dmm_oper = '+' * dmm_pos = space * IMPORTING * dmm_daout = dat_end * EXCEPTIONS * unknown = 1.

HR_ENTRY_DATE CALL FUNCTION 'HR_ENTRY_DATE' EXPORTING persnr = pernr-pernr endda = pnpendda IMPORTING entrydate = 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 = fire_date TABLES leaving_dates = it_leaving_date EXCEPTIONS leaving_date_not_found = 1 pernr_not_assigned = 2 OTHERS = 3.

HR99L00_GET_RETRO_MONTH_DIFF CALL FUNCTION 'HR99L00_GET_RETRO_MONTH_DIFF' EXPORTING pernr = pernr-pernr month = p_month year = p_year sel_date = 'B' TABLES lgart = gtr_lgart retro_month_diff = lt_retro EXCEPTIONS t500l_not_maintained = 1 no_read_authority = 2 import_error = 3 OTHERS = 4.

RP_LAST_DAY_OF_MONTHS CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS' EXPORTING day_in = l_begda IMPORTING last_day_of_month = l_endda.

CD_REORG_RGDIR CALL FUNCTION 'CD_REORG_RGDIR' TABLES rgdir = ct_all_rgdir[].



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