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

PCGRPBR0 SAP ABAP INCLUDE - documentation and ABAP source code







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

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_OPERATIONAL_DATE CALL FUNCTION 'HR_BR_GET_OPERATIONAL_DATE' EXPORTING P_DATE = APER-CHKDT BONDT = APER-BONDT OCCAT = APER-OCCAT IABKRS = APER-IABKR IPABRJ = APER-IAPER-PABRJ IPABRP = APER-IAPER-PABRP LEGAL_ENTITY = 1 SW_PROT = SW_PROT SW_AUFROLLUNG = SW_AUFROLLUNG APER_ENDDA = APER-ENDDA APER_BEGDA = APER-BEGDA PABKRS = APER-ABKRS PPABRJ = APER-PAPER-PABRJ PPABRP = APER-PAPER-PABRP payty = payty IMPORTING CHKDT = CHKDT.

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_GET_FILIAL_PER_AREA CALL FUNCTION 'HR_BR_GET_FILIAL_PER_AREA' EXPORTING P_WERKS = WPBP-WERKS P_BTRTL = WPBP-BTRTL IMPORTING BRANCH = WA_GRPS_WPBP-FILIA OBRA = WA_GRPS_WPBP-OBRA EXCEPTIONS NO_LINK_AREAS = 1 NO_GROUP_FOUND = 2 OTHERS = 3.

HR_BR_BRACKET_GROUP_INIT CALL FUNCTION 'HR_BR_BRACKET_GROUP_INIT' EXPORTING SW_PROT = SW_PROT ABKRS = APER-ABKRS WPBP_ENTRY = WA_WPBP CHANGING ORGANIZATION = ORGANIZATION.

HR_BR_GRPS_AUTON * call function 'HR_BR_GRPS_AUTON' * exporting * chkdt = chkdt * sw_prot = sw_prot * p_organization = organization * tables * grps_it = grps_it * grps_ot = grps_ot * grps_wpbp = grps_wpbp * exceptions * grps_table_entry_unknown = 1 * wage_grps_auton_not_found = 2 * others = 3.

HR_BR_GRPS_AUTON CALL FUNCTION 'HR_BR_GRPS_AUTON' EXPORTING ADMIN = ADMIN IN = IN ORGANIZATION = ORGANIZATION CHANGING OUT = OUT EXCEPTIONS GRPS_TABLE_ENTRY_UNKNOWN = 1 WAGE_GRPS_AUTON_NOT_FOUND = 2 PASS_EXCEPTION = 3 OTHERS = 4.



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