on 04-22-2014 3:32 AM
Hi SAP Gurus ,
Hope most of you had a Good Easter Vacation.
We have the following requirements from our Client , which seems to be Non -Std SAP Preventive Maintenance Requirements .
(With Std SAP , the description in PM order comes from Maintenance Item description)
(Even If I create A inspection , B Inspection , C Inspection etc as Mntce Activity Types , I can assigne only one Mntce Activity Types to
a Maintenance Item of Maintenance Plan, which will be defaulted in preventive maintenance Order generated )
Some additional Info
1) Maintenance Plan description = Inspection for a DumpTruck A - E inspection
2) Maintenance Item description = Inspection for a DumpTruck A - E inspection
3) Task List description = Inspection for a DumpTruck A - E inspection
3a) Task List Operation 0010 Description = A Inspection ( asssigned to Mntce Package A)
3b) Task List Operation 0020 Description = B Inspection ( asssigned to Mntce Package B)
3c) Task List Operation 0030 Description = C Inspection ( asssigned to Mntce Package C)
3d) Task List Operation 0040 Description = D Inspection ( asssigned to Mntce Package D)
3e) Task List Operation 0050 Description = E Inspection ( asssigned to Mntce Package E)
Any help will be highy appriciated .
Regards
Frazer
The order is generated out of the maintenance plan calls by the function module CO_IH_ORDER_GENER_1. The default behaviour is the order text is derived from the maintenance item text.
There are many options available to achieve this requirement, but the one I prefer is to use is an implicit enhancement at the end of the function module CO_IH_ORDER_GENER_1. I prefer this approach because the enhancement is close to where the SAP code sets the order text.
In the enhancement, read the operations of the order using CO_BO_OPR_OF_ORDER_GET.
Sort the operations by operation number and then read the first operation
Transfer the short text of the operation to the order header text
caufvd-ktext = afgvd-ltxa1.
Make the change to the order header known to the buffer tables by calling Perform Header_Update
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi SAP Gurus ,
Any inputs on the 2nd question
(Even If I create A inspection , B Inspection , C Inspection etc as Mntce Activity Types , I can assigne only one Mntce Activity Types to a Maintenance Item of Maintenance Plan, which will be defaulted in preventive maintenance Order generated )
Some additional Info
1) Maintenance Plan description = Inspection for a DumpTruck A - E inspection
2) Maintenance Item description = Inspection for a DumpTruck A - E inspection
3) Task List description = Inspection for a DumpTruck A - E inspection
3a) Task List Operation 0010 Description = A Inspection ( asssigned to Mntce Package A)
3b) Task List Operation 0020 Description = B Inspection ( asssigned to Mntce Package B)
3c) Task List Operation 0030 Description = C Inspection ( asssigned to Mntce Package C)
3d) Task List Operation 0040 Description = D Inspection ( asssigned to Mntce Package D)
3e) Task List Operation 0050 Description = E Inspection ( asssigned to Mntce Package E)
Regards
Frazer
Hi Maheswaran,
Yes , that is one way of searching via Work order Text .
We were also exploring , if we can update the Mntce Activity type automatically based on Mntce Package and Strategy .
May be a create a Z-Table , having Strategy , Mntce package and Mntce activity types combination matained in the table. Every time a Preventive maintenance order is created , the program updates the Mntce Activity Type based on the Z-Table combination.
Regards
Frazer
In addition to the above,
This can be done at order SAVE event too using user-exit IWO10009 or BADI WORKORDER_UPDATE.
PeteA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.