SAP Reports / Programs | Payroll | Sweden(PY-SE) SAP PY

RPLTCES0 SAP ABAP Report - Employer´s leaving certificate for private sector







RPLTCES0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use this report to display and print a employer's certificate form for an employee that meets the statutory legal requirements in Sweden for the private sector...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RPLTCES0 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

PC00_M23_RPLTCES0 - Employer's Certificate


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 RPLTCES0. "Basic submit
SUBMIT RPLTCES0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPLTCES0 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_VARIA = Layout Variant
Selection Text: P_TITLE = Title of Job
Selection Text: P_TEST = Test Display
Selection Text: P_SAREA = Statistics Area
Selection Text: P_PRN = Printer
Selection Text: P_PLANED = Planned Termination
Selection Text: P_HIRE = Mark NO for Active EE to hire
Selection Text: P_FORML = Form Name
Selection Text: P_FNAME = PDF Form Name
Selection Text: P_ENDDA = To
Selection Text: P_CONTR = Other Companies Can Contract
Selection Text: P_COMPEN = Compensation for Termination
Selection Text: P_BEGDA = Working Time Dates From
Title: Employer´s leaving certificate for private sector
Text Symbol: T01 = The employee has several periods of Leave of absence.
Text Symbol: FR4 = Percentage Sickness
Text Symbol: FR3 = Program Control
Text Symbol: FR2 = Configuration
Text Symbol: FR1 = Display Options
Text Symbol: E03 = No time data for
Text Symbol: E02 = Error when filling wage type table
Text Symbol: E01 = Error when adjusting hours in AB for part-time
Text Symbol: 003 = Work capacity percentage
Text Symbol: 002 = Termination During
Text Symbol: 001 = Employer's Certificate - Test Display


INCLUDES used within this REPORT RPLTCES0

INCLUDE RPCREPS0.
INCLUDE RPCREPS1.


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:

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_alv_header.

RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' TABLES pphifi = lt_hifi pp0000 = p0000 pp0001 = p0001.

HR_ENTRY_DATE CALL FUNCTION 'HR_ENTRY_DATE' EXPORTING persnr = pernr-pernr endda = p_end IMPORTING entrydate = lv_hdate EXCEPTIONS entry_date_not_found = 1 pernr_not_assigned = 2 OTHERS = 3.

SUSR_USER_ADDRESS_READ CALL FUNCTION 'SUSR_USER_ADDRESS_READ' EXPORTING user_name = sy-uname IMPORTING user_address = ls_user EXCEPTIONS user_address_not_found = 1 OTHERS = 2.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = '23ANS' struc_content = ls_pme01 IMPORTING back = lv_contract_type 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_PCLX_INIT_BUFFER CALL FUNCTION 'HR_PCLX_INIT_BUFFER'.

CU_READ_RGDIR CALL FUNCTION 'CU_READ_RGDIR' "Read RGDIR, Cluster CU EXPORTING persnr = pernr-pernr TABLES in_rgdir = lt_rgdir EXCEPTIONS no_record_found = 1 OTHERS = 2.

PYXX_READ_RGDIR_PAYRESULTS CALL FUNCTION 'PYXX_READ_RGDIR_PAYRESULTS' EXPORTING clusterid = 'RS' employeenumber = pernr-pernr TABLES rgdir = lt_rgdir imported_periods = lt_resu EXCEPTIONS import_error = 1.

HR_TIME_RESULTS_GET CALL FUNCTION 'HR_TIME_RESULTS_GET' EXPORTING get_pernr = pernr-pernr get_pabrj = lv_pabrj get_pabrp = lv_pabrp TABLES get_zes = lt_zes get_zl = lt_zl EXCEPTIONS no_period_specified = 1 wrong_cluster_version = 2 no_read_authority = 3 cluster_archived = 4 technical_error = 5 OTHERS = 6.

RP_FILL_WAGE_TYPE_TABLE_EXT CALL FUNCTION 'RP_FILL_WAGE_TYPE_TABLE_EXT' EXPORTING pernr = pernr-pernr infty = '0008' subty = p0008-subty objps = p0008-objps begda = p0008-begda endda = p0008-endda dlspl = ' ' "XPSN159482 TABLES ppbwla = lt_pbwla pp0001 = p0001 pp0007 = p0007 pp0008 = p0008 EXCEPTIONS error_at_indirect_evaluation = 1.

SLS_MISC_GET_LAST_DAY_OF_MONTH CALL FUNCTION 'SLS_MISC_GET_LAST_DAY_OF_MONTH' EXPORTING day_in = p_fired IMPORTING last_day_of_month = p_to.

HR_FEATURE_BACKFIELD * CALL FUNCTION 'HR_FEATURE_BACKFIELD' * EXPORTING * feature = '23PGC' * struc_content = ls_pme99 * kind_of_error = space * IMPORTING * back = lv_prof * 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_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING FEATURE = 'SZUBT' STRUC_CONTENT = org_data IMPORTING BACK = lv_key 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.

FP_FUNCTION_MODULE_NAME CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' EXPORTING i_name = p_fname IMPORTING e_funcname = fm_name.

FP_JOB_OPEN CALL FUNCTION 'FP_JOB_OPEN' CHANGING ie_outputparams = fp_outputparams EXCEPTIONS cancel = 1 usage_error = 2 system_error = 3 internal_error = 4 OTHERS = 5.

FP_JOB_CLOSE CALL FUNCTION 'FP_JOB_CLOSE' EXCEPTIONS usage_error = 1 system_error = 2 internal_error = 3 OTHERS = 4.



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