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

PCMASBR0 SAP ABAP INCLUDE - documentation and ABAP source code







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

INCLUDE PCCLSBR0.
INCLUDE PCMASBR0_FUAVERA. "CLC


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_PAYROLL_TYPE CALL FUNCTION 'HR_BR_PAYROLL_TYPE' EXPORTING abkrs = aper-abkrs EXCEPTIONS payroll_type_not_supported = 1 OTHERS = 2.

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 = paydate.

HR_BR_LE_TIPO_AUSENCIA CALL FUNCTION 'HR_BR_LE_TIPO_AUSENCIA' EXPORTING moabw = t001p-moabw tipoa = '1' paydate = paydate CHANGING t_absences = tipos_ausencias EXCEPTIONS ausencia_nao_encontrada = 1 OTHERS = 2.

CD_SELECT_DATE_RANGE CALL FUNCTION 'CD_SELECT_DATE_RANGE' EXPORTING fpper_begda = searchdate fpper_endda = aper-chkdt TABLES in_rgdir = rgdir out_rgdir = out_rgdir.

CD_SELECT_SRTZA CALL FUNCTION 'CD_SELECT_SRTZA' EXPORTING record_type = 'A' TABLES in_rgdir = out_rgdir out_rgdir = in_rgdir.

CD_SELECT_VOID CALL FUNCTION 'CD_SELECT_VOID' EXPORTING void_indicator = ' ' TABLES in_rgdir = in_rgdir out_rgdir = out_rgdir.

HR_BR_CUMULATION_ADD CALL FUNCTION 'HR_BR_CUMULATION_ADD' EXPORTING bukrs = wpbp-bukrs paper = p_paper permo = aper-permo begda = aper-begda bondt = aper-bondt parm3 = as-parm3 amt_curr = calc_currency molga = calcmolga TABLES wpbp = wpbp rt = rt crt = crt brcum = brcum brcgc = brcgc EXCEPTIONS error_cumulation = 1 OTHERS = 2.

HR_BR_CUMULATION_SET CALL FUNCTION 'HR_BR_CUMULATION_SET' EXPORTING abkrs = aper-abkrs paper = p_paper"aper-paper on purpose permo = aper-permo begda = aper-begda bondt = aper-bondt payty = aper-payty payid = aper-payid seqnr = aper-seqnr molga = calcmolga fpbeg = aper-pbegd fpend = aper-pendd occat = aper-occat inocr = p_inocr TABLES * WPBP = wpbp " Table not defined rt = rt crt = crt brcum = brcum obrcum = obrcum new_rgdir = new_rgdir local_ptext = ptext local_error_ptext = error_ptext EXCEPTIONS error_cumulation = 1 OTHERS = 2.

HRPY_AV_KEEP_FROZEN_AVERG_ACC CALL FUNCTION 'HRPY_AV_KEEP_FROZEN_AVERG_ACC' EXPORTING aper = aper TABLES braverage = braverage old_braverage = obraverage.

HR_BR_DETECT_JUPER_CHANGE CALL FUNCTION 'HR_BR_DETECT_JUPER_CHANGE' EXPORTING admin = admin in = in IMPORTING out = out TABLES pp0000 = p0000 pp0001 = p0001 EXCEPTIONS pass_exception = 1 OTHERS = 2.

RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' EXPORTING beg = of_begda_in end = of_endda_in IMPORTING fire_date = of_fire_date hire_date = of_hire_date TABLES pphifi = phifi pp0000 = p0000 pp0001 = p0001 EXCEPTIONS OTHERS = 1.

CD_READ_DATE_RANGE CALL FUNCTION 'CD_READ_DATE_RANGE' EXPORTING begda = ocr_begda endda = ocr_endda sel_void = '*' TABLES rgdir = rgdir out_rgdir = sel_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 PCMASBR0 or its description.