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

PSGUSPLD SAP ABAP INCLUDE - documentation and ABAP source code







PSGUSPLD is a standard ABAP INCLUDE 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 PSGUSPLD 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 PSGUSPLD. "Basic submit
SUBMIT PSGUSPLD AND RETURN. "Return to original report after report execution complete
SUBMIT PSGUSPLD VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT PSGUSPLD

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:

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 = z12_data.

HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' EXPORTING no_popup = 'X' no_print = space linesize = 80 EXCEPTIONS invalid_linesize = 1 OTHERS = 2.

C14A_POPUP_LIST_DISPLAY

HR_PL_C14A_POPUP_LIST_DISPLAY * CALL FUNCTION 'C14A_POPUP_LIST_DISPLAY' CALL FUNCTION 'HR_PL_C14A_POPUP_LIST_DISPLAY' EXPORTING i_callback = 'Z_12_CALLBACK' i_callback_program = repname i_title = buffor i_col = 40 i_row = 2 i_width = 40 i_height = 24.

HR_PL_GET_SENIO_LENGTH CALL FUNCTION 'HR_PL_GET_SENIO_LENGTH' EXPORTING xpernr = person-pernr sen_date = end_test_date sencd = senio_cd * IN_BUFF = IMPORTING years = yy months = mm days = dd .

HR_PL_GET_SENIO_LENGTH CALL FUNCTION 'HR_PL_GET_SENIO_LENGTH' EXPORTING xpernr = person-pernr sen_date = end_test_date sencd = senio_cd * IN_BUFF = IMPORTING years = yy months = mm days = dd.

HR_PL_DOWNLOAD CALL FUNCTION 'HR_PL_DOWNLOAD' EXPORTING filename = fn * APPEND = ' ' ext_code_page = 'windows-1250' crlf = 'X' * FMODE = 'ASC' * FSIZE = 0 * IMPORTING * FILELENGTH = TABLES data_tab = z12_lines EXCEPTIONS file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 no_authority = 5 unknown_error = 6 header_not_allowed = 7 separator_not_allowed = 8 filesize_not_allowed = 9 header_too_long = 10 dp_error_create = 11 dp_error_send = 12 dp_error_write = 13 unknown_dp_error = 14 access_denied = 15 dp_out_of_memory = 16 disk_full = 17 dp_timeout = 18 file_not_found = 19 dataprovider_exception = 20 control_flush_error = 21 invalid_filesize = 22 customer_error = 23 OTHERS = 24 .

CU_READ_RGDIR CALL FUNCTION 'CU_READ_RGDIR' EXPORTING persnr = p_pernr IMPORTING molga = molga TABLES in_rgdir = rgdir EXCEPTIONS no_record_found = 1 OTHERS = 2.

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 "CM2838138 employee_number = p_pernr "CM2838138 cluster_id = 'PL' 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 = 'PL' employeenumber = p_pernr sequencenumber = evp-seqnr * READ_ONLY_BUFFER = ' ' * READ_ONLY_INTERNATIONAL = ' ' 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_PERSONAL_WORK_SCHEDULE CALL FUNCTION 'HR_PERSONAL_WORK_SCHEDULE' EXPORTING pernr = pernr-pernr begda = p_begda endda = p_endda kug = 'ALL' * REFRESH = 'X' * WORKING_HOURS = 'X' * SWITCH_ACTIV = * MODIFY_ENTRIES = 'X' * I0001_I0007_ERROR = '0' TABLES * i0000 = i0000 i0001 = p0001 * i0002 = i0002 i0007 = p0007 * i0049 = * i2001 = i2001 * i2002 = i2002 i2003 = p2003 perws = pws EXCEPTIONS error_occured = 1 abort_occured = 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 PSGUSPLD or its description.