cancel
Showing results for 
Search instead for 
Did you mean: 

Do not allow change of Reference Object after Order release

former_member546319
Contributor
0 Kudos

Dear All,

The requirement is that we should lock(not able to change) the Reference Object after the Maintenance Order is released. Can we acheive this in standard way or do we need to go for development.

If going for development what should be the basic logic.

Regards,

MLN Prasad

Accepted Solutions (1)

Accepted Solutions (1)

rakesh_mane
Active Contributor
0 Kudos

Hello,

Please use the User Exit IWO10002 __> PM maintenance order: Customer check for order release

Regards,

Rakesh

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You will have to develop the same. You will not be bale to accomplish the same through standard. Have your developer look at FM CO_IH_HEADER_FAW.This is called before this screen(SAPLCOIH, SCREEN 7100) is displayed. He would have to tweak the screen attributes of the object fields, if the order has been released. He will have to use the implicit enhancement functionality to do this.

However, if you are in lower version, you will have to use the user exit on save to trigger an error message if the object is different.

Regards

Narasimhan

former_member546319
Contributor
0 Kudos

Dear Narasimham,

We are on ECC 6.0 EHP 4, so you mean we can do the modifcation in the FM directly and no need to activate an user exit for this, right?

Regards,

MLN Prasad

Former Member
0 Kudos

Prasad,

You are accomplishing the same utilizing the built in enhancement framework([Implicit enhancements|http://help.sap.com/saphelp_nw70/helpdata/en/70/63da4023a28631e10000000a1550b0/frameset.htm]), WITHOUT making a MODIFICATION to the system. This technology / functionality is available from ECC 6.0 . You would need to be very careful in using the implicit enhancement functionality so that you don't break the flow. Your requirement seems to be a simple one which could be accomplished by tweaking the screen attributes of the field under certain conditions, for this specific screen in the program. You may also have to make the Priority field a display only, so that it doesn't trigger a change through it via the user exit or through standard.

Regards

Narasimhan

former_member546319
Contributor
0 Kudos

Dear Narasimham,

Thank you for the inputs.

I acheived this functionality with Field control itself. I made these 3 fields as Display if the Order Status is Release (Phase). So I have not used any FM or User exit.

But your FM has helped us very much in resolving another issue of updating the Profit Center based on our custom Logic.

Regards,

MLN Prasad