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

PCN68BR0 SAP ABAP INCLUDE - documentation and ABAP source code







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

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_FILIAL_PER_AREA CALL FUNCTION 'HR_BR_GET_FILIAL_PER_AREA' EXPORTING p_werks = p0001-werks p_btrtl = p0001-btrtl sw_prot = pbr99_off IMPORTING branch = pernr_filia obra = pernr_obra EXCEPTIONS no_link_areas = 1 no_group_found = 2 OTHERS = 3.

HR_ENTRY_DATE CALL FUNCTION 'HR_ENTRY_DATE' EXPORTING persnr = p_pernr IMPORTING entrydate = l_date TABLES entry_dates = phifi EXCEPTIONS entry_date_not_found = 1 OTHERS = 2.

HR_LEAVING_DATE CALL FUNCTION 'HR_LEAVING_DATE' EXPORTING persnr = p_pernr IMPORTING leavingdate = l_date TABLES leaving_dates = phifi EXCEPTIONS leaving_date_not_found = 1 pernr_not_assigned = 2 OTHERS = 3.

HR_BR_DEPENDENTES CALL FUNCTION 'HR_BR_DEPENDENTES' EXPORTING p_pdate = p_begda begda = p_begda endda = p_endda IMPORTING irrf_dependentes = l_deps TABLES p_p0021 = p0021 p_p0397 = p0397 dep = l_dep.

HR_BR_GET_BY_EVAL_CLASS CALL FUNCTION 'HR_BR_GET_BY_EVAL_CLASS' EXPORTING aklas = p_aklas paydate = p_paydate value = p_value TABLES wagetypes = p_range.

HR_BR_GET_BY_ACUM CALL FUNCTION 'HR_BR_GET_BY_ACUM' EXPORTING kumul = p_kumul paydate = p_paydate TABLES wagetypes = p_range.

HR_BR_LER_EMPRESA CALL FUNCTION 'HR_BR_LER_EMPRESA' EXPORTING COMPANY_CODE = pnpbukrs-low IMPORTING COMPANY_NAME = header-raz COMPANY_CGC = header-cgc EXCEPTIONS COMPANY_NOT_FOUND = 1 OTHERS = 2.

DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' EXPORTING name = l_struct_name state = 'A' langu = sy-langu TABLES dd03p_tab = dd03p_tab EXCEPTIONS illegal_input = 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 PCN68BR0 or its description.