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

PCDEPBR0 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

DDUT_DOMVALUES_GET * CALL FUNCTION 'DDUT_DOMVALUES_GET' * EXPORTING * NAME = 'PBR_CIVIL' * LANGU = SY-LANGU * TABLES * DD07V_TAB = DD07V_TAB * EXCEPTIONS * ILLEGAL_INPUT = 1 * OTHERS = 2.

HR_BR_GET_ESTADO_CIVIL CALL FUNCTION 'HR_BR_GET_ESTADO_CIVIL' EXPORTING IDIOMA = SY-LANGU FAMST = p_p0002_famst IMPORTING CIVIL = p_header_fld5 EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

HR_BR_GET_FILIAL_PER_AREA * call function 'HR_BR_GET_FILIAL_PER_AREA' * exporting * p_werks = pernr-werks * p_btrtl = pernr-btrtl * importing * bukrs = bukrs * branch = branch.

HR_BR_GET_FILIAL_PER_AREA call function 'HR_BR_GET_FILIAL_PER_AREA' EXPORTING p_werks = werks p_btrtl = btrtl IMPORTING bukrs = bukrs branch = branch obra = obra EXCEPTIONS no_link_areas = 1 no_group_found = 2 others = 3.

HR_BR_LER_FILIAL_GERAL call function 'HR_BR_LER_FILIAL_GERAL' exporting company_code = bukrs branch = branch obra = obra date = pn-endda importing comp_name = company_data-name exceptions branch_not_found = 1 address_not_found = 2 company_not_found = 3 general_data_not_found = 4 others = 5.

HR_BR_DEPENDENTES CALL FUNCTION 'HR_BR_DEPENDENTES' EXPORTING P_PDATE = sy-datum BEGDA = pn-begda ENDDA = pn-endda SW_PROT = space IMPORTING IRRF_DEPENDENTES = NUMDEP TABLES P_P0021 = P0021 P_P0397 = P0397 * p_p0185 = p0185 DEP = BRDEP.

HR_BR_GET_ID call function 'HR_BR_GET_ID' EXPORTING perno = p_pernr_pernr date = p_pn_endda id_type = pbr18_cpf IMPORTING cpf_number = cpf_number EXCEPTIONS id_cpf_error = 1 others = 2.

HR_BR_GET_ID call function 'HR_BR_GET_ID' EXPORTING perno = p_pernr_pernr date = p_pn_endda id_type = pbr18_ctps IMPORTING ctps_number = ctps_number EXCEPTIONS id_ctps_error = 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 PCDEPBR0 or its description.