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

HPLTJUB1 SAP ABAP Report - Computing anniversary for a given seniority







HPLTJUB1 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 HPLTJUB1 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_TJUB1 - Anniv. calc. for diff. service type


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 HPLTJUB1. "Basic submit
SUBMIT HPLTJUB1 AND RETURN. "Return to original report after report execution complete
SUBMIT HPLTJUB1 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: SEL2 = For seniority in the company
Selection Text: SEL1 = For seniority outside company
Selection Text: SEL = Seniority type
Selection Text: CHD = Years
Title: Computing anniversary for a given seniority
Text Symbol: 031 = Anniversary cannot be computed before hire date
Text Symbol: 030 = Summary
Text Symbol: 029 = Testing period
Text Symbol: 028 = on day
Text Symbol: 027 = Anniversary
Text Symbol: 026 = Seniority anniversary
Text Symbol: 025 = For seniority in the company
Text Symbol: 024 = For seniority outside company
Text Symbol: 023 = For anniversary award
Text Symbol: 022 = For total seniority
Text Symbol: 021 = For leave entitlement
Text Symbol: 020 = Present employment
Text Symbol: 019 = Absence
Text Symbol: 018 = Altogether
Text Symbol: 017 = Together
Text Symbol: 016 = For seniority in the company
Text Symbol: 015 = For seniority outside company
Text Symbol: 014 = Employer
Text Symbol: 013 = To
Text Symbol: 012 = From
Text Symbol: 011 = years for seniority:
Text Symbol: 010 = Anniversary
Text Symbol: 009 = Anniversary date
Text Symbol: 008 = Hire date
Text Symbol: 007 = Missing data in infotype I0041
Text Symbol: 006 = Years Months Days
Text Symbol: 005 = Number of seniority days.
Text Symbol: 004 = Seniority type
Text Symbol: 003 = Pernr
Text Symbol: 002 = Name
Text Symbol: 001 = The date was not specified.


INCLUDES used within this REPORT HPLTJUB1

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_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_JUB_2 CALL FUNCTION 'HR_PL_JUB_2' EXPORTING XPERNR = pernr-pernr BEG_DATE = DATE_FROM SENCD = SEL-LOW XYEARS = years * XMONTHS = 0 * IN_BUFF = END_DATE = DATE_TO IMPORTING XJUB_DATE = HIRE_DATE_BIASED * CHANGING * XRC = EXCEPTIONS ANNIVERSARY_BEFORE = 1 ANNIVERSARY_AFTER = 2 OTHERS = 3 .

RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' * EXPORTING * BEG = '18000101' * END = '99991231' IMPORTING * FIRE_DATE = HIRE_DATE = HIRE_DATE TABLES PPHIFI = PHIFI PP0000 = P0000 PP0001 = P0001 .

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.

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 = list EXCEPTIONS program_error = 1.

HR_PL_DISPLAY_SEN_PROTOCOL CALL FUNCTION 'HR_PL_DISPLAY_SEN_PROTOCOL' EXPORTING XPERNR = list-pernr XSENDA = LIST-ANV_DATE XSENCD = sel-low TABLES XP0001 = P0001.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = header_alv.



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