SAP Reports / Programs | Payroll(PY) SAP PY

PCEVSCO0 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

HRCO_GET_PERIODS_FOR_MONTH CALL FUNCTION 'HRCO_GET_PERIODS_FOR_MONTH' EXPORTING aper = aper TABLES p_periods = gt_periods_month EXCEPTIONS error = 1 OTHERS = 2.

HR_PAYROLL_PERIOD_GET CALL FUNCTION 'HR_PAYROLL_PERIOD_GET' EXPORTING payroll_area = aper-abkrs date = aper-begda IMPORTING payroll_year = lc_pabrj payroll_period = lc_pabrp EXCEPTIONS OTHERS = 0.

HR_PAYROLL_PERIOD_GET CALL FUNCTION 'HR_PAYROLL_PERIOD_GET' EXPORTING payroll_area = aper-iabkr date = aper-ibegd IMPORTING payroll_year = lc_pabrj payroll_period = lc_pabrp EXCEPTIONS OTHERS = 0.

HRCO_GET_PERIODS_FOR_MONTH CALL FUNCTION 'HRCO_GET_PERIODS_FOR_MONTH' EXPORTING aper = aper TABLES p_periods = lv_periods EXCEPTIONS error = 1 OTHERS = 2.

BAPI_CURRENCY_GETDECIMALS CALL FUNCTION 'BAPI_CURRENCY_GETDECIMALS' EXPORTING currency = pco00_cuky IMPORTING currency_decimals = lt_curdec return = lv_return.

HRCO_RETRIEVE_T7CO10 CALL FUNCTION 'HRCO_RETRIEVE_T7CO10' EXPORTING p_begda = aper-begda p_endda = aper-endda TABLES local_t7co10 = it_t7co10 EXCEPTIONS not_found = 1 OTHERS = 2.

HRCO_RETRIEVE_T7CO27 CALL FUNCTION 'HRCO_RETRIEVE_T7CO27' TABLES local_t7co27 = it_t7co27 EXCEPTIONS not_found = 1 OTHERS = 2.

HRCO_RETRIEVE_T7CO29 CALL FUNCTION 'HRCO_RETRIEVE_T7CO29' TABLES local_t7co29 = it_t7co29 EXCEPTIONS not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING * TCLAS = 'A' pernr = pernr-pernr infty = '2001' begda = '18000101' endda = '99991231' * IMPORTING * SUBRC = TABLES infty_tab = p_p2001 EXCEPTIONS infty_not_found = 1 OTHERS = 2 .

HRCO_GET_PERIODS_FOR_MONTH CALL FUNCTION 'HRCO_GET_PERIODS_FOR_MONTH' EXPORTING aper = aper TABLES p_periods = lc_periods EXCEPTIONS error = 1 OTHERS = 2.

HRCO_LAST_DAY_OF_MONTHS CALL FUNCTION 'HRCO_LAST_DAY_OF_MONTHS' EXPORTING day_in = p_gl_first_day_of_month IMPORTING last_day_of_month = p_gl_last_day_of_month EXCEPTIONS day_in_no_date = 1 OTHERS = 2.

HRCO_DAYS_BETWEEN_TWO_DATES CALL FUNCTION 'HRCO_DAYS_BETWEEN_TWO_DATES' EXPORTING begda = lc_bdate endda = lc_edate modif = modif-mod0a divisor30 = gl_swco-divisor30 disabilities = ' ' IMPORTING days = lc_workdays TABLES p0001 = p0001 coabs = coabs it_t7co07 = it_t7co07.

RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' EXPORTING beg = low-date end = aper-endda IMPORTING hire_date = datum1 fire_date = datum2 TABLES pp0000 = p0000 "input pp0001 = p0001 "input pphifi = phifi. "output

RP_FILL_WAGE_TYPE_TABLE CALL FUNCTION 'RP_FILL_WAGE_TYPE_TABLE' EXPORTING appli = 'E' begda = startdat endda = enddat infty = '0008' * OBJPS = P0008-OBJPS pernr = persnr * SUBTY = P0008-SUBTY TABLES * PP0001 = P0001 * PP0008 = P0008 ppbwla = ppbwla "output EXCEPTIONS error_at_indirect_evaluation = 1.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING * TCLAS = 'A' pernr = pernr-pernr infty = '0302' * BEGDA = '18000101' * ENDDA = '99991231' * BYPASS_BUFFER = ' ' * LEGACY_MODE = ' ' * IMPORTING * SUBRC = TABLES infty_tab = lc_p0302 * EXCEPTIONS * INFTY_NOT_FOUND = 1 * OTHERS = 2 .



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