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

MIOLALVI SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

REUSE_ALV_GRID_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_GRID_LAYOUT_INFO_GET' IMPORTING et_fieldcat = cat.

REUSE_ALV_GRID_LAYOUT_INFO_SET CALL FUNCTION 'REUSE_ALV_GRID_LAYOUT_INFO_SET' EXPORTING it_fieldcat = cat.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = text-300 IMPORTING answer = answer.

CONVERSION_EXIT_TPLNR_INPUT CALL FUNCTION 'CONVERSION_EXIT_TPLNR_INPUT' "1356421 EXPORTING "1356421 INPUT = wa_alv-tplnr "1356421 IMPORTING "1356421 OUTPUT = lv_tplnr "1356421 EXCEPTIONS "1356421 NOT_FOUND = 1 "1356421 OTHERS = 2. "1356421

BETRVORG_MP_AUTHORITY_CHECK * CALL FUNCTION 'BETRVORG_MP_AUTHORITY_CHECK' * EXPORTING * betrvorg = y_st_vrgng_inaz * msgtyp = 'I' * mptyp = wpk_tab-mptyp * IMPORTING * retcode = l_rc.

POPUP_TO_CONFIRM_STEP * CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' * EXPORTING * textline1 = text-171 * titel = text-170 * cancel_display = ' ' * IMPORTING * answer = answer * EXCEPTIONS * OTHERS = 1.

BETRVORG_MP_AUTHORITY_CHECK * CALL FUNCTION 'BETRVORG_MP_AUTHORITY_CHECK' * EXPORTING * betrvorg = y_st_vrgng_inaz * msgtyp = 'I' * mptyp = wpk_tab-mptyp * IMPORTING * retcode = l_rc.

POPUP_TO_CONFIRM_STEP * CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' * EXPORTING * textline1 = text-172 * titel = text-170 * cancel_display = ' ' * IMPORTING * answer = answer * EXCEPTIONS * OTHERS = 1.

POPUP_TO_DECIDE_LIST * CALL FUNCTION 'POPUP_TO_DECIDE_LIST' * EXPORTING * start_col = 10 * start_row = 10 ** MARK_FLAG = 'X' * mark_max = 1 * textline1 = text-150 * textline2 = text-151 * titel = text-155 * IMPORTING * answer = answer * TABLES * t_spopli = spopli_tab * EXCEPTIONS * not_enough_answers = 01 * too_much_answers = 02 * too_much_marks = 03.

BETRVORG_MP_AUTHORITY_CHECK * CALL FUNCTION 'BETRVORG_MP_AUTHORITY_CHECK' * EXPORTING * betrvorg = y_st_vrgng_inak * msgtyp = 'I' * mptyp = wpk_tab-mptyp * IMPORTING * retcode = l_rc.

BETRVORG_MP_AUTHORITY_CHECK * CALL FUNCTION 'BETRVORG_MP_AUTHORITY_CHECK' * EXPORTING * betrvorg = y_st_vrgng_lvms * msgtyp = 'I' * mptyp = wpk_tab-mptyp * IMPORTING * retcode = l_rc.

POPUP_TO_DECIDE * CALL FUNCTION 'POPUP_TO_DECIDE' * EXPORTING * defaultoption = '1' * textline1 = text-121 * textline2 = text-122 * textline3 = text-123 * text_option1 = text-124 * text_option2 = text-125 * titel = text-126 * IMPORTING * answer = answer.

IWP3_WRITE_CHANGEDOC_MPLAN * CALL FUNCTION 'IWP3_WRITE_CHANGEDOC_MPLAN' * EXPORTING * i_ind_update = 'V' * TABLES * i_impla = impla_tab * i_immpt = immpt * i_impos = impos_tab.

IWP3_WRITE_CHANGEDOC_MHIS * CALL FUNCTION 'IWP3_WRITE_CHANGEDOC_MHIS' * TABLES * i_imhis = l_imhis_tab.

IWP3_WRITE_CHANGEDOC_MHIO * CALL FUNCTION 'IWP3_WRITE_CHANGEDOC_MHIO' * TABLES * i_newmhio = l_mhio_tab.

MAINTENANCE_PLAN_POST * CALL FUNCTION 'MAINTENANCE_PLAN_POST' IN UPDATE TASK * EXPORTING * x_xaktyp = 'V' * TABLES * imhis = imhis_tab * impla = impla_tab * impos = impos_tab * immpt = immpt.

CO_IH_VB_MHIO_POST * CALL FUNCTION 'CO_IH_VB_MHIO_POST' * TABLES * mhio_t = mhio_tab * EXCEPTIONS * OTHERS = 1.



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