cancel
Showing results for 
Search instead for 
Did you mean: 

Warning message when changing Production Order Status ?

Former Member
0 Kudos

Dear Seniors,

We have a Production Order with some components issued already.

IF somebody wants to change the Production Order status to TECO, no warning message appears to notify that the order already has some components issued.

Please advise if there is a functionality in SAP to display such a warning message which can help us to avoid TECO ing orders with issued components

Many thanks,

Alex

Accepted Solutions (1)

Accepted Solutions (1)

jogeswararao_kavala
Active Contributor
0 Kudos

Hello Alex,

You can have the check you wanted by putting your code in the include ZXCO1U06.

(User-exit PPCO0007F/Exit EXIT_SAPLCOZV_001 ).

The logic for code will be:


IF HEADER_IMP-IPHAS = '3'.

<Code to check components status and arrange a warning message>

ENDIF.

The first line is for runtime Order status checking to know whether it is TECO . With these inputs ABAPer should be able to easily perform the task.

Regards

KJogeswaraRao

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Alex,

SAP allows you to technically complete an order at any point of time in case you feel the order is no longer needed or relevant activities have completed. Setting to TECO status ignores the on going processes and hence you do not get any such error/warning message. 

Although, as suggested by experts in above replies, it can be achieved by making and enhancement using BAdI / user Exit.

Regards,

Rohit

Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

You can use BAdI WORKORDER_UPDATE for this purpose.

BR

Caetano