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

PCRAIBR0 SAP ABAP INCLUDE - documentation and ABAP source code







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

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_LER_FILIAL_GERAL CALL FUNCTION 'HR_BR_LER_FILIAL_GERAL' EXPORTING company_code = i7brap-bukrs branch = i7brap-filia obra = i7brap-obra date = pn-endda IMPORTING cgc = rais_er-cgc cei = rais_er-cei comp_name = rais_er-comp_name comp_addr = address e_mail = rais_er-e_mail EXCEPTIONS branch_not_found = 1 address_not_found = 2 company_not_found = 3 general_data_not_found = 4 OTHERS = 5.

HR99L00_GET_RETRO_MONTH_DIFF CALL FUNCTION 'HR99L00_GET_RETRO_MONTH_DIFF' EXPORTING pernr = pernr-pernr month = rgdir-fpbeg+4(2) year = rgdir-fpbeg(4) sel_date = 'B' TABLES lgart = list retro_month_diff = lt_retro EXCEPTIONS t500l_not_maintained = 1 no_read_authority = 2 import_error = 3 OTHERS = 4.

RP_EDIT_NAME CALL FUNCTION 'RP_EDIT_NAME' EXPORTING pp0002 = p0002 molga = pbr99_molga langu = pbr99_langu format = '01' IMPORTING edit_name = p_rais_pes-nomefunc.

HR_BR_CONTRACTUAL_SALARY CALL FUNCTION 'HR_BR_CONTRACTUAL_SALARY' EXPORTING begda = p_aux_rais-endda endda = p_aux_rais-endda perno = p_pernr-pernr fc_sw_dec = pbr99_on calc_currency = moeda TABLES pp0001 = p0001 pp0007 = p0007 pp0008 = p0008 it = it EXCEPTIONS no_contractual_salary = 1 pass_exception = 2 OTHERS = 3.

HR_ENTRY_DATE CALL FUNCTION 'HR_ENTRY_DATE' EXPORTING persnr = p_pernr-pernr endda = pn-endda IMPORTING entrydate = p_hire_d TABLES entry_dates = l_phifi EXCEPTIONS entry_date_not_found = 1 OTHERS = 2.

HR_LEAVING_DATE CALL FUNCTION 'HR_LEAVING_DATE' EXPORTING persnr = p_pernr-pernr IMPORTING leavingdate = p_fire_d TABLES leaving_dates = l_phifi EXCEPTIONS leaving_date_not_found = 1 OTHERS = 2.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = c_feature_name struc_content = l_s_input_feature IMPORTING back = l_output_feature EXCEPTIONS dummy = 1 error_operation = 2 no_backvalue = 3 feature_not_generated = 4 invalid_sign_in_funid = 5 field_in_report_tab_in_pe03 = 6 OTHERS = 7.

HR_BR_CHECK_CPF_FORMAT CALL FUNCTION 'HR_BR_CHECK_CPF_FORMAT' EXPORTING cpf_number = pv_cpf IMPORTING cpf_number_formatted = lv_cpf_formatted cpf_unformatted = lv_cpf_unformated EXCEPTIONS cpf_format_not_supported = 1 cpf_check_digit = 2 OTHERS = 3.

HR_BR_GET_BY_EVAL_CLASS CALL FUNCTION 'HR_BR_GET_BY_EVAL_CLASS' EXPORTING aklas = pbr99_wages_dirf_est paydate = pn-begda value = p_wtipo TABLES wagetypes = wagetypes.



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