cancel
Showing results for 
Search instead for 
Did you mean: 

Initial approval on preventive maintenance

Former Member
0 Kudos

Hello all,

Is there a way (configuration or enhancement) to permit that when creating maintenance work orders from plan there is an initial approval? This approval can be at the maintenance plan (it is not possible to manage user status in the maintenance plan so I do not see how I can perform this approval on the plan) or on the creation of the first WO the order would need an approval. This approval process can only take place for the first WO, the rest of WO should be automatically released.

Anyone had faced a similar requirement?

Thanks in advance,

Best Regards

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Need to place a OSS note.

former_member1107731
Contributor
0 Kudos

Alternatively, you could use the User Exit IPRM0003 to define your own fields (Approval) for the maintenance item and cause the system to copy these fields (Approval) in the Call Object (Maintenance Order) and you could use the following user exit IWO10009: PM Order: Customer Check for 'Save' Event to check that with this Order type and call number 1, whether the Order contained data in the respective approval field. If yes, It lets the system save the order other wise blocks the order. and as far as the release part is concerned, set release immediately upon creation.

Regards...

Former Member
0 Kudos

Thank you for your answers.

We were planning on upgrading this system to SAP enhancement package 4 for SAP ERP 6.0 and I just found this functionality:

"Maintenance plan not immediately released

You can set an indicator in the maintenance plan item to define that any orders created from the maintenance plan during scheduling are not released immediately. This overrides the "Set released status immediately" indicator in Customizing for the order type, if this indicator is set in Customizing."

http://help.sap.com/erp2005_ehp_04/helpdata/EN/41/4DDF33F82144A4A69807B4A5D79C6E/frameset.htm

Anyone knows if this functionality will meet my requirement?

Thanks in advance.

Best regards,

Tiago Magalhaes

Former Member
0 Kudos

Hi,

As indicated, This setting overrides the auto release setting set for the order type.In your case you would need to change this manually after the first call. You could use a batch program to do this also after the first call object has been created.

Regards

Narasimhan

Former Member
0 Kudos

Thanks, that is what I was thinking.

Is there a workaround to simulate an approval process of the maintenance plan?

Thanks in advance

Former Member
0 Kudos

You will have to develop the approval process for work flow around the user status and or control the same through the authorization . Assign a auth key to the user status and assign the same to the appropriate users based on business needs.

Regards

Narasimhan

Former Member
0 Kudos

I tried to use the user status but I am not able to. I searched a little bit and found this post:

http://www.sapfans.com/forums/viewtopic.php?t=307882

Can you use the user status on maintenance plans?

Thanks in advance.

Best Regards,

Tiago Magalhaes

Former Member
0 Kudos

Hi,

I was referring to setting the user status on the order not on the MP.

As indicated on that link MP doesn't currently support assignment of the user status.However screen config and everything else including object type is in place. OSS would be the best place to get an answer to this.

However, If you are willing to use the implicit enhancement concept you could potentially activate this.All you would need to do is to modify the "display_only" attribute at the beginning of FM STATUS_MAINTAIN to "SPACE/initial" from "X" ,If there is no status profile assigned yet to the MP(Read this from DB).Make sure to set this setting also for MP object only (Since the same FM is called for various objects).

Regards

Narasimhan

Former Member
0 Kudos

Hi ,

Check if BADI IPRM_DIG_SIGNATURE Digital Signature for Maintenance Planning satisfies your requirement ..

regrds

pushpa

Former Member
0 Kudos

Hello Pushpa,

this looks like a very good solution, but I do not undestand where can I configure the digital signature and how can I integrate the digital signature with this badi?

Thanks in advance.

Best Regards,

Tiago Magalhaes

Former Member
0 Kudos

Hello,

when i try to use this badi I get the following message: BAdI definition IPRM_DIG_SIGNATURE is only provided for SAP internal use.

Is there other solution?

Thanks in advance,

Tiago Magalhaes

Former Member
0 Kudos

Hi ,

I have not used this BADI before but check it with your ABAPer .. , the config for Digital Signature you can find under spro-->Cross Application Components >General Applicaiton Functions>Digital Signature ..

regrds

pushpa

Former Member
0 Kudos

Raise a OSS note.This may be for internal use only or error in setting or custom development for specific clients.

Regards

Narasimhan

Former Member
0 Kudos

Hi,

You could potentially realize the same through

1) Set the preventive maintenance order to auto release on create.

2) Use the user exit(IWO10002 Maintenance order: Customer check for order release) to set Reject release (RELR) when the call number is "one"

3) Having a user status profile which will be activated (Initial status set) when RELR user status is set. Set up the user status profile (Ex: Initial, submit, review, approve) for approval process and associate appropriate auth keys to the same for control purpose.

Regards

Narasimhan