MWPSTLHMO02 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 MWPSTLHMO02 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
CC_CHANGE_NUMBER_READ CALL FUNCTION 'CC_CHANGE_NUMBER_READ' "N486381 EXPORTING "N486381 EAENNR = PLKOD-AENNR "N486381 IMPORTING "N486381 ADATUV = LV_AENNR_DATUV. "N486381
FIELD_SELECTION_MODIFY_ALL CALL FUNCTION 'FIELD_SELECTION_MODIFY_ALL' EXPORTING DYNPROGRUPPE = 'MODI' MODE = 'C' MODULPOOL = 'SAPMWPSTLHM'.
WPSTLH_CHECK_AENNR CALL FUNCTION 'WPSTLH_CHECK_AENNR' EXPORTING i_aennr = rc271-aennr i_sttag = rc271-sttag i_plnty = plkod-plnty i_plnnr = plkod-plnnr i_plnal = plkod-plnal i_no_objdat_pop = 'X' "N1175207 IMPORTING e_sttag = ld_sttag EXCEPTIONS keydate_not_valid = 1 change_number_error = 2 OTHERS = 3.
ENQUEUE_EPPLKO CALL FUNCTION 'ENQUEUE_EPPLKO' EXPORTING plnty = plkod-plnty plnnr = plkod-plnnr EXCEPTIONS foreign_lock = 01 system_failure = 02.
CP_99_PLAN_MESSAGE_SET CALL FUNCTION 'CP_99_PLAN_MESSAGE_SET' EXPORTING msgnr_imp = '004' msgty_imp = 'S' msgv1_imp = plkod-plnnr plnty_imp = plkod-plnty.
CM_F_MESSAGE CALL FUNCTION 'CM_F_MESSAGE' EXPORTING arbgb = 'MC' msgnr = '600' msgty = 'A' EXCEPTIONS OTHERS = 1.
T024A_READ CALL FUNCTION 'T024A_READ' EXPORTING WERKS = PLKOD-WERKS FEVOR = PLKOD-VAGRP IMPORTING STRUCT = T024A.
T357M_READ CALL FUNCTION 'T357M_READ' EXPORTING LANGU = SY-LANGU ANLZU = PLKOD-ANLZU IMPORTING STRUCT = T357M TEXT = T357M_T-ANLZUX EXCEPTIONS NO_ENTRY = 01 NO_TEXT = 02.
T411_READ CALL FUNCTION 'T411_READ' EXPORTING SPRAS = SY-LANGU VERWE = PLKOD-VERWE IMPORTING TEXT = T411T-TXT STRUCT = T411 EXCEPTIONS NO_ENTRY = 01 NO_TEXT = 02.
T412_READ CALL FUNCTION 'T412_READ' EXPORTING SPRAS = SY-LANGU PLNST = PLKOD-STATU IMPORTING TEXT = T412T-TXT.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.