PUCSRUN4 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 PUCSRUN4 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: Forms Defination
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
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_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING tclas = 'A' pernr = p0960-pernr infty = '0960' begda = p_date endda = p_date * BYPASS_BUFFER = ' ' * LEGACY_MODE = ' ' * IMPORTING * SUBRC = TABLES infty_tab = p0960 EXCEPTIONS infty_not_found = 1 OTHERS = 2.
HR_GETEMPLOYEEDATA_FROMUSER CALL FUNCTION 'HR_GETEMPLOYEEDATA_FROMUSER' EXPORTING username = sy-uname * VALIDBEGIN = SY-DATUM IMPORTING employeenumber = lv_pernr2 EXCEPTIONS user_not_found = 1 countrygrouping_not_found = 2 infty_not_found = 3 OTHERS = 4.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING * TCLAS = 'A' pernr = lv_pernr2 infty = '0105' begda = sy-datum endda = sy-datum TABLES infty_tab = lt_p0105 EXCEPTIONS infty_not_found = 1 OTHERS = 2 .
HR_F4HELP_IN_INTERVAL CALL FUNCTION 'HR_F4HELP_IN_INTERVAL' EXPORTING im_shlpname = 'H_T508A' im_shlpfield = 'SCHKZ' TABLES tab_intf = lt_intf.
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.
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.
CALL FUNCTION 'REPLACE_TEXTSYMBOL' EXPORTING endline = lv_lines startline = 1 TABLES lines = lt_lines.
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'PREAS' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = gv_field value_org = 'S' TABLES value_tab = gt_reason * field_tab = lt_fieldtbl EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'TRFGR' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = gv_field value_org = 'S' TABLES value_tab = gt_trfgr * field_tab = lt_fieldtbl EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'TRFST' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = gv_field value_org = 'S' TABLES value_tab = gt_trfst * field_tab = lt_fieldtbl EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.
DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = 'SAPLHRPADUN_EVE' dynumb = sy-dynnr TABLES dynpfields = lt_dynp_values EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 OTHERS = 9.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p_pernr infty = '0105' begda = sy-datum endda = sy-datum TABLES infty_tab = lt_p0105 EXCEPTIONS infty_not_found = 1 OTHERS = 2.
HR_GETEMPLOYEEDATA_FROMUSER CALL FUNCTION 'HR_GETEMPLOYEEDATA_FROMUSER' EXPORTING username = sy-uname IMPORTING employeenumber = lv_pernr EXCEPTIONS user_not_found = 1 countrygrouping_not_found = 2 infty_not_found = 3 OTHERS = 4.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = lv_pernr infty = '0105' begda = sy-datum endda = sy-datum TABLES infty_tab = lt_p0105 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.
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 PUCSRUN4 or its description.