Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Reg : Work Order Set Do Not Execute

Hi folks,

I want to set Do not Execute to Work Order.

For that there is no option given in the BAPI_ALM_ORDER_MAINTAIN.

So when i checked, while setting the Do not execute to Work Order, it is actually setting the

1) WO User Status as CNCL,

2) then setting all the WO operation System Status as TECO and

3) then WO header System Status as not Completed and

4) finally setting theĀ  WO header User Status as closed.

So i did the same thing using the function Modules.

The Status is setting, But still the WO can be edited.

Usually once the do not execute, it will not allow any further changes to that Order.

So i want to achieve the same.

Is there any other FM to set the status as Do not execute??

Please let me know how can i achieve this.

Thanks!

Karthik.S

replied

Hello Karthik,

Sharing the picture of Enhancement spot, I tested for this effect (COIH Finction Group). As shown it is in the Include LCOIHF7R. Also attached the code I used in include Z_COIH. (This was a test which turns the Order to Display mode as soon as it gets REL status).



Note:

The message 000 of ZPM Class used above reads 'Changing to Display'



KJogeswaraRao

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question