SAP Reports / Programs

PUSAMTPR SAP ABAP INCLUDE - Procedures







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


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


Text pool values


Title: Procedures


INCLUDES used within this REPORT PUSAMTPR

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_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.



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