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
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
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.
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
INCLUDE PCTRMLA0_DATA_NON_CE. "YRA
INCLUDE PCTRMLA0_DATA.
INCLUDE PCTRMLA0_SELSCR.
INCLUDE PCTRMLA0_OUTSCR.
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.