cancel
Showing results for 
Search instead for 
Did you mean: 

Maintenance Plan Call Scheduling type/status

m0004708051
Explorer
0 Kudos
264

Hello Expert

How to get the Maintenance Plan Call Scheduling type/status using table logic ? I want to develop a report which will give me next due maintenance call against the maintenance plan along with scheduling type/status, Maintenance order generated against it. Let me know if the FM is available to get the information.

Please guide 

Regards 

Makarand Gurjar 

sallyxu-cn
Active Participant
0 Kudos
IP19 will do. Navigate to Maintenance item there.

Accepted Solutions (0)

Answers (2)

Answers (2)

RAHEEL_BABAR
Active Contributor

Hi,

Please check MHIS table.

When a call is manually made, an entry of type M is recorded. If the call is scheduled, an entry of type T is recorded. An entry of type N is made for a new start or restart. When a plan starts in cycle, an entry of type Z is created.

Regards

RAHEEL_BABAR_0-1721731722998.png

 

alizamani
Participant
0 Kudos

Hi m0004708051

the function module MPLAN_READ in SAP is used to read maintenance plan data. This function module is part of the Maintenance Plan API and can be used to retrieve detailed information about a maintenance plan, including its header data, items, cycles, status, and history.

Key Parameters of MPLAN_READ
• Importing Parameters:

• MPLAN: Maintenance Plan Number

• LOCK: Set Locks (Boolean)

• WITH_HISTORY: Read Historical Data (Boolean)

• NO_BUFFER: Do Not Read from Buffer (Boolean)

• NO_SI_CONVERSION: Do Not Convert to Issue Units (Boolean)

• MAP_CONFIRMATION_DATE: Fill Confirmation Date from Object (Boolean)

• Exporting Parameters:

• HEADER: Header Data of the Maintenance Plan

• Tables:

• ITEMS: Positions

• ITEMS_ILOA: ILOA Data for Positions

• ITEMS_OBJECT_LISTS: Object Lists for Positions

• CYCLES: Cycle Definitions

• STATUS: Status

• LONGTEXTS: Long Text Lines

• HISTORY: History Table

• CALLS: Maintenance Call Table

• RETURN: Notification Table

• STRATEGY_CYCLES: Cycle Definitions of Strategy

Using these tables may help:
VIMHIO Maintenance items - scheduling records
VIMHIO_IFLOS Maintenance Items - Scheduling Records 
VIMHIS Maintenance Plans - Scheduling Data