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

HPLTUPD0 SAP ABAP Report - Revaluation of Attendance/Absence Records using Batch Input POLAND







HPLTUPD0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The program creates a batch input session for revaluating absence and attendance records...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 HPLTUPD0 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_TUPD0 - New absence/attendance record eval.


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 HPLTUPD0. "Basic submit
SUBMIT HPLTUPD0 AND RETURN. "Return to original report after report execution complete
SUBMIT HPLTUPD0 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: UPD2002 = Revaluate attendances
Selection Text: UPD2001 = Revaluate absences
Selection Text: P_TEST = Test
Selection Text: PNOGAP = With no continuity check
Selection Text: PGAP = Only when inconsist. is det.
Selection Text: PANWKO = D Attendance quota type
Selection Text: PABWTG = Only on valuation change
Selection Text: PABWKO = D Absence quota type
Selection Text: MAP-NAME = Session name
Selection Text: ANWES = Attendance type
Selection Text: ABWES = Absence type
Title: Revaluation of Attendance/Absence Records using Batch Input POLAND
Text Symbol: 036 = Valuation of attendance/absence not possible (AWART, BEGDA, ENDDA, SUBRC): (
Text Symbol: 035 = does not belong to the current empl.
Text Symbol: 034 = Period
Text Symbol: 033 = No record in T556B for (SPRSL,MOPGK,MOZKO,KTART): (
Text Symbol: 032 = No record in T503 for (PERSG,PERSK): (
Text Symbol: 031 = No record in T554T for (SPRSL,MOABW,AWART): (
Text Symbol: 030 = No record in T001P for (WERKS,BTRTL): (
Text Symbol: 029 = No record in T554S for (MOABW,SUBTY,BEGDA,ENDDA): (
Text Symbol: 028 = Undefined employee name.
Text Symbol: 027 = No record in the infotype 0002. Period:
Text Symbol: 022 = ____Recently:
Text Symbol: 021 = ____Selected:
Text Symbol: 018 = The number of rejected employees
Text Symbol: 017 = The number of selected employees
Text Symbol: 016 = Error messages
Text Symbol: 015 = Absence/attendance changes
Text Symbol: 013 = No country grouping (M0
Text Symbol: 012 = No personnel area.
Text Symbol: 011 = No record in the infotype 0001. Period:
Text Symbol: 010 = Test
Text Symbol: 009 = Discontin. days
Text Symbol: 008 = Discontin. year
Text Symbol: 007 = Found instead of MOLGA=46:
Text Symbol: 006 = Additional employees selection conditions
Text Symbol: 005 = Number
Text Symbol: 004 = Absence type





Text Symbol: 003 = Personnel number
Text Symbol: 002 = S T A T I S T I C S on absence records to be revaluated
Text Symbol: 001 = T O T A L
004 Personnel number Absence type Number
001 S T A T I S T I C S on Absence Records to be Revaluated


INCLUDES used within this REPORT HPLTUPD0

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_MAPNAME_VERIFY CALL FUNCTION 'HR_MAPNAME_VERIFY' EXPORTING MAPNAME = MAP-NAME REPORTNAME = REPNAME IMPORTING MAPNAME = MAP-NAME.

HR_MAPNAME_VERIFY CALL FUNCTION 'HR_MAPNAME_VERIFY' EXPORTING MAPNAME = MAP-NAME REPORTNAME = REPNAME IMPORTING MAPNAME = MAP-NAME.

BDC_CLOSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP'.

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING TCODE = 'PA30' TABLES DYNPROTAB = BDCDATA.

BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' EXPORTING CLIENT = SY-MANDT GROUP = MAP-NAME KEEP = 'X' "1693451ins USER = SY-UNAME.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = sy-cprog i_structure_name = 'P46_HPLTUPD0' CHANGING ct_fieldcat = lt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

HR_PAL_CREATE_NODE_CATEG CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' EXPORTING i_categ_id = 'UPD' it_fieldcat = lt_fieldcat EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_CREATE_NODE_CATEG CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' EXPORTING i_categ_id = 'MESS' it_fieldcat = lt_fieldcat EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = 'ROOT' i_node_txt = 'Absence/attendance updates'(015) i_categ_id = 'UPD' i_icon = icon_skip IMPORTING e_node_key = gv_node_key_upd EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = 'ROOT' i_node_txt = 'Error messages'(016) i_categ_id = 'MESS' i_icon = icon_message_error_small IMPORTING e_node_key = gv_node_key_mess EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_STATS_MSG_ADD CALL FUNCTION 'HR_PAL_STATS_MSG_ADD' EXPORTING i_node_key = sv_stats_node_key i_stcnt = lv_count i_msgid = 'RP' i_msgty = p_msgty i_msgno = '016' i_msgv1 = p_mess_text IMPORTING e_stats_node_key = sv_stats_node_key EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD_ROW CALL FUNCTION 'HR_PAL_NODE_ADD_ROW' EXPORTING i_node_key = gv_node_key_mess i_row_data = p_alv EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD_ROW CALL FUNCTION 'HR_PAL_NODE_ADD_ROW' EXPORTING i_node_key = gv_node_key_upd i_row_data = p_alv EXCEPTIONS program_error = 1 OTHERS = 2.

DB_LOCAL_TIME CALL FUNCTION 'DB_LOCAL_TIME' IMPORTING time = uzeit_now.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = progress_text.

HR_PAL_LOG_DISPLAY





CALL FUNCTION 'HR_PAL_LOG_DISPLAY' EXCEPTIONS program_error = 1 no_logs = 2 OTHERS = 3.

RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' TABLES pphifi = lt_phifi pp0000 = p0000 pp0001 = p0001 EXCEPTIONS OTHERS = 1.

BDC_CLOSE_GROUP * CALL FUNCTION 'BDC_CLOSE_GROUP'.

HR_ABS_ATT_TIMES_AT_ENTRY CALL FUNCTION 'HR_ABS_ATT_TIMES_AT_ENTRY' EXPORTING pernr = p_pnnnn-pernr awart = p_pnnnn-awart begda = p_pnnnn-begda endda = p_pnnnn-endda IMPORTING abwtg = lv_abwtg TABLES m0000 = p0000 m0001 = p0001 m0002 = p0002 m0007 = p0007 m2001 = p2001 m2002 = p2002 m2003 = p2003 times_per_day = lt_times_per_day CHANGING beguz = lv_beguz enduz = lv_enduz vtken = lv_vtken stdaz = lv_stdaz EXCEPTIONS it0001_missing = 1 customizing_error = 2 error_occurred = 3 end_before_begin = 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 HPLTUPD0 or its description.