PCOPECO0 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 PCOPECO0 into the relevant SAP transactions such as SE38 or SE80
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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RP_CALC_DATE_IN_INTERVAL CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL' EXPORTING date = aper-endda days = 00 months = 00 signum = '-' years = 01 IMPORTING calc_date = lc_bdate.
HRCO_DAYS_BETWEEN_TWO_DATES CALL FUNCTION 'HRCO_DAYS_BETWEEN_TWO_DATES' EXPORTING begda = lc_bdate endda = aper-endda modif = modif-mod0a divisor30 = gl_swco-divisor30 disabilities = 'X' IMPORTING days = lc_tage TABLES p0001 = p0001 coabs = coabs it_t7co07 = it_t7co07 EXCEPTIONS error = 1 OTHERS = 2.
HR_DETERMINE_BEG_END_OF_PERIOD CALL FUNCTION 'HR_DETERMINE_BEG_END_OF_PERIOD' EXPORTING det_permo = p_permo det_date = p_bdate IMPORTING det_begda = lc_begper det_endda = lc_endper EXCEPTIONS customizing_error = 1 OTHERS = 2.
HR_DETERMINE_BEG_END_OF_PERIOD CALL FUNCTION 'HR_DETERMINE_BEG_END_OF_PERIOD' EXPORTING det_permo = p_permo det_date = p_edate IMPORTING det_begda = lc_begper det_endda = lc_endper EXCEPTIONS customizing_error = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.