SAP Reports / Programs | Payroll | Payroll: General Parts | Reuse Services for Country Development(PY-XX-RS) SAP PY

HLACTRM0 SAP ABAP Report - Termination







HLACTRM0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Termination program This program performs all necessary actions required for the termination of an employee or group of employees, either in test or update mode...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 HLACTRM0 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_M32_TRM0 - Termination driver
PC00_M38_TRM0 - Termination Colombia
PC00_M39_TRM0 - Termination Chile
PC00_M17_TRM0 - Termination Venezuela
PC00_M17_UPSA0 - Profit share payments to retired EEs
PC00_M37_TRM0 - Termination driver
PC00_M29_TRM0 - Termination driver


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


Text pool values


Title: Termination
Text Symbol: 310 = Termination type required
Text Symbol: 315 = Termination date required
Text Symbol: 320 = Requested paydate required
Text Symbol: 400 = Termination Spools
Text Symbol: 401 = Termination Log
Text Symbol: 402 = List of Spools generated by termination report HLACTRM0
Text Symbol: 403 = Spool Nr.
Text Symbol: 404 = Identifier
Text Symbol: 405 = Description
Text Symbol: NIL = At least one main process must be selected
Text Symbol: P01 = Adding employee to the list ...
Text Symbol: P02 = Generating infotypes ...
Text Symbol: P03 = Initializing payroll ...
Text Symbol: Q01 = Do you want to fill the additional paymts section
Text Symbol: Q02 = with the payroll results of the termination?
Text Symbol: TB1 = General Control
Text Symbol: TB2 = Additional paymts.
Text Symbol: TB3 = Payroll control
Text Symbol: TB4 = Time Management
Text Symbol: TB5 = Additional Parameters
Text Symbol: TX1 = Payment
Text Symbol: TX2 = Termination Paym. Date
Text Symbol: TX3 = Days
Text Symbol: TX4 = Before/After
Text Symbol: 300 = Select only one employee
Text Symbol: 010 = This program cannot be executed directly
Text Symbol: 015 = No user parameter MOL has been set
Text Symbol: 030 = Choose a valid country
Text Symbol: 098 = Invalid variant for country
Text Symbol: 099 = Invalid country
Text Symbol: 110 = Shows termination Log
Text Symbol: 111 = Term. Log
Text Symbol: 120 = Shows termination payments
Text Symbol: 121 = Payments
Text Symbol: 130 = Shows payroll Log
Text Symbol: 131 = Payroll Log
Text Symbol: 140 = Shows termination letter





Text Symbol: 141 = Letter
Text Symbol: 150 = Print termination letters
Text Symbol: 151 = Print letters
Text Symbol: 160 = Shows Time Mngmt Log
Text Symbol: 161 = Time Log
Text Symbol: 163 = No successfully terminated employees
Text Symbol: 170 = Shows Total payments
Text Symbol: 171 = Grand Total payments
Text Symbol: 185 = Termination letters
Text Symbol: 186 = sent to the printer queue
Text Symbol: 200 = Termination payments
Text Symbol: 201 = Termination payments for pers.number
Text Symbol: 202 = Total payments for termination


INCLUDES used within this REPORT HLACTRM0

INCLUDE PCTRMLA0_DATA_NON_CE. "YRA
INCLUDE PCTRMLA0_DATA.
INCLUDE PCTRMLA0_SELSCR.
INCLUDE PCTRMLA0_OUTSCR.


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:

H99L_SEL_MOLGA CALL FUNCTION 'H99L_SEL_MOLGA' EXPORTING pernr = pernr-pernr begda = pn-begda endda = pn-endda check_molga = g_molga EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = ind_text PERCENTAGE = 100 EXCEPTIONS OTHERS = 0.

DEQUEUE_EPPRELE CALL FUNCTION 'DEQUEUE_EPPRELE' EXPORTING PERNR = pernr-pernr.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = ind_text PERCENTAGE = 100 EXCEPTIONS OTHERS = 0.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = ind_text PERCENTAGE = 100 EXCEPTIONS OTHERS = 0.



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