cancel
Showing results for 
Search instead for 
Did you mean: 

Do not execute function issue

Paulo_Vitoriano
Active Contributor
0 Kudos

The user Closed the wrong order with Do not execute function, but the order still has a plan cost and that is messing up the hierarchical project reporting. Now the order is "cut in stone" with no changes allowed.

How the plan cost can be cleaned up from such PM order?

Thank you,

Paulo

Accepted Solutions (0)

Answers (1)

Answers (1)

peter_atkin
Active Contributor
0 Kudos
Paulo_Vitoriano
Active Contributor
0 Kudos

Hi Peter,

The note is basically discussing how to prevent the function execution and/or implement additional validations.

In my case it is almost useless as we need to clean up plan cost from such PM order to avoid wrong figures in reporting.

At the moment I am looking for corrective procedure and not for future preventive measures... 🙂

Thank you,

Paulo

peter_atkin
Active Contributor
0 Kudos

Resolution

  1. The system status NCMP set by function 'do not execute' cannot be reversed. It is advised to archive the order if necessary and replace with a new order.
  2. Exit IWO10026 can be used to implement custom validation to prevent this function being executed.
  • In the exit you can use the data from import data structure CAUFVD_IMP to check if function should be allowed.
  • To prevent the status being activated, set and return parameter NO_DO_NOT_EXECUTE.

-----

This note explains that NCMP is not reversible, and also states how you could stop it in the future.

The only way you can get around this is with some ABAP help, by forcing the system-statuses - which is not recommended.

PeteA