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

PCCG2BR0 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

RP_EDIT_NAME CALL FUNCTION 'RP_EDIT_NAME' EXPORTING pp0002 = p0002 molga = pbr99_molga langu = sy-langu format = '01' IMPORTING edit_name = caged-name_ee.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = pernr-pernr infty = '0001' begda = p_begda endda = p_begda TABLES infty_tab = l_p0001 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_ENTRY_DATE CALL FUNCTION 'HR_ENTRY_DATE' EXPORTING persnr = p_pernr_pernr endda = p0000_old-endda IMPORTING entrydate = entry_date TABLES entry_dates = phifi EXCEPTIONS entry_date_not_found = 1 OTHERS = 2.

HR_BR_APPEND_PERNR_MESSAGE CALL FUNCTION 'HR_BR_APPEND_PERNR_MESSAGE' EXPORTING pernr_number = pernr-pernr message_id = pbr99_logid message_type = 'W' message_number = '109' message_var1 = space message_var2 = space message_var3 = space message_var4 = space.

HR_BR_APPEND_PERNR_MESSAGE CALL FUNCTION 'HR_BR_APPEND_PERNR_MESSAGE' EXPORTING pernr_number = pernr-pernr message_id = pbr99_logid message_type = 'W' message_number = '110' message_var1 = space message_var2 = space message_var3 = space message_var4 = space.

HR_BR_CONVERT_ACCENTS CALL FUNCTION 'HR_BR_CONVERT_ACCENTS' EXPORTING IN_TEXT = reco_a_cg-caddr SW_STRIP_SLASH = pbr99_off IMPORTING OUT_TEXT = reco_a_cg-caddr EXCEPTIONS CANNOT_CONVERT = 1 LANGU_NOT_SUPPORTED = 2 OTHERS = 3.

HR_BR_CONVERT_ACCENTS CALL FUNCTION 'HR_BR_CONVERT_ACCENTS' EXPORTING IN_TEXT = reco_b_cgb-caddr SW_STRIP_SLASH = pbr99_off IMPORTING OUT_TEXT = reco_b_cgb-caddr EXCEPTIONS CANNOT_CONVERT = 1 LANGU_NOT_SUPPORTED = 2 OTHERS = 3.

HR_BR_APPEND_MESSAGE CALL FUNCTION 'HR_BR_APPEND_MESSAGE' EXPORTING message_id = pbr99_logid message_type = 'S' message_number = '001' message_var1 = p_g_temse_object-full_name message_var2 = space message_var3 = space message_var4 = space node_type = 'TEMS'.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = 'Processando'(prs).

HR_ENTRY_DATE CALL FUNCTION 'HR_ENTRY_DATE' EXPORTING persnr = p_pernr_pernr endda = p_pnpendda IMPORTING entrydate = p_hire_date 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 begda = p_hire_date endda = l_endda IMPORTING leavingdate = p_fire_date TABLES leaving_dates = l_phifi EXCEPTIONS leaving_date_not_found = 1 OTHERS = 2.

HRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'HRCA_COMPANYCODE_GETDETAIL' EXPORTING * companycode = pnpbukrs-low "YRAM2880028 companycode = l_w_ap_matriz-bukrs "YRAM2880028 language = pbr99_langu IMPORTING comp_name = company_name EXCEPTIONS not_found = 1 OTHERS = 2.

HR_BR_LER_FILIAL_GERAL CALL FUNCTION 'HR_BR_LER_FILIAL_GERAL' EXPORTING company_code = caged_er-bukrs branch = caged_er-filial obra = i7brap-obra date = p_pnpendda IMPORTING cgc = caged_er-cgc cei = caged_er-cei comp_addr = address comp_name = caged_er-branch_name e_mail = caged_er-email EXCEPTIONS branch_not_found = 1 address_not_found = 2 company_not_found = 3 general_data_not_found = 4 OTHERS = 5.

HR_BR_APPEND_MESSAGE CALL FUNCTION 'HR_BR_APPEND_MESSAGE' EXPORTING message_id = pbr99_errid message_type = 'E' message_number = '138' message_var1 = 'T7BRAE' message_var2 = w7brb1-econa message_var3 = p_pnpendda message_var4 = space message_tlevel = '04'.

HR_BR_APPEND_MESSAGE CALL FUNCTION 'HR_BR_APPEND_MESSAGE' EXPORTING message_id = pbr99_errid message_type = 'E' message_number = '138' message_var1 = 'T7BRB1' message_var2 = caged_er-bukrs message_var3 = caged_er-filial message_var4 = p_pnpendda message_tlevel = '04'.

HR_BR_APPEND_MESSAGE CALL FUNCTION 'HR_BR_APPEND_MESSAGE' EXPORTING message_id = pbr99_errid message_type = 'W' message_number = '138' message_var1 = 'T7BRC1' message_var2 = caged_er-bukrs message_var3 = caged_er-filial message_var4 = caged_er-obra message_tlevel = '04'.

HR_BR_EXTRAI_DDD_TELEFONE CALL FUNCTION 'HR_BR_EXTRAI_DDD_TELEFONE' EXPORTING p_string = address-tel_number IMPORTING p_ddd = caged_er-ddd p_telefone = caged_er-teln EXCEPTIONS no_number_found = 1 OTHERS = 99.

HR_BR_CONTRACTUAL_SALARY CALL FUNCTION 'HR_BR_CONTRACTUAL_SALARY' EXPORTING begda = p_endda endda = p_endda perno = p_pernr fc_sw_dec = sw_dec calc_currency = pbr99_waers p8_subty = 'BR01' TABLES pp0001 = p0001 pp0007 = p0007 pp0008 = p0008 it = it EXCEPTIONS OTHERS = 1.

HR_GET_BUSINESS_ADD_IN





CALL FUNCTION 'HR_GET_BUSINESS_ADD_IN' EXPORTING EXIT_NAME = 'HRPAYBR_CELETISTA' IMPORTING IS_IMPLEMENTED = is_implemented CHANGING INSTANCE = badi_hrpaybr_celetista.

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.



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