cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

In SAP S/4HANA Public Cloud, how can we restrict TECO (technical completion) of a maintenance order

Deepankar1
Discoverer
0 Kudos
207

In SAP S/4HANA Public Cloud, how can we restrict TECO (technical completion) of a maintenance order if goods issue has not been posted?
If goods issue is already posted, then TECO should be allowed.
Is there any standard setting or BAdI available for this control?

Accepted Solutions (1)

Accepted Solutions (1)

Chris1973
Active Contributor
0 Kudos

Good day @Deepankar1 

Thank you for your question.

Here are some recommended references for more details.

App Extensibility: Find Maintenance Orders, Maintenance Order Data

Maintenance Order Component Data, Business Add-Ins for Maintenance Orders

Integrating the Service with SAP S/4HANA Cloud, Integrating with SAP S/4HANA Cloud, Configure Outbound Communication

In summary, there is no standard configuration setting in public cloud to directly restrict TECO when goods issue is not yet posted for a maintenance order. However, this control can be implemented cleanly by using the BAdI BADI_EAM_ORDER_BEFORE_SAVE in the custom logic app. The desired logic should:

  • Check all order components through CDS view I_MaintenanceOrderComponent
  • Verify that each has a completed good issue status,
  • Raise an error message if any component is still pending, preventing TECO.

Let me know if you have further questions.

Best regards

Chris

Deepankar1
Discoverer
0 Kudos

Hello @Chris1973, There is no BAdI named BADI_EAM_ORDER_BEFORE_SAVE available in the SAP S/4HANA Public Cloud edition. If it is available, could you please explain how I can implement this TECO restriction?

Answers (0)