cancel
Showing results for 
Search instead for 
Did you mean: 

How to activate NCMP and CLSD status for an outstanding Order

Former Member
0 Kudos

Hi,

I have a requirement wherein an Outstanding order has to be set as Do not execute status whihc is equivalent to NCMP and CLSD status . I am doing some checks in user exit for IW32 Save and incase check fails..the order has to get closed.

Any inputs on how this can be achieved. Thanks!!

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Use this User Exit: IWO10009 PM Order: Customer Check for 'Save' Event

Try this BAPI to change the system status to NCMP.

BAPI_ALM_ORDER_MAINTAIN

If there is any exception, throw some error message.

Regards,

Maheswaran.

faraz_ahmed3
Discoverer
0 Kudos

We have developed an upload that takes the Work Orer numbers and mark them for 'Do not Execute' and it works fine. This happens only for orders that are in the "Outstanding" mode i.e. not yet released.

Regards,

Faraz Ahmed

Former Member
0 Kudos

Does this upload runs a BDC in the background?

Former Member
0 Kudos

Hi,

You can have batch job programme which runs at regular intervals or if your on ECC 6.0 ,EHP 3 then try to add the option of Do Not Execute in IW38 via any of the below BADIs ;-

BADI_EAM_RIAUFK20_FCODE_CUS1 : Implement Customer Function Code in Order List

BADI_EAM_RIAUFK20_FCODE_SAP1 : Implement SAP Function Code in Order List

regrds

pushpa

Former Member
0 Kudos

Hi ,

You can set NCMP Do Not Execute in MO only when order is not released ..and this status cannot be reverted

If the order is released and no actual costs exist in order then u can close the order ...

regrds

pushpa