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

RMIAPL60 SAP ABAP Report - Material Where-Used List for Task Lists







RMIAPL60 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 RMIAPL60 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

IP62 - Material Where-Used List: Task Lists


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 RMIAPL60. "Basic submit
SUBMIT RMIAPL60 AND RETURN. "Return to original report after report execution complete
SUBMIT RMIAPL60 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: PM_IDNRK = Material
Selection Text: PM_DATUV = Date valid from
Selection Text: PM_DATUB = Valid-to date
Selection Text: PM_PLNST = Task list status
Selection Text: VARIANT = List version
Selection Text: TYP_IFL = Functional location task list
Selection Text: TYP_EQU = Equipment task list
Selection Text: TYP_ANL = General task list
Selection Text: STATUS = Task list status
Selection Text: PM_WERKS = Planning plant
Selection Text: PM_POSTP = Item category
Title: Material Where-Used List for Task Lists
Text Symbol: 009 = Functional location task list
Text Symbol: 010 = Material where-used list in task list
Text Symbol: 700 = **** LINES 701, 702, 703 are one sentence.
Text Symbol: 701 = Cancel processing for all
Text Symbol: 702 = the objects selected that
Text Symbol: 703 = have not yet been processed?
Text Symbol: 704 = List editing canceled
Text Symbol: 008 = Equipment task list
Text Symbol: 001 = Material where-used list in task list
Text Symbol: 002 = Task list type selection
Text Symbol: 003 = Selection Parameters
Text Symbol: 004 = Material where-used list
Text Symbol: 005 = Material - use in
Text Symbol: 006 = Usage of material:
Text Symbol: 007 = General task list
Text Symbol: 705 = No
Text Symbol: 706 = Y
Text Symbol: ANZ = Number
Text Symbol: SON = Others


INCLUDES used within this REPORT RMIAPL60

INCLUDE MIOLXTOP.
INCLUDE MIOLXF14.
INCLUDE MIOLXF16.


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:

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = 'Materialverwendung'(004).

CS_WHERE_USED_MAT CALL FUNCTION 'CS_WHERE_USED_MAT' EXPORTING datub = pm_datub datuv = pm_datuv matnr = pm_idnrk postp = pm_postp stlan = '' "pm_stlan werks = '*' "pm_werks IMPORTING topmat = selpool TABLES wultb = ltb equicat = equicat kndcat = kndcat matcat = matcat stdcat = stdcat tplcat = tplcat EXCEPTIONS call_invalid = 1 material_not_found = 2 no_where_used_rec_found = 3 no_where_used_rec_selected = 4 no_where_used_rec_valid = 5.

CI20_CALL_BADI_COMP_PROCESSING CALL FUNCTION 'CI20_CALL_BADI_COMP_PROCESSING' EXPORTING i_task_list_header = plko IMPORTING e_correction_active = correction_active.

MARC_READ_FOR_PM CALL FUNCTION 'MARC_READ_FOR_PM' EXPORTING material_imp = pm_idnrk werk_imp = pm_werks EXCEPTIONS plant_not_found = 1 text_not_found = 2 material_not_found = 3 other_error = 4 lvorm_set = 5 OTHERS = 6.



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