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

PCAVFBR0 SAP ABAP INCLUDE - documentation and ABAP source code







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

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_VERIFICA_TIPO_AUSENCIA CALL FUNCTION 'HR_BR_VERIFICA_TIPO_AUSENCIA' EXPORTING moabw = t001p-moabw subty = p2001-subty paydate = sy-datum IMPORTING tipo_ausencia = absence_type EXCEPTIONS ausencia_nao_encontrada = 1 OTHERS = 2.

HR_DISPLAY_BASIC_LIST CALL FUNCTION 'HR_DISPLAY_BASIC_LIST' EXPORTING lay_out = 0 head_line1 = header1 head_line2 = header2 basic_list_title = sy-title file_name = myreport foot_note1 = footnote1 foot_note2 = footnote2 foot_note3 = footnote3 dyn_pushbutton_text1 = 'Emitir Aviso'(007) current_report = myreport list_level = '01' alv_marker = 'MARKER' IMPORTING return_code = returncode TABLES data_tab = absences select_tab = select_abs fieldname_tab = fieldname error_tab = error EXCEPTIONS print_problems = 5 OTHERS = 1.

HR_BR_LER_FILIAL_GERAL CALL FUNCTION 'HR_BR_LER_FILIAL_GERAL' EXPORTING company_code = i7brap-bukrs branch = i7brap-filia obra = i7brap-obra date = p_endda IMPORTING cgc = p_header-cgc comp_name = p_header-fo_paga comp_addr = address EXCEPTIONS branch_not_found = 1 address_not_found = 2 company_not_found = 3 general_data_not_found = 4 OTHERS = 5.

HR_BR_GET_PA_PF CALL FUNCTION 'HR_BR_GET_PA_PF' EXPORTING p_pernr = p_pernr p_begda = p_inicio_ausencia p_endda = p_fim_ausencia p_konty = p_konty p_mozko = p_mozko IMPORTING p_pa = p_inicio_aquis p_pf = p_fim_aquis p_num = i_dias_direito EXCEPTIONS deduction_not_found = 1 OTHERS = 2.

HR_BR_LE_TIPO_COMPENSACAO CALL FUNCTION 'HR_BR_LE_TIPO_COMPENSACAO' EXPORTING mopgk = p_konty mozko = p_mozko qtype = 'A' tipoc = '1' IMPORTING tipo_compens = comp_abono EXCEPTIONS compensacao_nao_encontrada = 1 OTHERS = 2.

HR_GET_QUOTA_DEDUCTION CALL FUNCTION 'HR_GET_QUOTA_DEDUCTION' EXPORTING * QUONUM = p2006-quonr * DOCNUM = p_docnr pernum = p_pernr * sbegda = hr_low_date * sendda = hr_high_date TABLES qdisded = p_bdisded m2001 = p2001 * M2002 = B2002 * M2006 = B2006 * M2007 = B2007 EXCEPTIONS record_not_found = 1.



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