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

PCRSKBR0 SAP ABAP INCLUDE - documentation and ABAP source code







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

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_SET_ADMIN_DATA CALL FUNCTION 'HR_BR_SET_ADMIN_DATA' EXPORTING chkdt = chkdt occat = aper-occat sw_prot = sw_prot sw_aufrollung = sw_aufrollung fc_sw_dec = fc-sw_dec calc_currency = calc_currency calc_molga = calcmolga abkrs = aper-abkrs legal_entity = 0 IMPORTING admin = admin.

HR_BR_ADIC_INSAL_PERIC CALL FUNCTION 'HR_BR_ADIC_INSAL_PERIC' EXPORTING admin = admin * peric_input = peric_in insal_input = insal_in IMPORTING * peric_output = peric_out insal_output = insal_out EXCEPTIONS pass_exception = 1 OTHERS = 2.

HR_BR_READ_WAGETYPE CALL FUNCTION 'HR_BR_READ_WAGETYPE' EXPORTING p_wtype = '/147' p_apznr = wa_wpbp-apznr IMPORTING p_value = wa_insalubridade-minimum_salary TABLES i_it = it EXCEPTIONS wagetype_not_found = 1 OTHERS = 2.

HR_BR_SALARIO_INSALUBRIDADE CALL FUNCTION 'HR_BR_SALARIO_INSALUBRIDADE' EXPORTING person_number = pernr-pernr begin_date = p0398_tab-begda end_date = p0398_tab-begda sw_normativo = wa_t7brrk-salno sw_prot = sw_prot fc_sw_waers = fc-sw_dec TABLES infotype_0057 = p0057[] CHANGING salary = wa_insalubridade-minimum_salary EXCEPTIONS pass_exception = 1 OTHERS = 2.

HR_BR_APPEND_WAGETYPE CALL FUNCTION 'HR_BR_APPEND_WAGETYPE' EXPORTING p_wtype = pbr99_wt_rsk_b_insal p_abart = pbr99_all_abart p_apznr = wa_wpbp-apznr p_value3 = wa_insalubridade-minimum_salary sw_prot = sw_prot TABLES i_it = it.

HR_BR_GET_CONSTANT * CALL FUNCTION 'HR_BR_GET_CONSTANT' * EXPORTING * P_CONSTANT = PBR99_GENAU * P_DATE = CHKDT * SW_PROT = PBR99_OFF * IMPORTING * P_VALUE = GENAU * EXCEPTIONS * CONSTANT_NOT_FOUND = 1 * OTHERS = 2.

HR_BR_APPEND_WAGETYPE CALL FUNCTION 'HR_BR_APPEND_WAGETYPE' EXPORTING p_wtype = pbr99_wt_rsk_c_insal p_abart = pbr99_all_abart p_value1 = wa_pc207-anzhl p_value2 = wa_pc207-betpe p_value3 = wa_pc207-betrg sw_prot = pbr99_off TABLES i_it = it.

HR_BR_APPEND_WAGETYPE * call function 'HR_BR_APPEND_WAGETYPE' * exporting * p_wtype = pbr99_wt_rsk_c_peric * p_abart = pbr99_all_abart * p_value1 = wa_pc207-anzhl * p_value2 = wa_pc207-betpe * p_value3 = wa_pc207-betrg * sw_prot = sw_prot * tables * i_it = it.

HR_BR_READ_WAGETYPE CALL FUNCTION 'HR_BR_READ_WAGETYPE' EXPORTING p_abart = pbr99_all_abart p_wtype = '/H00' IMPORTING p_number = p_wa_insalubridade-worked_hours TABLES i_it = it EXCEPTIONS wagetype_not_found = 1 OTHERS = 2.

HR_BR_READ_WAGETYPE CALL FUNCTION 'HR_BR_READ_WAGETYPE' EXPORTING p_wtype = '/H01' p_apznr = p_wa_insalubridade-apznr IMPORTING p_value = p_wa_insalubridade-overtime_hours * p_rate = p_wa_insalubridade-overtime_hours_rte TABLES i_it = it EXCEPTIONS wagetype_not_found = 1 OTHERS = 2.

HR_BR_GRUPO_ADICIONAL CALL FUNCTION 'HR_BR_GRUPO_ADICIONAL' EXPORTING input = p_input IMPORTING output = output EXCEPTIONS pass_exception = 1 OTHERS = 2.

HR_BR_GET_CONSTANT CALL FUNCTION 'HR_BR_GET_CONSTANT' EXPORTING p_constant = pbr99_genau p_date = chkdt sw_prot = pbr99_off IMPORTING p_value = genau EXCEPTIONS constant_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 PCRSKBR0 or its description.