SAP Reports / Programs | Payroll(PY) SAP PY

HPLC6580 SAP ABAP Report - Report for IT0658 fields







HPLC6580 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 HPLC6580 into the relevant SAP transactions such as SE38 or SE80


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 HPLC6580. "Basic submit
SUBMIT HPLC6580 AND RETURN. "Return to original report after report execution complete
SUBMIT HPLC6580 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: YEAR = Year
Selection Text: TEST = Test run (no update)
Selection Text: LIMIT30 = Unlimited amounts
Title: Report for IT0658 fields
Text Symbol: S02 = Additional settings
Text Symbol: 309 = Ub.Wyp. >lim.
Text Symbol: 308 = Month
Text Symbol: 307 = Limit
Text Symbol: 306 = Ubezp. Spol.
Text Symbol: 305 = Sk³. w nat.
Text Symbol: 304 = Sk³. inne
Text Symbol: 303 = Sk³. zmienne
Text Symbol: 302 = Sk³. sta³e
Text Symbol: 301 = Name
Text Symbol: 212 = Dod.Ub. wyp
Text Symbol: 211 = Podst ER
Text Symbol: 210 = Bonus2
Text Symbol: 209 = Bonus1
Text Symbol: 208 = Included
Text Symbol: 207 = Limit
Text Symbol: 206 = Amount
Text Symbol: 205 = Group
Text Symbol: 204 = In period
Text Symbol: 203 = For period
Text Symbol: 202 = Pay date
Text Symbol: 201 = Wage type
Text Symbol: 200 = Pernr


INCLUDES used within this REPORT HPLC6580

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_GET_PNP_ERROR_LIST call function 'HR_PL_PY_GET_PNP_ERROR_LIST'. "OT14113079

CU_READ_RGDIR call function 'CU_READ_RGDIR' exporting persnr = pernr-pernr importing molga = molga tables in_rgdir = rgdir exceptions no_record_found = 1 others = 2.

HR_PL_PY_EVP call function 'HR_PL_PY_EVP' exporting per_beg = pn-begda per_end = endda1 mode = 1 view = 0 * view = 1 prepare_grossdown = 'X' tables in_rgdir = rgdir out_evp = evp out_evpx = evpx exceptions invalid_period = 1 no_record_found = 2 others = 3 .

HR_PL_PY_GROSSDOWN_INIT call function 'HR_PL_PY_GROSSDOWN_INIT' exporting gro_pernr = pernr-pernr gro_cluster_id = import_relid * TABLES * GET_GD_ZUS = * GET_GD_PIT = * GET_GD_ZDR = TABLES "1299777 GET_GD_ZUS = EVAL_GD_ZUS "1299777 exceptions no_results = 1 evp_not_perpared = 2 others = 3 .

HR_PCLX_INIT_BUFFER * CALL FUNCTION 'HR_PCLX_INIT_BUFFER'.

HR_IMPORT_RGDIR_FROM_PCLX * CALL FUNCTION 'HR_IMPORT_RGDIR_FROM_PCLX' * EXPORTING * EMPLOYEE_NUMBER = PERNR-PERNR * CLUSTER_ID = IMPORT_RELID * TABLES * IMPORT_RGDIR = EVP * EXCEPTIONS * NO_RESULTS = 1 * NO_READ_AUTHORITY = 2 * OTHERS = 3.

PYXX_READ_PAYROLL_RESULT call function 'PYXX_READ_PAYROLL_RESULT' exporting clusterid = import_relid employeenumber = pernr sequencenumber = evpx-seqnr * read_only_international = 'X' changing payroll_result = result exceptions illegal_isocode_or_clusterid = 1 error_generating_import = 2 import_mismatch_error = 3 subpool_dir_full = 4 no_read_authority = 5 no_record_found = 6 versions_do_not_match = 7 others = 8.

HR_PL_PY_BONUS_BEGDA_ENDDA CALL FUNCTION 'HR_PL_PY_BONUS_BEGDA_ENDDA' EXPORTING BTYPE = rt_all-prc74(1) ANZHL = rt-anzhl CHANGING ENDDA = ld_fpend EXCEPTIONS INVALID_DATA = 1 OTHERS = 2.

HR_PL_PY_GROSSDOWN_CALC_2 call function 'HR_PL_PY_GROSSDOWN_CALC_2' exporting con_inseq = rt_all-inseq con_betrg = rt_all-betrg con_zus = rt_all-zussp con_tax = rt_all-taxsp * CON_SEQNR = importing con_netto = netto .

HR_PL_PY_CLASS_VALUE CALL FUNCTION 'HR_PL_PY_CLASS_VALUE' EXPORTING LGART = p_lgart LGART_CLASS = '74' PROCESSING_CLASS = 'X' LDATE = pn-endda IMPORTING VALUE = prclass .

HR_PL_PY_CLASS_VALUE CALL FUNCTION 'HR_PL_PY_CLASS_VALUE' EXPORTING LGART = p_lgart LGART_CLASS = '13' PROCESSING_CLASS = ' ' LDATE = p_fpend IMPORTING VALUE = p_evc_13.

HR_INFOTYPE_OPERATION call function 'HR_INFOTYPE_OPERATION' exporting infty = '0658' number = pp0658-pernr subtype = pp0658-subty validityend = pp0658-endda validitybegin = pp0658-begda record = pp0658 operation = mode "'INS' * nocommit = 'X' dialog_mode = '1' " if error than with dialog importing return = return key = pakey.

REUSE_ALV_LIST_DISPLAY call function 'REUSE_ALV_LIST_DISPLAY' exporting *is_layout = g_alv_layout *is_print = g_print i_save = 'A' i_callback_program = g_repid it_fieldcat = gt_fieldcat[] tables t_outtab = alv_rt_all.

REUSE_ALV_LIST_DISPLAY call function 'REUSE_ALV_LIST_DISPLAY' exporting *is_layout = g_alv_layout *is_print = g_print i_save = 'A' i_callback_program = g_repid i_callback_user_command = 'ALV_USER_COMMAND' it_fieldcat = gt_fieldcat[] it_events = gt_alv_events[] tables t_outtab = it0658_fields.

BAPI_EMPLOYEE_ENQUEUE call function 'BAPI_EMPLOYEE_ENQUEUE' exporting number = pernr-pernr importing return = return_struc.

HR_APPEND_ERROR_LIST call function 'HR_APPEND_ERROR_LIST' exporting pernr = pernr-pernr arbgb = 'RP' msgty = 'E' msgno = '002'.

BAPI_EMPLOYEE_DEQUEUE call function 'BAPI_EMPLOYEE_DEQUEUE' exporting number = pernr-pernr.

DB_LOCAL_TIME call function 'DB_LOCAL_TIME' "store start time.

HR_PL_REFRESH_STAT_LIST





call function 'HR_PL_REFRESH_STAT_LIST'.

HR_REFRESH_ERROR_LIST call function 'HR_REFRESH_ERROR_LIST'.

HR_PL_APPEND_STAT_LIST call function 'HR_PL_APPEND_STAT_LIST' exporting selected = 0 processed = 0 rejected = 1.

HR_PL_APPEND_STAT_LIST call function 'HR_PL_APPEND_STAT_LIST' exporting selected = 0 processed = 1 rejected = 0.

HR_PL_DISPLAY_STAT_LIST call function 'HR_PL_DISPLAY_STAT_LIST' exporting linesize = 80 exceptions invalid_linesize = 1 others = 2.

HR_DISPLAY_ERROR_LIST call function 'HR_DISPLAY_ERROR_LIST' exporting no_popup = 'X' no_print = ' ' * NO_IMG = ' ' * NO_MSGNO = 'X' * linesize = 80 "14113079 linesize = 100 "14113079 * LISTHEADER = ' ' * COLHEADER = ' ' * HIDEMSG = ' ' * TABLES * ERROR = exceptions invalid_linesize = 1 others = 2 .

HR_PL_APPEND_STAT_LIST call function 'HR_PL_APPEND_STAT_LIST' exporting selected = 1 processed = 0 rejected = 0.

DB_LOCAL_TIME call function 'DB_LOCAL_TIME' importing time = uzeit_now.

SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting percentage = progress text = progress_text.

HR_APPEND_ERROR_LIST call function 'HR_APPEND_ERROR_LIST' exporting pernr = p0001-pernr arbgb = 'HR001PL' msgty = 'E' msgno = '068'.

HR_APPEND_ERROR_LIST call function 'HR_APPEND_ERROR_LIST' exporting pernr = p0001-pernr arbgb = p_id msgty = p_ty msgno = p_no msgv1 = p_v1 msgv2 = p_v2 msgv3 = p_v3 msgv4 = p_v4.

HR_PL_PY_CLASS_INIT CALL FUNCTION 'HR_PL_PY_CLASS_INIT' EXPORTING LGART_CLASS = '74' PROCESSING_CLASS = 'X' REFRESH_BUFFER = ' '.

HR_PL_PY_CLASS_INIT CALL FUNCTION 'HR_PL_PY_CLASS_INIT' EXPORTING LGART_CLASS = '13' PROCESSING_CLASS = ' ' REFRESH_BUFFER = ' '.

PYXX_READ_PAYROLL_RESULT CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT' EXPORTING clusterid = import_relid employeenumber = pernr-pernr sequencenumber = rt_all-inseq CHANGING payroll_result = ss_result EXCEPTIONS OTHERS = 8.



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