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

MIOLALVD SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

WPLAN_AUTHORITY_CHECK CALL FUNCTION 'WPLAN_AUTHORITY_CHECK' EXPORTING i_wa_mpla = mpla i_tcode = 'IP10' EXCEPTIONS benutzerstamm_fehlerhaft = 1 keine_berechtigung = 2 keine_berechtigung_anz = 3 keine_berechtigung_hinz = 4 keine_berechtigung_ver = 5 kein_profil_im_bstamm = 6 objekt_nicht_in_bstamm = 7 OTHERS = 8.

CM_F_MESSAGE CALL FUNCTION 'CM_F_MESSAGE' EXPORTING arbgb = 'IP' msgnr = '622' msgty = 'I' msgv1 = mpla-warpl.

DATE_GET_WEEK CALL FUNCTION 'DATE_GET_WEEK' EXPORTING date = wa_alv-nplda IMPORTING week = lv_cal_week EXCEPTIONS date_invalid = 1 OTHERS = 2.

CR_WORKSTATION_READ CALL FUNCTION 'CR_WORKSTATION_READ' EXPORTING id = avg_tab-avg2-arbid IMPORTING arbpl = wa_alv-vrg_arbpl EXCEPTIONS not_found = 01.

CI03_READ_PLKO CALL FUNCTION 'CI03_READ_PLKO' EXPORTING i_plnty = wa_alv-plnty i_plnnr = wa_alv-plnnr i_plnal = wa_alv-plnal i_date = sy-datum IMPORTING e_plko = ls_plko.

CR_WORKSTATION_READ CALL FUNCTION 'CR_WORKSTATION_READ' EXPORTING id = wa_aplid IMPORTING arbpl = wa_gewrk.



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