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

PCSEGBR0 SAP ABAP INCLUDE - Include LHRPAYBR98F07







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

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:

DDUT_DOMVALUES_GET CALL FUNCTION 'DDUT_DOMVALUES_GET' EXPORTING name = 'PBR_CIVIL' langu = sy-langu TABLES dd07v_tab = dd07v_tab EXCEPTIONS illegal_input = 1 OTHERS = 2.

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_pn_endda IMPORTING cgc = cgc cei = cei comp_name = p_header-comp_name comp_addr = comp_addr EXCEPTIONS branch_not_found = 1 address_not_found = 2 company_not_found = 3 general_data_not_found = 4 OTHERS = 5.

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

HR_ENTRY_DATE CALL FUNCTION 'HR_ENTRY_DATE' EXPORTING persnr = p_pernr_pernr IMPORTING entrydate = p_hire_date TABLES entry_dates = it_entry_date EXCEPTIONS entry_date_not_found = 1 pernr_not_assigned = 2 OTHERS = 3.

HR_LEAVING_DATE CALL FUNCTION 'HR_LEAVING_DATE' EXPORTING persnr = p_pernr_pernr IMPORTING leavingdate = p_fire_date TABLES leaving_dates = it_leaving_date EXCEPTIONS leaving_date_not_found = 1 pernr_not_assigned = 2 OTHERS = 3.

HR_BR_READ_WAGETYPE * CALL FUNCTION 'HR_BR_READ_WAGETYPE' * EXPORTING * p_abart = pbr99_all_abart * p_wtype = wt_lic_medica_mens * IMPORTING * p_value = betrg * p_waers = waers * TABLES * i_it = p_rt * EXCEPTIONS * wagetype_not_found = 1 * OTHERS = 2.

HR_BR_READ_WAGETYPE * CALL FUNCTION 'HR_BR_READ_WAGETYPE' * EXPORTING * p_abart = pbr99_all_abart * p_wtype = wt_lic_medica_med * IMPORTING * p_value = betrg * p_waers = waers * TABLES * i_it = p_rt * EXCEPTIONS * wagetype_not_found = 1 * OTHERS = 2.

HR_BR_READ_WAGETYPE * CALL FUNCTION 'HR_BR_READ_WAGETYPE' * EXPORTING * p_abart = pbr99_all_abart * p_wtype = wt_lic_medica_hora * IMPORTING * p_value = betrg * p_waers = waers * TABLES * i_it = p_rt * EXCEPTIONS * wagetype_not_found = 1 * OTHERS = 2.

HR_BR_READ_WAGETYPE * CALL FUNCTION 'HR_BR_READ_WAGETYPE' * EXPORTING * p_abart = pbr99_all_abart * p_wtype = wt_lic_matern_mens * IMPORTING * p_value = betrg * p_waers = waers * TABLES * i_it = p_rt * EXCEPTIONS * wagetype_not_found = 1 * OTHERS = 2.

HR_BR_READ_WAGETYPE * CALL FUNCTION 'HR_BR_READ_WAGETYPE' * EXPORTING * p_abart = pbr99_all_abart * p_wtype = wt_lic_matern_med * IMPORTING * p_value = betrg * p_waers = waers * TABLES * i_it = p_rt * EXCEPTIONS * wagetype_not_found = 1 * OTHERS = 2.

HR_BR_READ_WAGETYPE * CALL FUNCTION 'HR_BR_READ_WAGETYPE' * EXPORTING * p_abart = pbr99_all_abart * p_wtype = wt_lic_matern_hora * IMPORTING * p_value = betrg * p_waers = waers * TABLES * i_it = p_rt * EXCEPTIONS * wagetype_not_found = 1 * OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = pernr-pernr infty = '0000' TABLES infty_tab = p_0000 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_BR_TABELA_MOT CALL FUNCTION 'HR_BR_TABELA_MOT' EXPORTING tmedd = msmassn mmedd = msmassg date = p_pnpendda IMPORTING preno = preno fgtfl = fgtfl EXCEPTIONS table_error = 1 OTHERS = 2.

HRCA_READ_BANK_ADDRESS_2 CALL FUNCTION 'HRCA_READ_BANK_ADDRESS_2' EXPORTING bank_country = banks bank_number = bankl IMPORTING bank_data = p_bnka_bf EXCEPTIONS not_found = 1 OTHERS = 2.

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.



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