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

PCPRVBR21 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

HRBR_CHANGE_OF_COMPANY_EXISTS CALL FUNCTION 'HRBR_CHANGE_OF_COMPANY_EXISTS' TABLES owpbp = owpbp wpbp = wpbp CHANGING flag_change_of_company = flag_change_of_company previous_bukrs = previous_bukrs.

HRBR_CHANGE_OF_COMPANY_13PROV CALL FUNCTION 'HRBR_CHANGE_OF_COMPANY_13PROV' EXPORTING area_prov = area_prov grp_prov = grp_prov date = aper-endda previous_bukrs = previous_bukrs sw_prot = sw_prot currency = calc_currency TABLES c1 = c1 brprov = brprov it = ot it_t7br84 = it_t7br84 obrprov = obrprov ptext = ptext.

HRBR_ENTITLEMENT_13PROV */* CALL FUNCTION 'HRBR_ENTITLEMENT_13PROV' */* EXPORTING */* pernr = pernr-pernr */* aper = aper */* flag_change_of_company = flag_change_of_company */* flag_13di_in_december = flag_13di_in_december */* TABLES */* rt = rt */* ocrt = ocrt */* it = it.

HRBR_SET_ENTITLEMENT_13PROV * CALL FUNCTION 'HRBR_SET_ENTITLEMENT_13PROV' * EXPORTING * entitlement_wagetype = pbr99_wt_12th_gt15 ** entitlement override must be initial ** entitlement_override = override_d11 * store_entitlement_wt = provvac_entitlement_wt * flag_change_of_company = flag_change_of_company * TABLES * ocrt = ocrt * it = it.

HRBR_CALCULATE_ALL_PROV CALL FUNCTION 'HRBR_CALCULATE_ALL_PROV' EXPORTING pernr = pernr-pernr area_prov = area_prov grp_prov = grp_prov date = aper-endda v0split = V0-v0znr quota = v0-vinfo occat = aper-occat flag_change_of_company = flag_change_of_company sw_prot = sw_prot currency = calc_currency IMPORTING error_message = error_message TABLES brcont = brcont brprov = brprov obrprov = obrprov it = it ot = ot p0001 = p0001 it_t7br84 = it_t7br84 ptext = ptext EXCEPTIONS error_message = 1 OTHERS = 2.

HRBR_CHANGE_OF_COMPANY_13PROV CALL FUNCTION 'HRBR_CHANGE_OF_COMPANY_13PROV' EXPORTING area_prov = area_prov grp_prov = grp_prov date = aper-endda previous_bukrs = previous_bukrs sw_prot = sw_prot currency = calc_currency TABLES c1 = c1 brprov = brprov it = ot it_t7br84 = it_t7br84 obrprov = obrprov ptext = ptext.

HRBR_REVERSAL_13PROV CALL FUNCTION 'HRBR_REVERSAL_13PROV' EXPORTING area_prov = area_prov grp_prov = grp_prov date = aper-endda occat = aper-occat sw_prot = sw_prot currency = calc_currency TABLES brprov = brprov it = ot it_t7br84 = it_t7br84 ptext = ptext.

RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' EXPORTING beg = p_begda end = p_endda IMPORTING fire_date = fire_date hire_date = hire_date TABLES pphifi = phifi pp0000 = p0000 pp0001 = p0001 EXCEPTIONS OTHERS = 1.

HRBR_CREATE_C1_SPLIT */* CALL FUNCTION 'HRBR_CREATE_C1_SPLIT' */* EXPORTING */* previous_bukrs = previous_bukrs */* TABLES */* c1 = p_c1 */* CHANGING */* c1znr = c1znr.

HR_BR_APPEND_WAGETYPE CALL FUNCTION 'HR_BR_APPEND_WAGETYPE' EXPORTING p_wtype = wa_rt-lgart p_abart = wa_rt-abart p_value1 = wa_rt-anzhl p_value2 = wa_rt-betpe p_value3 = wa_rt-betrg p_waers = wa_rt-amt_curr p_cntr1 = wa_rt-cntr1 p_cntr2 = wa_rt-cntr2 p_cntr3 = wa_rt-cntr3 p_apznr = wa_rt-apznr sw_prot = pbr99_off p_abznr = wa_rt-abznr p_v0typ = wa_rt-v0typ p_v0znr = wa_rt-v0znr p_c1znr = wa_rt-c1znr TABLES i_it = p_ot.



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