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

PCTRSFBR0 SAP ABAP INCLUDE - documentation and ABAP source code







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

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_APPEND_PERNR_MESSAGE CALL FUNCTION 'HR_BR_APPEND_PERNR_MESSAGE' EXPORTING pernr_number = gv_pernr message_id = 'HRPAYBR94' message_type = 'E' message_number = '277' 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 = gv_pernr message_id = 'HRPAYBR99' message_type = 'E' message_number = '266' 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 = pv_pernr message_id = pbr99_errid message_type = 'E' message_number = '045' 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_errid message_type = 'E' message_number = '049' message_var1 = space message_var2 = space message_var3 = space message_var4 = space.

HR_BR_GET_FILIAL_PER_AREA CALL FUNCTION 'HR_BR_GET_FILIAL_PER_AREA' EXPORTING p_werks = pv_werks p_btrtl = pv_btrtl IMPORTING bukrs = cv_company-bukrs branch = cv_company-branch obra = cv_company-obra EXCEPTIONS no_link_areas = 1 no_group_found = 2 OTHERS = 3.

HR_BR_APPEND_PERNR_MESSAGE CALL FUNCTION 'HR_BR_APPEND_PERNR_MESSAGE' EXPORTING pernr_number = pv_pernr message_id = pbr99_errid message_type = 'E' message_number = 030 message_var1 = pv_werks message_var2 = pv_btrtl message_var3 = space message_var4 = space.

HR_BR_APPEND_PERNR_MESSAGE CALL FUNCTION 'HR_BR_APPEND_PERNR_MESSAGE' EXPORTING pernr_number = pv_pernr message_id = pbr99_errid message_type = 'E' message_number = 031 message_var1 = pv_werks message_var2 = pv_btrtl message_var3 = space message_var4 = space.

HR_BR_LER_FILIAL_GERAL CALL FUNCTION 'HR_BR_LER_FILIAL_GERAL' EXPORTING company_code = cv_company-bukrs branch = cv_company-branch obra = cv_company-obra date = pv_endda IMPORTING cgc = cv_company-cnpj cei = cv_company-cei comp_name = cv_company-comp_name EXCEPTIONS branch_not_found = 1 address_not_found = 2 company_not_found = 3 general_data_not_found = 4 OTHERS = 5.

HR_BR_APPEND_PERNR_MESSAGE CALL FUNCTION 'HR_BR_APPEND_PERNR_MESSAGE' EXPORTING pernr_number = pv_pernr message_id = pbr99_errid message_type = 'E' message_number = 009 message_var1 = cv_company-branch message_var2 = space message_var3 = space message_var4 = space.

HR_BR_APPEND_PERNR_MESSAGE CALL FUNCTION 'HR_BR_APPEND_PERNR_MESSAGE' EXPORTING pernr_number = pv_pernr message_id = pbr99_errid message_type = 'E' message_number = 016 message_var1 = cv_company-bukrs message_var2 = space message_var3 = space message_var4 = space.

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'.

HR_BR_DISPLAY_LOG CALL FUNCTION 'HR_BR_DISPLAY_LOG' EXPORTING sw_prot = abap_true.

HR_BR_APPEND_PERNR_MESSAGE CALL FUNCTION 'HR_BR_APPEND_PERNR_MESSAGE' EXPORTING pernr_number = ls_msg-pernr message_id = ls_msg-msgid message_type = ls_msg-msgty message_number = ls_msg-msgno message_var1 = ls_msg-msgv1 message_var2 = ls_msg-msgv2 message_var3 = ls_msg-msgv3 message_var4 = ls_msg-msgv4.

HR_READ_TIMEDATA_PSP CALL FUNCTION 'HR_READ_TIMEDATA_PSP' EXPORTING begin_date = pv_begda end_date = pv_endda person_id = pernr-pernr TABLES pers_avail = lt_pers_avail EXCEPTIONS no_capacity_available = 1 no_integration_activ = 2 timeinfo_error = 3 OTHERS = 4.

HR_TIME_RESULTS_GET CALL FUNCTION 'HR_TIME_RESULTS_GET' EXPORTING get_pernr = pernr-pernr get_pabrj = lv_year get_pabrp = lv_month TABLES get_ab = lt_abaux get_zes = lt_zes get_anwes = lt_anwesaux get_pt = lt_ptaux EXCEPTIONS no_period_specified = 1 wrong_cluster_version = 2 no_read_authority = 3 cluster_archived = 4 technical_error = 5 OTHERS = 6.



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