SAP Reports / Programs | Payroll(PY) SAP PY

PCSSSCO0 SAP ABAP INCLUDE - documentation and ABAP source code







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

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_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_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = c_trainin_feature struc_content = wpbp kind_of_error = space IMPORTING back = lc_back * CHANGING * STATUS = * EXCEPTIONS * DUMMY = 1 * ERROR_OPERATION = 2 * NO_BACKVALUE = 3 * FEATURE_NOT_GENERATED = 4 * INVALID_SIGN_IN_FUNID = 5 * FIELD_IN_REPORT_TAB_IN_PE03 = 6 * OTHERS = 7 .

HR_FEATURE_BACKTABLE CALL FUNCTION 'HR_FEATURE_BACKTABLE' EXPORTING feature = c_percent_feature * struc_content = wpbp struc_content = ls_wpbp kind_of_error = space TABLES back = lc_back.

HRCO_RETRIEVE_T511K_BY_MOLGA CALL FUNCTION 'HRCO_RETRIEVE_T511K_BY_MOLGA' EXPORTING p_molga = pco00_molga p_begda = p_endda p_endda = p_endda TABLES local_t511k = lc_local_t511k * EXCEPTIONS * NOT_FOUND = 1 * OTHERS = 2 .

HRCO_IS_LAST_PERIOD_OF_MONTH CALL FUNCTION 'HRCO_IS_LAST_PERIOD_OF_MONTH' EXPORTING pg_abkrs = aper-abkrs pg_pabrj = aper-paper-pabrj pg_pabrp = aper-paper-pabrp IMPORTING is_last = lc_last_period 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.

HRCO_IS_LAST_PERIOD_OF_MONTH CALL FUNCTION 'HRCO_IS_LAST_PERIOD_OF_MONTH' EXPORTING pg_abkrs = aper-abkrs pg_pabrj = aper-paper-pabrj pg_pabrp = aper-paper-pabrp IMPORTING is_last = lc_last_period EXCEPTIONS error = 1 OTHERS = 2.

HRCO_RETRIEVE_T7CO08 CALL FUNCTION 'HRCO_RETRIEVE_T7CO08' EXPORTING p_typli = 'S' p_begda = aper-begda p_endda = aper-endda TABLES local_t7co08 = lc_it_t7co08 * EXCEPTIONS * NOT_FOUND = 1 * OTHERS = 2 .

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = pcoss_feature_groupfsp struc_content = pcofs kind_of_error = space IMPORTING back = lc_back * CHANGING * STATUS = * EXCEPTIONS * DUMMY = 1 * ERROR_OPERATION = 2 * NO_BACKVALUE = 3 * FEATURE_NOT_GENERATED = 4 * INVALID_SIGN_IN_FUNID = 5 * FIELD_IN_REPORT_TAB_IN_PE03 = 6 * OTHERS = 7 .

HRCO_RETRIEVE_T7CO08 CALL FUNCTION 'HRCO_RETRIEVE_T7CO08' EXPORTING p_typli = 'P' p_begda = aper-begda p_endda = aper-endda TABLES local_t7co08 = lc_it_t7co08.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = pcoss_feature_groupfsb struc_content = pcofs kind_of_error = space IMPORTING back = lc_back.

HRCO_RETRIEVE_T7CO03 CALL FUNCTION 'HRCO_RETRIEVE_T7CO03' TABLES local_t7co03 = lc_t7co03 * EXCEPTIONS * NOT_FOUND = 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.

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 .

DAYS_BETWEEN_TWO_DATES CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES' EXPORTING i_datum_bis = p_endda i_datum_von = p_begda i_kz_excl_von = '1' i_kz_incl_bis = '1' i_kz_ult_bis = '1' i_kz_ult_von = '1' i_stgmeth = '4' i_szbmeth = '1' IMPORTING e_tage = p_days * EXCEPTIONS * DAYS_METHOD_NOT_DEFINED = 1 * OTHERS = 2 .

HR_PAYROLL_PERIODS_GET CALL FUNCTION 'HR_PAYROLL_PERIODS_GET' EXPORTING get_begda = p0834-endva get_endda = p0834-endva get_permo = aper-permo IMPORTING get_pabrj = lc_pabrj get_pabrp = lc_pabrp.

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.

HRCO_GET_PERIODS_FOR_MONTH CALL FUNCTION 'HRCO_GET_PERIODS_FOR_MONTH' EXPORTING aper = aper TABLES p_periods = lt_periods.

PYXX_READ_PAYROLL_RESULT





CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT' EXPORTING clusterid = t500l-relid employeenumber = pernr-pernr sequencenumber = lt_rgdir-seqnr read_only_international = ' ' check_read_authority = ' ' CHANGING payroll_result = lt_results EXCEPTIONS OTHERS = 1.



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