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

PCABSBR0 SAP ABAP INCLUDE - documentation and ABAP source code







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

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_SEPARA_AUSENCIAS call function 'HR_BR_SEPARA_AUSENCIAS' EXPORTING mod0a = modif-mod0a sw_log = sw_prot TABLES ab = ab.

HR_BR_DIAS_AFASTAMENTO call function 'HR_BR_DIAS_AFASTAMENTO' EXPORTING begda = aper-begda endda = aper-endda perno = pernr-pernr sw_prot = sw_prot moabw = t001p-moabw IMPORTING dias_afast = dias_afast EXCEPTIONS nao_encontrado = 1 outros = 2.

HR_BR_APPEND_WAGETYPE call function 'HR_BR_APPEND_WAGETYPE' EXPORTING p_wtype = pbr99_wt_12th_gt15 p_abart = pbr99_all_abart p_value1 = 1 " One more 1/12th earned sw_prot = sw_prot TABLES i_it = it.

HR_BR_APPEND_WAGETYPE call function 'HR_BR_APPEND_WAGETYPE' EXPORTING p_wtype = pbr99_wt_12th_afast p_abart = pbr99_all_abart p_value1 = 1 sw_prot = sw_prot TABLES i_it = it.

HR_BR_APPEND_WAGETYPE call function 'HR_BR_APPEND_WAGETYPE' EXPORTING p_wtype = pbr99_wt_worked_days p_abart = pbr99_all_abart p_value1 = dias_trabalhados " Worked days in the period TABLES i_it = it.

HR_BR_DIAS_AFASTAMENTO call function 'HR_BR_DIAS_AFASTAMENTO' EXPORTING begda = aper-begda endda = fim_do_mes perno = pernr-pernr sw_prot = sw_prot moabw = t001p-moabw IMPORTING dias_afast = dias_afast EXCEPTIONS nao_encontrado = 1 outros = 2.

HR_BR_DIAS_AFASTAMENTO call function 'HR_BR_DIAS_AFASTAMENTO' EXPORTING begda = aper-begda endda = fim_do_mes perno = pernr-pernr sw_prot = sw_prot moabw = t001p-moabw IMPORTING dias_afast = dias_afast EXCEPTIONS nao_encontrado = 1 outros = 2.

HR_BR_APPEND_WAGETYPE call function 'HR_BR_APPEND_WAGETYPE' EXPORTING p_wtype = pbr99_wt_12th_gt15 p_abart = pbr99_all_abart p_value1 = 1 " One more 1/12th earned sw_prot = sw_prot TABLES i_it = it.

HR_BR_APPEND_WAGETYPE call function 'HR_BR_APPEND_WAGETYPE' EXPORTING p_wtype = pbr99_wt_12th_afast p_abart = pbr99_all_abart p_value1 = 1 sw_prot = sw_prot TABLES i_it = it.

HR_BR_APPEND_WAGETYPE call function 'HR_BR_APPEND_WAGETYPE' EXPORTING p_wtype = pbr99_wt_worked_days p_abart = pbr99_all_abart p_value1 = dias_trabalhados " Worked days in the period sw_prot = sw_prot TABLES i_it = it.

HR_BR_GET_OPERATIONAL_DATE call function 'HR_BR_GET_OPERATIONAL_DATE' exporting p_date = aper-chkdt bondt = aper-bondt occat = aper-occat iabkrs = aper-iabkr ipabrj = aper-iaper-pabrj ipabrp = aper-iaper-pabrp sw_prot = sw_prot sw_aufrollung = sw_aufrollung legal_entity = 0 pabkrs = aper-abkrs ppabrj = aper-paper-pabrj ppabrp = aper-paper-pabrp aper_begda = aper-endda aper_endda = aper-begda payty = payty * Offcycle type B ibegd = aper-ibegd importing chkdt = pay_date.

HR_BR_VERIFICA_TIPO_AUSENCIA call function 'HR_BR_VERIFICA_TIPO_AUSENCIA' exporting moabw = t001p-moabw subty = ab-awart paydate = pay_date importing * TIPO_AUSENCIA = avos_decter = decter exceptions ausencia_nao_encontrada = 1 others = 2.

HR_BR_APPEND_WAGETYPE CALL FUNCTION 'HR_BR_APPEND_WAGETYPE' EXPORTING p_wtype = pbr99_wt_abono p_abart = ab-abart p_apznr = ab-apznr p_abznr = ab-abznr "[note 424093] p_value1 = ort-anzhl sw_prot = sw_prot TABLES i_it = it.

HR_BR_APPEND_WAGETYPE CALL FUNCTION 'HR_BR_APPEND_WAGETYPE' EXPORTING p_wtype = pbr99_wt_dif_abono p_abart = ab-abart p_apznr = ab-apznr p_abznr = ab-abznr "[note 424093] p_value1 = ort-anzhl sw_prot = sw_prot TABLES i_it = it.

HR_BR_APPEND_WAGETYPE CALL FUNCTION 'HR_BR_APPEND_WAGETYPE' EXPORTING p_wtype = pbr99_wt_dif_abonomd p_abart = ab-abart p_apznr = ab-apznr * p_abznr = ab-abznr "[note 424093] p_value1 = ort-anzhl sw_prot = sw_prot p_v0typ = v0-v0typ "[note 572646] p_v0znr = v0-v0znr "[note 572646] TABLES i_it = it.

HR_BR_APPEND_WAGETYPE call function 'HR_BR_APPEND_WAGETYPE' EXPORTING p_wtype = pbr99_wt_abono p_abart = wpbp-abart p_apznr = wpbp-apznr p_value1 = lrt-anzhl sw_prot = sw_prot TABLES i_it = it.

HR_BR_APPEND_WAGETYPE call function 'HR_BR_APPEND_WAGETYPE' EXPORTING p_wtype = pbr99_wt_dif_abono p_abart = wpbp-abart p_apznr = wpbp-apznr p_value1 = lrt-anzhl sw_prot = sw_prot TABLES i_it = it.

HR_BR_APPEND_WAGETYPE call function 'HR_BR_APPEND_WAGETYPE' EXPORTING p_wtype = pbr99_wt_dif_abonomd p_abart = wpbp-abart p_apznr = wpbp-apznr p_value1 = lrt-anzhl sw_prot = sw_prot TABLES i_it = it.

HR_BR_APPEND_WAGETYPE





call function 'HR_BR_APPEND_WAGETYPE' EXPORTING p_wtype = pbr99_wt_frozen_sal p_abart = it-abart p_apznr = it-apznr p_value3 = it-betrg sw_prot = sw_prot TABLES i_it = it.

HR_BR_APPEND_WAGETYPE call function 'HR_BR_APPEND_WAGETYPE' EXPORTING p_wtype = pbr99_wt_frozen_ave p_abart = it-abart p_apznr = it-apznr p_value3 = it-betrg sw_prot = sw_prot TABLES i_it = it.

HR_BR_APPEND_WAGETYPE call function 'HR_BR_APPEND_WAGETYPE' EXPORTING p_wtype = pbr99_wt_hrs_normais p_abart = wpbp-abart p_value1 = horas_trabalhadas p_apznr = wpbp-apznr sw_prot = sw_prot TABLES i_it = it.

HR_BR_APPEND_WAGETYPE call function 'HR_BR_APPEND_WAGETYPE' EXPORTING p_wtype = pbr99_wt_hrs_feriado p_abart = wpbp-abart p_value1 = horas_feriado sw_prot = sw_prot TABLES i_it = it.

HR_BR_LE_TIPO_AUSENCIA call function 'HR_BR_LE_TIPO_AUSENCIA' EXPORTING moabw = '37' tipoa = pbr06_tipoa_ferias paydate = p_date CHANGING t_absences = vacations_absence EXCEPTIONS ausencia_nao_encontrada = 1 others = 2.

CD_SELECT_DATE_RANGE call function 'CD_SELECT_DATE_RANGE' EXPORTING fpper_begda = l_begda fpper_endda = l_endda TABLES in_rgdir = rgdir out_rgdir = p_selected_rgdir.



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