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

Error messages from MES system API's for deleting components in S/4 Public Cloud production orders

joos
Explorer
0 Likes
308

We are using a third-party MES system in combination with S/4HANA Public Cloud. Our manufacturing environment involves complex products with production orders that have long lead times and consist of a large number of components.

Current Process: After production orders are released, they are distributed to the MES system, which then takes the lead for order management and execution.

Issue: We frequently have components with item category N (non-stock items) that are procured directly for specific production orders. Due to the complexity and long lead times, components sometimes need to be changed or deleted during production.

Since the orders are distributed to MES, these changes cannot be made directly in SAP. However, when we attempt to make these changes from our MES system using the API_PRODUCTION_ORDER_2_SRV API, we encounter the error message: "System status DISB is active".

We have also tried alternative approaches, such as:

  • Setting the component quantity to zero
  • Setting the ReservationIsFinallyIssued indicator

Both approaches result in error messages.

Question: Is there an alternative solution to modify or delete components from production orders that have been distributed to MES while the DISB status is active?

Accepted Solutions (0)

Answers (1)

Answers (1)

Chris1973
Active Contributor
0 Likes

Hello @joos

Thank you for your question

The reason why you get that error message is because the SAP_COM_0522 communication arrangement is active. See KBA 3265916 for more details.

To summarise, no, there is supported standard way for you to delete or structurally change components on a production order while DISB is active. S4H is intended process is to manage execution in MES.

The public cloud offers as an alternative the option to discard and recreate the order. If you need the structure to change, the standard approach I would recommend is:

  1. Discard the distributed order (set it to Discarded by Mes, which is status DISC).
  2. Then create a new production order with the corrected components
  3. Thereafter, distribute your new order to MES.

See Discard Production and Production Order (Version 2) for more details.

Alternatively, if you do not really require MES integration (if DISB is happening unintended), i suggest you deactivate MES integration communication arrangement so orders are not distributed and you can change them normally. See KBA 3265916 for more details.

Let me know if you have further questions.

 

Best regards

Chris