SAP Reports / Programs | Personnel Management | Personnel Administration(PA-PA) SAP PA

HPLTSEN3 SAP ABAP Report - Seniority calculation







HPLTSEN3 is a standard Executable ABAP Report 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 HPLTSEN3 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_M46_TSEN3 - Determination of seniority


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 HPLTSEN3. "Basic submit
SUBMIT HPLTSEN3 AND RETURN. "Return to original report after report execution complete
SUBMIT HPLTSEN3 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: SEL_RNG = Seniority code
Selection Text: P_GRTEMP = ALV variant
Selection Text: DATA_WYN = Seniority calculation date
Selection Text: CHD_CB = Update tech. date
Title: Seniority calculation
Text Symbol: 212 = End
Text Symbol: 213 = Desc.
Text Symbol: 214 = Description of processing step
Text Symbol: 215 = Processing step
Text Symbol: 216 = Pernr
Text Symbol: 217 = Seniority calc date
Text Symbol: 218 = Result:
Text Symbol: 219 = Processing step
Text Symbol: 220 = Import infotype
Text Symbol: 221 = Period table
Text Symbol: 222 = Current employer
Text Symbol: 223 = The most favorablest school
Text Symbol: 224 = Lump periods
Text Symbol: 225 = Periods included in calculation
Text Symbol: 226 = Płeć
Text Symbol: 227 = Data urodzenia
Text Symbol: CHD = Additional data
Text Symbol: OPT = Seniority period selection
Text Symbol: 211 = Start
Text Symbol: 001 = The date was not specified.
Text Symbol: 002 = Name
Text Symbol: 003 = Pernr
Text Symbol: 004 = Seniority type
Text Symbol: 005 = Number of seniority days less then zero.
Text Symbol: 006 = Years Months Days
Text Symbol: 007 = Missing data in infotype I0041
Text Symbol: 008 = hire date
Text Symbol: 009 = Seniority for
Text Symbol: 010 = IT0041 refresh failed. PREL key locked.
Text Symbol: 011 = Change technical dates
Text Symbol: 012 = Calculation type
Text Symbol: 200 = Pernr
Text Symbol: 201 = Name





Text Symbol: 202 = Sen. code
Text Symbol: 203 = Sen. desc.
Text Symbol: 204 = Hire date
Text Symbol: 205 = Sen. date
Text Symbol: 206 = Years
Text Symbol: 207 = Months
Text Symbol: 208 = Days
Text Symbol: 209 = Status
Text Symbol: 210 = Err. desc.


INCLUDES used within this REPORT HPLTSEN3

INCLUDE PSSENPL2. "ALL COMMON 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_PL_PY_INIT_REPORT_COUNTER CALL FUNCTION 'HR_PL_PY_INIT_REPORT_COUNTER'. "init progress indicator

HR_PL_PY_UPDATE_REP_STATUS CALL FUNCTION 'HR_PL_PY_UPDATE_REP_STATUS'. "inc progress status

HR_PL_PY_UPDATE_REP_STATUS CALL FUNCTION 'HR_PL_PY_UPDATE_REP_STATUS' EXPORTING PHASE = 1 THRESHOLD = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = repid * i_callback_pf_status_set = 'SET_PF_STATUS' i_callback_user_command = 'USER_COMMAND' * i_callback_top_of_page = 'TOP_OF_PAGE' is_layout = layout_alv it_fieldcat = fieldcat_alv it_sort = sort_alv * it_events = events_alv i_save = 'A' is_variant = variant_alv TABLES t_outtab = alv_data EXCEPTIONS program_error = 1.

HR_PL_DISPLAY_SEN_PROTOCOL CALL FUNCTION 'HR_PL_DISPLAY_SEN_PROTOCOL' EXPORTING XPERNR = alv_data-pernr XSENDA = senda XSENCD = alv_data-SENCD TABLES XP0001 = I0001.

REUSE_ALV_VARIANT_F4 call function 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = ov_template i_save = 'A' IMPORTING e_exit = lv_rc es_variant = ov_template EXCEPTIONS not_found = 1 program_error = 2 others = 3.

REUSE_ALV_VARIANT_EXISTENCE call function 'REUSE_ALV_VARIANT_EXISTENCE' CHANGING cs_variant = ov_template EXCEPTIONS not_found = 1 others = 2.

REUSE_ALV_VARIANT_EXISTENCE call function 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = 'A' CHANGING cs_variant = ov_template EXCEPTIONS not_found = 1 others = 2.

DD_DOMA_GET CALL FUNCTION 'DD_DOMA_GET' EXPORTING domain_name = 'GESCH' langu = sy-langu withtext = 'X' TABLES dd07v_tab_a = lt_taba dd07v_tab_n = lt_tabb EXCEPTIONS illegal_value = 1 op_failure = 2 OTHERS = 3.



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