SAP Reports / Programs | Payroll | Payroll: General Parts | Tools(PY-XX-TL) SAP PY

MPUSTF03 SAP ABAP INCLUDE - Include LHRPAY99_OCF06







MPUSTF03 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 MPUSTF03 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 MPUSTF03. "Basic submit
SUBMIT MPUSTF03 AND RETURN. "Return to original report after report execution complete
SUBMIT MPUSTF03 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 MPUSTF03

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:

RS_TREE_GET_CURRENT_LAYOUT CALL FUNCTION 'RS_TREE_GET_CURRENT_LAYOUT' IMPORTING cursor_column = cucol cursor_line = culin list_column = lcol list_line = llin TABLES layout = layout.

HRPY_PUST_DELETE_HRST1_BUFFER * CALL FUNCTION 'HRPY_PUST_DELETE_HRST1_BUFFER'.

HRPY_PUST_DELETE_HRST1_BUFFER * CALL FUNCTION 'HRPY_PUST_DELETE_HRST1_BUFFER'.

RS_TREE_SET_CURRENT_LAYOUT CALL FUNCTION 'RS_TREE_SET_CURRENT_LAYOUT' EXPORTING cursor_column = cucol cursor_line = culin list_column = lcol list_line = llin TABLES layout = new_nodes.

HRPY_PROCESS_MAINTAIN_MODELL CALL FUNCTION 'HRPY_PROCESS_MAINTAIN_MODELL' EXPORTING imp_modus = 'CONT' imp_processid = h_processid imp_dont_use_ocx = 'X' EXCEPTIONS OTHERS = 0.

HRPY_PROCESS_CONTROL_PROCESS CALL FUNCTION 'HRPY_PROCESS_CONTROL_PROCESS' EXPORTING imp_processid = h_processid imp_parent = cntr_container_graf imp_parent_dynnr = '1001' imp_parent_repid = this_repid imp_disp_mode = model_disp_mode IMPORTING exp_handle = netz_handle exp_viewer = netz_viewer EXCEPTIONS OTHERS = 0.

HRPY_PROCESS_CONTROL_CHG_PROC CALL FUNCTION 'HRPY_PROCESS_CONTROL_CHG_PROC' EXPORTING imp_processid = h_processid imp_viewer = netz_viewer imp_disp_mode = model_disp_mode EXCEPTIONS OTHERS = 0.

HRPY_PROCESS_CONTROL_CHG_PROC CALL FUNCTION 'HRPY_PROCESS_CONTROL_CHG_PROC' EXPORTING imp_processid = h_processid imp_viewer = netz_viewer imp_disp_mode = model_disp_mode EXCEPTIONS OTHERS = 0.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text1 text_question = text2 text_button_1 = text-yes text_button_2 = text-no_ default_button = '2' display_cancel_button = 'X' IMPORTING answer = p_answer EXCEPTIONS OTHERS = 0.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text1 text_question = text2 text_button_1 = text-yes text_button_2 = text-no_ default_button = '2' display_cancel_button = 'X' IMPORTING answer = p_answer EXCEPTIONS OTHERS = 0.

HRPY_PUST_CREATE_PROCESS CALL FUNCTION 'HRPY_PUST_CREATE_PROCESS' IMPORTING processid = p_processid EXCEPTIONS creation_aborted = 1 OTHERS = 2.

RS_TREE_CONSTRUCT CALL FUNCTION 'RS_TREE_CONSTRUCT' EXPORTING insert_id = '000001' relationship = 'CHILD' TABLES nodetab = p_tree EXCEPTIONS OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text1 text_question = text2 text_button_1 = text-yes text_button_2 = text-no_ default_button = '2' display_cancel_button = 'X' IMPORTING answer = p_answer EXCEPTIONS OTHERS = 0.

HRPY_PUST_DELETE_PROCESS CALL FUNCTION 'HRPY_PUST_DELETE_PROCESS' TABLES del_tree = l_del_tree not_deleted = l_not_deleted EXCEPTIONS no_process = 1 canceled = 2 not_all_deleted = 3 OTHERS = 4.

RS_TREE_DELETE_NODE CALL FUNCTION 'RS_TREE_DELETE_NODE' EXPORTING node_id = p_nodetab-id EXCEPTIONS OTHERS = 0.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-cnt text_question = text-con text_button_1 = 'Ja'(yes) text_button_2 = 'Nein'(no_) default_button = '2' display_cancel_button = 'X' IMPORTING answer = p_cont EXCEPTIONS OTHERS = 0.

HRPY_PROCESS_GET_NEXT_RUNID CALL FUNCTION 'HRPY_PROCESS_GET_NEXT_RUNID' EXPORTING imp_processid = p_breakparents-processid imp_stepid = p_breakparents-stepid IMPORTING exp_runid = p_breakparents-runid.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-dl0 text_question = text-dl1 text_button_1 = 'Ja'(yes) text_button_2 = 'Nein'(no_) default_button = '2' display_cancel_button = 'X' IMPORTING answer = p_answer EXCEPTIONS OTHERS = 0.

POPUP_TO_CONFIRM





CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-dl0 text_question = text-dl2 text_button_1 = 'Ja'(yes) text_button_2 = 'Nein'(no_) default_button = '2' display_cancel_button = 'X' IMPORTING answer = p_answer EXCEPTIONS OTHERS = 0.

SWE_EVENT_CREATE CALL FUNCTION 'SWE_EVENT_CREATE' EXPORTING objtype = event_objtype objkey = event_objkey event = event_type start_with_delay = ' ' TABLES event_container = local_container EXCEPTIONS OTHERS = 0.

HRPY_PUST_WRITE_APPL_LOG CALL FUNCTION 'HRPY_PUST_WRITE_APPL_LOG' EXPORTING imp_extnumber = header imp_header_text = text-prl imp_msgno = 838 imp_msgv1 = p_msgv1 imp_msgv2 = p_msgv2 imp_msgv3 = p_msgv3 imp_msgv4 = p_msgv4 EXCEPTIONS OTHERS = 0.

RS_TREE_GET_CURRENT_TREE CALL FUNCTION 'RS_TREE_GET_CURRENT_TREE' TABLES nodeinfo = local_tree.

RS_TREE_SET_NODE CALL FUNCTION 'RS_TREE_SET_NODE' EXPORTING node_info = local_tree EXCEPTIONS OTHERS = 0.

BP_JOB_SELECT CALL FUNCTION 'BP_JOB_SELECT' EXPORTING jobselect_dialog = 'N' jobsel_param_in = p_jobselect enddate = '99991231' endtime = '235959' TABLES jobselect_joblist = p_joblist EXCEPTIONS OTHERS = 6.

BP_JOBLIST_PROCESSOR CALL FUNCTION 'BP_JOBLIST_PROCESSOR' EXPORTING joblist_opcode = '22' TABLES joblist = p_joblist2 EXCEPTIONS OTHERS = 0.

APPL_LOG_DISPLAY CALL FUNCTION 'APPL_LOG_DISPLAY' EXPORTING object = 'HRST' external_number = p_ext_number date_from = p_date time_from = '000000' date_to = sy-datum "#EC DOM_EQUAL time_to = '235959' suppress_selection_dialog = p_suppress_dialog EXCEPTIONS OTHERS = 0.

RS_TREE_GET_CURRENT_LAYOUT CALL FUNCTION 'RS_TREE_GET_CURRENT_LAYOUT' IMPORTING cursor_column = c_col cursor_line = c_row * FIRST_NODE = * FIRST_NODE_TYPE = list_column = l_col list_line = l_row * LAYOUT_MODE = * TABLES * LAYOUT = .

RS_TREE_SET_CURRENT_LAYOUT CALL FUNCTION 'RS_TREE_SET_CURRENT_LAYOUT' EXPORTING cursor_column = p_col cursor_line = p_row list_column = l_col list_line = l_row.

HRPY_PUST_DISPLAY_CONTAINER CALL FUNCTION 'HRPY_PUST_DISPLAY_CONTAINER' EXPORTING imp_processid = t52sps-processid imp_stepid = t52sps-stepid EXCEPTIONS OTHERS = 1.

POPUP_TO_DECIDE_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_DECIDE_WITH_MESSAGE' "#EC * EXPORTING defaultoption = '1' diagnosetext1 = p_text1 diagnosetext2 = p_text2 textline1 = p_text3 textline2 = p_text4 text_option1 = text-ald text_option2 = text-e01 titel = p_title cancel_display = 'X' IMPORTING answer = p_answer.

POPUP_TO_DECIDE_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_DECIDE_WITH_MESSAGE' EXPORTING defaultoption = '1' diagnosetext1 = p_text1 diagnosetext2 = p_text2 textline1 = p_text3 textline2 = p_text4 text_option1 = text-ald text_option2 = text-e01 titel = p_title cancel_display = 'X' IMPORTING answer = p_answer.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = 'SAPMPUST' i_callback_pf_status_set = 'SET_PF_STATUS' i_callback_user_command = 'USER_COMMAND' i_structure_name = 'P_LIST' it_fieldcat = p_fields[] is_layout = p_layout i_screen_start_column = p_cucol i_screen_start_line = p_curow i_screen_end_column = p_encol i_screen_end_line = p_enrow IMPORTING es_exit_caused_by_user = f_answer TABLES t_outtab = p_list EXCEPTIONS OTHERS = 0.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = 'SAPMPUST' i_callback_pf_status_set = 'SET_PF_STATUS' i_callback_user_command = 'USER_COMMAND' i_structure_name = 'P_LIST' it_fieldcat = p_fields[] is_layout = p_layout i_screen_start_column = p_cucol i_screen_start_line = p_curow i_screen_end_column = p_encol i_screen_end_line = p_enrow IMPORTING es_exit_caused_by_user = f_answer TABLES t_outtab = p_list EXCEPTIONS OTHERS = 0.



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