SAP Reports / Programs | Plant Maintenance | Preventive Maintenance | Maintenance Task Lists(PM-PRM-TL) SAP PM

MWPSTLHMI02 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

OM_GUI_RESET_USER_COMMAND CALL FUNCTION 'OM_GUI_RESET_USER_COMMAND'.

WPSTLH_CHECK_AENNR CALL FUNCTION 'WPSTLH_CHECK_AENNR' EXPORTING I_AENNR = SAV_AENNR I_STTAG = SAV_STTAG I_PLNTY = SELECTED_PLKOD-PLNTY I_PLNNR = SELECTED_PLKOD-PLNNR I_PLNAL = SELECTED_PLKOD-PLNAL EXCEPTIONS KEYDATE_NOT_VALID = 1 CHANGE_NUMBER_ERROR = 2 OTHERS = 3.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING TITLEBAR = TEXT-011 TEXT_QUESTION = TEXT-010 DEFAULT_BUTTON = '1' DISPLAY_CANCEL_BUTTON = CON_X POPUP_TYPE = 'ICON_MESSAGE_WARNING' IMPORTING ANSWER = HLP_ANSW.

CP_TX_UPDATE CALL FUNCTION 'CP_TX_UPDATE' EXPORTING PLNAW = TCA01-PLNAW OBJECT = 'A' RC27I_OLD = RC27I RC27I_NEW = RC27I.

OM_GUI_USER_COMMAND_SET CALL FUNCTION 'OM_GUI_USER_COMMAND_SET' EXPORTING USER_COMMAND = OK_CODE EXCEPTIONS NO_VALID_USER_COMMAND = 01.

OM_GUI_USER_COMMAND_PROCESS CALL FUNCTION 'OM_GUI_USER_COMMAND_PROCESS'.



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