PUCSRUN8 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 PUCSRUN8 into the relevant SAP transactions such as SE38 or SE80
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.
Title: Include PUCSRUN8
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = lp_pernr infty = lp_infty begda = lp_date endda = lp_date TABLES infty_tab = lt_prelp EXCEPTIONS infty_not_found = 1 OTHERS = 2.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = lp_pernr infty = lp_infty TABLES infty_tab = lt_prelp EXCEPTIONS infty_not_found = 1 OTHERS = 2.
HR_PL_IMPORT_LOG_FROM_MEMORY CALL FUNCTION 'HR_PL_IMPORT_LOG_FROM_MEMORY' EXPORTING mem_key = gs_memo_key.
HR_PL_DISPLAY_LOG CALL FUNCTION 'HR_PL_DISPLAY_LOG' EXPORTING procl = 'C'.
HR_COPY_TBUFF_TO_BUFFER CALL FUNCTION 'HR_COPY_TBUFF_TO_BUFFER' EXPORTING clusterid = c_un TABLES buffer = tbuff[] buffer_directory = buffer_dir[] EXCEPTIONS OTHERS = 0.
PYXX_READ_PAYROLL_RESULT CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT' EXPORTING clusterid = c_un employeenumber = p_pernr sequencenumber = gv_seq_no read_only_international = c_x CHANGING payroll_result = gt_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.
FP_JOB_OPEN CALL FUNCTION 'FP_JOB_OPEN' CHANGING ie_outputparams = g_fp_outputparams EXCEPTIONS cancel = 1 usage_error = 2 system_error = 3 internal_error = 4 OTHERS = 5.
FP_JOB_CLOSE CALL FUNCTION 'FP_JOB_CLOSE' EXCEPTIONS usage_error = 1 system_error = 2 internal_error = 3 OTHERS = 4.
GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING no_dialog = c_x mode = 'CURRENT' IMPORTING out_parameters = pri_params.
FP_FUNCTION_MODULE_NAME CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' EXPORTING i_name = l_fpname IMPORTING e_funcname = p_fm_name.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p_persno infty = '0105' begda = sy-datum endda = sy-datum TABLES infty_tab = lt_p0105 EXCEPTIONS infty_not_found = 1 OTHERS = 2.
BAPI_USR01DOHR_GETEMPLOYEE CALL FUNCTION 'BAPI_USR01DOHR_GETEMPLOYEE' EXPORTING id = sy-uname IMPORTING * return = ls_return employeenumber = lv_pernr.
SCMS_XSTRING_TO_BINARY CALL FUNCTION 'SCMS_XSTRING_TO_BINARY' EXPORTING buffer = gs_pdf_output-pdf IMPORTING output_length = lv_len TABLES binary_tab = gt_tline.
READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING id = 'ST' language = sy-langu name = gv_mail_body object = 'TEXT' TABLES lines = lt_lines EXCEPTIONS id = 1 language = 2 name = 3 not_found = 4 object = 5 reference_check = 6 wrong_access_to_archive = 7 OTHERS = 8.
REPLACE_TEXTSYMBOL CALL FUNCTION 'REPLACE_TEXTSYMBOL' EXPORTING endline = lv_lines startline = 1 TABLES lines = lt_lines.
READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING id = 'ST' language = sy-langu name = gv_subject object = 'TEXT' TABLES lines = lt_lines EXCEPTIONS id = 1 language = 2 name = 3 not_found = 4 object = 5 reference_check = 6 wrong_access_to_archive = 7 OTHERS = 8.
REPLACE_TEXTSYMBOL CALL FUNCTION 'REPLACE_TEXTSYMBOL' EXPORTING endline = lv_lines startline = 1 TABLES lines = lt_lines.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING * TCLAS = 'A' pernr = p_pernr infty = p_infty * BEGDA = '18000101' * ENDDA = '99991231' * BYPASS_BUFFER = ' ' * LEGACY_MODE = ' ' * IMPORTING * SUBRC = TABLES infty_tab = lt_prelp EXCEPTIONS infty_not_found = 1 OTHERS = 2 .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.