SAP Reports / Programs

MPLAN_TEST_CONSISTENCY SAP ABAP Report - Consistency Check Maintenance Plan API







MPLAN_TEST_CONSISTENCY is a standard Executable ABAP Report 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 MPLAN_TEST_CONSISTENCY 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 MPLAN_TEST_CONSISTENCY. "Basic submit
SUBMIT MPLAN_TEST_CONSISTENCY AND RETURN. "Return to original report after report execution complete
SUBMIT MPLAN_TEST_CONSISTENCY VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_MAXENT = Maximum Number of Entries
Selection Text: S_WARPL = D .
Title: Consistency Check Maintenance Plan API
Text Symbol: 001 = Items
Text Symbol: 002 = ILOA data
Text Symbol: 003 = Cycles
Text Symbol: 004 = Status
Text Symbol: 005 = Long Text
Text Symbol: 006 = Object List
Text Symbol: 007 = History Data
Text Symbol: 008 = Releases


INCLUDES used within this REPORT MPLAN_TEST_CONSISTENCY

INCLUDE MPLAN_OBJECT_TYPES.
INCLUDE MPLAN_TEST_SUBROUTINES.


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:

MPLAN_READ_MPLA_MULTIPLE CALL FUNCTION 'MPLAN_READ_MPLA_MULTIPLE' EXPORTING * plan_keys = allow_empty_table = abap_true TABLES headers = lt_mpla.

MPLAN_READ_MULTIPLE CALL FUNCTION 'MPLAN_READ_MULTIPLE' TABLES warpl_read = lt_warpl headers = lt_header return = lt_return.

MPLAN_READ CALL FUNCTION 'MPLAN_READ' EXPORTING mplan = ls_header-warpl * IMPORTING * HEADER = TABLES items = lt_items items_iloa = lt_items_iloa items_object_lists = lt_items_object_lists cycles = lt_cycles status = lt_status longtexts = lt_longtext history = lt_history calls = lt_calls return = lt_return.

MPLAN_BUFFER_CLEAR CALL FUNCTION 'MPLAN_BUFFER_CLEAR' EXPORTING plan = ls_header-warpl.

MPLAN_BUFFER_CLEAR CALL FUNCTION 'MPLAN_BUFFER_CLEAR' EXPORTING item = ls_items-wapos.

MPLAN_READ CALL FUNCTION 'MPLAN_READ' EXPORTING mplan = ls_header-warpl IMPORTING header = ls_header_single TABLES items = lt_items_single items_iloa = lt_items_iloa_single items_object_lists = lt_items_object_lists_single cycles = lt_cycles_single status = lt_status_single longtexts = lt_longtext_single history = lt_history_single calls = lt_calls_single return = lt_return[].

MPLAN_BUFFER_CLEAR CALL FUNCTION 'MPLAN_BUFFER_CLEAR' EXPORTING item = ls_items-wapos.

MPLAN_ITEM_READ CALL FUNCTION 'MPLAN_ITEM_READ' EXPORTING mplan_item = ls_items-wapos IMPORTING item = ls_items item_iloa = ls_items_iloa_item TABLES item_object_list = lt_items_object_lists_item_r longtext = lt_longtext_item_r return = lt_return.



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