PUSAMTPR 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 PUSAMTPR 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: Procedures
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HR_INFOTYPE_OPERATION call function 'HR_INFOTYPE_OPERATION' exporting infty = gc_infty_0290 subtype = p_subty number = ls_p0290-pernr record = ls_p0290 operation = lc_create_infotype importing return = lv_return.
HR_INFOTYPE_OPERATION call function 'HR_INFOTYPE_OPERATION' exporting infty = lc_infty_0861 subtype = p0861-subty number = p0861-pernr validitybegin = p0861-begda validityend = p0861-endda record = p0861 operation = lc_delete_infotype importing return = lv_return.
HR_RU_GET_PERNR_NAME call function 'HR_RU_GET_PERNR_NAME' exporting i_pernr = pernr i_begda = p0861-begda i_endda = p0861-endda importing e_cname = ls_pers-fio.
ENQUEUE_E_TABLEE call function 'ENQUEUE_E_TABLEE' exporting mode_rstable = 'E' tabname = ls_tables_list exceptions foreign_lock = 1 system_failure = 2 others = 3.
HR_EMPLOYEE_ENQUEUE call function 'HR_EMPLOYEE_ENQUEUE' exporting number = iv_pernr importing return = cv_return locking_user = cv_locking_user.
HR_EMPLOYEE_DEQUEUE call function 'HR_EMPLOYEE_DEQUEUE' exporting number = iv_pernr.
REUSE_ALV_GRID_DISPLAY call function 'REUSE_ALV_GRID_DISPLAY' exporting i_callback_program = sy-cprog i_callback_pf_status_set = 'PF_STATUS_SET' i_callback_user_command = 'USER_COMMAND' it_events = lt_events[] i_structure_name = is_structure is_layout = ls_layout importing es_exit_caused_by_user = gs_exit_caused_by_user tables t_outtab = it_table[].
POPUP_WITH_TABLE call function 'POPUP_WITH_TABLE' exporting endpos_col = 33 endpos_row = 9 startpos_col = 4 startpos_row = 7 titletext = text-isa tables valuetab = lt_valuetab exceptions break_off = 1 others = 2.
REUSE_ALV_COMMENTARY_WRITE call function 'REUSE_ALV_COMMENTARY_WRITE' exporting it_list_commentary = lt_lines.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.