on 2024 Jul 16 6:34 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.